爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
楼主: airfresh

WPS编译问题

[复制链接]
发表于 2015-8-19 09:22:41 | 显示全部楼层
要一杯鸳鸯 发表于 2015-8-18 19:26
我也遇到一样的问题了,请问你怎么解决的

我之前是用pgi编译的,后来改用intel编译器,然后重新安装了所有的东西,就成功了
密码修改失败请联系微信:mofangbao
发表于 2015-8-19 09:47:36 | 显示全部楼层
yuan/// 发表于 2015-8-19 09:22
我之前是用pgi编译的,后来改用intel编译器,然后重新安装了所有的东西,就成功了

我现在就是用Intel编译的,就是出现了这个问题?应该是哪里出错了呢?我是用学校集群编译的,netCDF也是直接用的集群里面自带的.难道是netCDF的原因?可是WRF能够编译通过
密码修改失败请联系微信:mofangbao
发表于 2015-10-21 17:13:46 | 显示全部楼层
马萨卡 这我耶遇到了 装3.6.1的时候 装3.7 还有 3.7.1就不会有这样的额问题
密码修改失败请联系微信:mofangbao
发表于 2015-10-22 16:39:19 | 显示全部楼层
版主編譯WPS是用serial模式編譯的嗎?!
密码修改失败请联系微信:mofangbao
发表于 2016-1-21 07:59:29 | 显示全部楼层
用PGI,netcdf4.1.3,选择serial编译WPS3.7.1也遇到类似问题,WRF也已编译成功,请教各位高手指教!
密码修改失败请联系微信:mofangbao
发表于 2016-5-12 20:08:56 | 显示全部楼层
如果WRF是ser编译成功 则WPS 同样用ser成功

如果WRF采用dm 或者sm  则WPS出现这个问题

我是这个情况
密码修改失败请联系微信:mofangbao
发表于 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
即可成功编译
密码修改失败请联系微信:mofangbao
发表于 2016-6-7 12:53:00 | 显示全部楼层
这个-lgomp不起作用,错误依旧
密码修改失败请联系微信:mofangbao
发表于 2016-8-29 10:19:17 | 显示全部楼层
我也遇到了这个问题,原因是没有链接omp库,如果你用的是intel库,你可以找到libiomp5.so的路径,然后加到configure.wps中的WRF_LIB变量后,再重新编译,就可以了。
密码修改失败请联系微信:mofangbao
发表于 2016-11-14 12:51:26 | 显示全部楼层
要一杯鸳鸯 发表于 2015-8-19 09:47
我现在就是用Intel编译的,就是出现了这个问题?应该是哪里出错了呢?我是用学校集群编译的,netCDF也是 ...

我也是,不管用什么编译器都会出现这个问题,我是用的老师的服务器,netcdf也是原来就装好的,然后我就不知道该怎么办了,你现在解决了吗,求指导!!
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表