爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 7371|回复: 7

[分享资料] ARWpost编译问题

[复制链接]
发表于 2011-11-30 16:03:42 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
本帖最后由 言深深 于 2011-12-6 08:36 编辑

本人在用WRF,想用GRADS画图,里面需要装一个ARWpost处理程序,在编译的时候出现以下问题:
wrf_io.f:(.text+0x47a95): undefined reference to `nf_inq_dimname_'
wrf_io.f:(.text+0x47fe3): undefined reference to `nf_inq_dimlen_'
/home/young/program/WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `ext_ncd_get_var_info_':
wrf_io.f:(.text+0x4bb77): undefined reference to `nf_inq_varid_'
wrf_io.f:(.text+0x4bd07): undefined reference to `nf_inq_vartype_'
wrf_io.f:(.text+0x4bea1): undefined reference to `nf_get_att_int_'
wrf_io.f:(.text+0x4c9e1): undefined reference to `nf_get_att_text_'
wrf_io.f:(.text+0x4cdc8): undefined reference to `nf_inq_vardimid_'
wrf_io.f:(.text+0x4cf95): undefined reference to `nf_inq_dimlen_'
/home/young/program/WRFV3/external/io_netcdf/libwrfio_nf.a(field_routines.o): In function `ext_ncd_realfieldio_':
field_routines.f:(.text+0x77): undefined reference to `nf_put_vara_real_'
field_routines.f:(.text+0xa0): undefined reference to `nf_get_vara_real_'
/home/young/program/WRFV3/external/io_netcdf/libwrfio_nf.a(field_routines.o): In function `ext_ncd_doublefieldio_':
field_routines.f:(.text+0x257): undefined reference to `nf_put_vara_double_'
field_routines.f:(.text+0x280): undefined reference to `nf_get_vara_double_'
/home/young/program/WRFV3/external/io_netcdf/libwrfio_nf.a(field_routines.o): In function `ext_ncd_intfieldio_':
field_routines.f:(.text+0x437): undefined reference to `nf_put_vara_int_'
field_routines.f:(.text+0x460): undefined reference to `nf_get_vara_int_'
/home/young/program/WRFV3/external/io_netcdf/libwrfio_nf.a(field_routines.o): In function `ext_ncd_logicalfieldio_':
field_routines.f:(.text+0xad9): undefined reference to `nf_put_vara_int_'
field_routines.f:(.text+0xb1e): undefined reference to `nf_get_vara_int_'
make: [ARWpost.exe] 报错2 (忽略)


无法生成ARWpost.exe。着急啊!求高人指点。

密码修改失败请联系微信:mofangbao
发表于 2011-11-30 19:22:02 | 显示全部楼层
本帖最后由 godenflame135 于 2011-11-30 19:24 编辑

1.你的netcdf库没安装好吧?
2.编译的时候要带netcdf库路径的。你configure之后有没有更改配置文件configure.arwp里面的netcdf库路径?
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2011-11-30 22:18:50 | 显示全部楼层

1.netcdf安装的时候是有点小问题,说什么PGI的license过了2007年,但命令符下ncdump能出来版本和相关操作信息
2.配置文件里面我就把WRF的路径改好了。有netcdf路径要改吗?
密码修改失败请联系微信:mofangbao
发表于 2011-12-11 14:15:12 | 显示全部楼层
模式都编译过了,这个应该很容易编译过的吧
密码修改失败请联系微信:mofangbao
发表于 2012-12-25 21:44:07 | 显示全部楼层
http://bbs.06climate.com/forum.php?mod=viewthread&tid=11827,我在安装的时候也遇到问题了,可以帮我解决下么
密码修改失败请联系微信:mofangbao
发表于 2015-11-16 20:03:32 | 显示全部楼层
godenflame135 发表于 2011-11-30 19:22
1.你的netcdf库没安装好吧?
2.编译的时候要带netcdf库路径的。你configure之后有没有更改配置文件configu ...

请问netcdf库路径怎么改啊
密码修改失败请联系微信:mofangbao
发表于 2015-11-24 19:54:05 | 显示全部楼层
yusw 发表于 2015-11-16 20:03
请问netcdf库路径怎么改啊

同问。。。
密码修改失败请联系微信:mofangbao
发表于 2016-3-10 19:59:41 | 显示全部楼层
{:eb328:}{:eb328:}{:eb328:}{:eb328:}
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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