soleiman wrote:for intel compiler this line will help : -liomp5 -lpthread
Just add in WRF_LIB after -lnetcdf
Good luck
This solved my problems with ifort.
Thanks very much.
soleiman wrote:for intel compiler this line will help : -liomp5 -lpthread
Just add in WRF_LIB after -lnetcdf
Good luck
giaaan wrote:Hi,
I had the same problem on Centos 6.4 (64 bit) with gcc+gfortran, with "smpar" option on WRF & "serial" option on WPS. The very simple solution is to add "-lgomp" to the WRF_LIB variable in file configure.wps (just append it after -lnetcdf).
As the latter is overwritten in case of re-configuration you may want to alter the arch/configure.defaults.
I don't think the issue depends on netcdf. On the contrary I suppose the problem arises because metgrid & geogrid are linked to wrf lib which in turns depends on openmp library (if "smpar" is selected). So, even if openmp is not directly needed by metgrid & geogrid, libgomp has to be linked in any case.
Hope it helps
Gianluca
Users browsing this forum: No registered users and 2 guests