- 积分
- 21
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-8-6
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
因为导师要求学习WRF,这两天一直在自己的电脑上安装WRF,一路安装下来都挺顺利,正窃喜呢,问题就来了。由于习惯用GRADS画图,所以需要安装ARWpost转换出来的结果数据,但是在安装的时候一直不成功!请各位有相关经验的前辈能不吝赐教!
这是编译过程:
[chan@localhost ARWpost]$ ./configure
Will use NETCDF in dir: /usr/local/netcdf
------------------------------------------------------------------------
Please select from among the following supported platforms.
1. PC Linux i486 i586 i686 x86_64, PGI compiler
2. PC Linux i486 i586 i686 x86_64, Intel compiler
3. PC Linux i486 i586 i686 x86_64, gfortran compiler
Enter selection [1-3] : 1
------------------------------------------------------------------------
Configuration successful. To build the ARWpost, type: compile
------------------------------------------------------------------------
[chan@localhost ARWpost]$ ./compile
**** Compiling ARWpost ****
pgf90 -Mfree -byteswapio -O -o ARWpost.exe module_model_basics.o constants_module.o gridinfo_module.o ARWpost.o input_module.o output_module.o module_map_utils.o misc_definitions_module.o module_date_pack.o module_debug.o process_domain_module.o module_get_file_names.o module_interp.o module_basic_arrays.o module_diagnostics.o module_arrays.o module_pressure.o module_calc_height.o module_calc_pressure.o module_calc_theta.o module_calc_tk.o module_calc_tc.o module_calc_td.o module_calc_td2.o module_calc_rh.o module_calc_rh2.o module_calc_uvmet.o module_calc_slp.o module_calc_dbz.o module_calc_cape.o module_calc_wdir.o module_calc_wspd.o module_calc_clfr.o \
-L/usr/local/netcdf/lib -I/usr/local/netcdf/include -lnetcdf
input_module.o: In function `input_module_input_init_':
/home/chan/wrf/ARWpost/src/./input_module.f:31: undefined reference to `nf_open_'
/home/chan/wrf/ARWpost/src/./input_module.f:40: undefined reference to `nf_inq_'
/home/chan/wrf/ARWpost/src/./input_module.f:45: undefined reference to `nf_inq_dim_'
input_module.o: In function `input_module_read_next_field_':
/home/chan/wrf/ARWpost/src/./input_module.f:81: undefined reference to `nf_inq_var_'
/home/chan/wrf/ARWpost/src/./input_module.f:105: undefined reference to `ncvgt_'
/home/chan/wrf/ARWpost/src/./input_module.f:107: undefined reference to `ncvgt_'
/home/chan/wrf/ARWpost/src/./input_module.f:115: undefined reference to `ncvgt_'
/home/chan/wrf/ARWpost/src/./input_module.f:120: undefined reference to `ncvgt_'
/home/chan/wrf/ARWpost/src/./input_module.f:129: undefined reference to `nf_get_att_text_'
/home/chan/wrf/ARWpost/src/./input_module.f:129: undefined reference to `nf_get_att_text_'
/home/chan/wrf/ARWpost/src/./input_module.f:134: undefined reference to `nf_get_att_text_'
/home/chan/wrf/ARWpost/src/./input_module.f:134: undefined reference to `nf_get_att_text_'
input_module.o: In function `input_module_read_global_attrs_':
/home/chan/wrf/ARWpost/src/./input_module.f:182: undefined reference to `nf_get_att_text_'
/home/chan/wrf/ARWpost/src/./input_module.f:200: undefined reference to `nf_get_att_int_'
/home/chan/wrf/ARWpost/src/./input_module.f:200: undefined reference to `nf_get_att_int_'
/home/chan/wrf/ARWpost/src/./input_module.f:200: undefined reference to `nf_get_att_int_'
/home/chan/wrf/ARWpost/src/./input_module.f:209: undefined reference to `nf_get_att_text_'
/home/chan/wrf/ARWpost/src/./input_module.f:209: undefined reference to `nf_get_att_int_'
/home/chan/wrf/ARWpost/src/./input_module.f:209: undefined reference to `nf_get_att_real_'
/home/chan/wrf/ARWpost/src/./input_module.f:209: undefined reference to `nf_get_att_real_'
/home/chan/wrf/ARWpost/src/./input_module.f:209: undefined reference to `nf_get_att_real_'
/home/chan/wrf/ARWpost/src/./input_module.f:209: undefined reference to `nf_get_att_real_'
/home/chan/wrf/ARWpost/src/./input_module.f:209: undefined reference to `nf_get_att_real_'
input_module.o:/home/chan/wrf/ARWpost/src/./input_module.f:209: more undefined references to `nf_get_att_real_' follow
input_module.o: In function `input_module_read_global_attrs_':
/home/chan/wrf/ARWpost/src/./input_module.f:236: undefined reference to `nf_inq_attname_'
/home/chan/wrf/ARWpost/src/./input_module.f:236: undefined reference to `nf_inq_att_'
/home/chan/wrf/ARWpost/src/./input_module.f:240: undefined reference to `nf_get_att_text_'
/home/chan/wrf/ARWpost/src/./input_module.f:245: undefined reference to `nf_get_att_int_'
/home/chan/wrf/ARWpost/src/./input_module.f:249: undefined reference to `nf_get_att_real_'
input_module.o: In function `input_module_input_close_':
/home/chan/wrf/ARWpost/src/./input_module.f:268: undefined reference to `nf_close_'
input_module.o: In function `input_module_arw_get_next_time_':
/home/chan/wrf/ARWpost/src/./input_module.f:289: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./input_module.f:289: undefined reference to `nf_inq_var_'
/home/chan/wrf/ARWpost/src/./input_module.f:296: undefined reference to `nf_get_vara_text_'
module_interp.o: In function `module_interp_get_interp_info_':
/home/chan/wrf/ARWpost/src/./module_interp.f:391: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./module_interp.f:391: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./module_interp.f:399: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./module_interp.f:399: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./module_interp.f:399: undefined reference to `nf_inq_varid_'
module_interp.o:/home/chan/wrf/ARWpost/src/./module_interp.f:399: more undefined references to `nf_inq_varid_' follow
module_interp.o: In function `module_interp_get_interp_info_':
/home/chan/wrf/ARWpost/src/./module_interp.f:450: undefined reference to `nf_inq_var_'
/home/chan/wrf/ARWpost/src/./module_interp.f:461: undefined reference to `ncvgt_'
/home/chan/wrf/ARWpost/src/./module_interp.f:463: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./module_interp.f:463: undefined reference to `ncvgt_'
module_interp.o: In function `module_interp_get_interp_array_':
/home/chan/wrf/ARWpost/src/./module_interp.f:533: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./module_interp.f:533: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./module_interp.f:542: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./module_interp.f:542: undefined reference to `nf_inq_var_'
/home/chan/wrf/ARWpost/src/./module_interp.f:554: undefined reference to `ncvgt_'
/home/chan/wrf/ARWpost/src/./module_interp.f:559: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./module_interp.f:559: undefined reference to `nf_inq_var_'
/home/chan/wrf/ARWpost/src/./module_interp.f:571: undefined reference to `ncvgt_'
/home/chan/wrf/ARWpost/src/./module_interp.f:571: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./module_interp.f:571: undefined reference to `ncvgt_'
/home/chan/wrf/ARWpost/src/./module_interp.f:571: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./module_interp.f:571: undefined reference to `nf_inq_var_'
/home/chan/wrf/ARWpost/src/./module_interp.f:584: undefined reference to `ncvgt_'
/home/chan/wrf/ARWpost/src/./module_interp.f:589: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./module_interp.f:589: undefined reference to `nf_inq_var_'
/home/chan/wrf/ARWpost/src/./module_interp.f:589: undefined reference to `ncvgt_'
/home/chan/wrf/ARWpost/src/./module_interp.f:596: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./module_interp.f:596: undefined reference to `nf_inq_var_'
/home/chan/wrf/ARWpost/src/./module_interp.f:596: undefined reference to `nf_get_var_real_'
/home/chan/wrf/ARWpost/src/./module_interp.f:608: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./module_interp.f:608: undefined reference to `nf_inq_var_'
/home/chan/wrf/ARWpost/src/./module_interp.f:618: undefined reference to `ncvgt_'
/home/chan/wrf/ARWpost/src/./module_interp.f:619: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./module_interp.f:619: undefined reference to `ncvgt_'
/home/chan/wrf/ARWpost/src/./module_interp.f:648: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./module_interp.f:648: undefined reference to `nf_inq_var_'
/home/chan/wrf/ARWpost/src/./module_interp.f:659: undefined reference to `ncvgt_'
/home/chan/wrf/ARWpost/src/./module_interp.f:660: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./module_interp.f:660: undefined reference to `ncvgt_'
module_interp.o: In function `module_interp_get_keep_array_':
/home/chan/wrf/ARWpost/src/./module_interp.f:706: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./module_interp.f:709: undefined reference to `nf_inq_varid_'
/home/chan/wrf/ARWpost/src/./module_interp.f:718: undefined reference to `nf_inq_var_'
/home/chan/wrf/ARWpost/src/./module_interp.f:731: undefined reference to `ncvgt_'
/home/chan/wrf/ARWpost/src/./module_interp.f:734: undefined reference to `ncvgt_'
/home/chan/wrf/ARWpost/src/./module_interp.f:740: undefined reference to `ncvgt_'
make: [ARWpost.exe] 错误 2 (忽略)
也在论坛里看过相关的帖子,也成功重装了netcdf,还是同样的问题。看到有的教程上写的“如果你的 WRF 目录路径不是在"../WRFV3" ,则要编辑configure.arwp,文件,设置“WRF_DIR“变量为你的WRFV3 路径”,不知道和这个有关吗?谢谢各位!
|
|