- 积分
- 44
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-7-8
- 最后登录
- 1970-1-1
|
发表于 2016-5-12 20:16:29
|
显示全部楼层
另 附上解决方案
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
在configure.wps 编译的设置里
WRF_LIB 变量最后 添加-lgomp
即可成功编译 |
|