爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 9604|回复: 18

./compile后无法生成ARWpost.exe

[复制链接]

新浪微博达人勋

发表于 2014-10-31 18:17:19 | 显示全部楼层 |阅读模式

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

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

x
下面是我在安装ARWpost的时候,./compile之后无法生成ARWpost.exe,请教各位大神是什么原因?非常感谢。
**** Compiling ARWpost ****

gfortran -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4   -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/srv/software/netcdf/c_4.3.2_cxx_4.2.1_fortran_4.4.1/1/lib -I/srv/software/netcdf/c_4.3.2_cxx_4.2.1_fortran_4.4.1/1/include  -lnetcdf
input_module.o: In function `__input_module_MOD_arw_read_field':
input_module.f:(.text+0xe3): undefined reference to `ext_int_read_field_'
input_module.f:(.text+0x19e): undefined reference to `ext_ncd_read_field_'
input_module.f:(.text+0x259): undefined reference to `ext_gr1_read_field_'
input_module.f:(.text+0x54c): undefined reference to `ext_int_read_field_'
input_module.f:(.text+0x615): undefined reference to `ext_ncd_read_field_'
input_module.f:(.text+0x6de): undefined reference to `ext_gr1_read_field_'
input_module.o: In function `__input_module_MOD_arw_get_var_info':
input_module.f:(.text+0xa23): undefined reference to `ext_int_get_var_info_'
input_module.f:(.text+0xa79): undefined reference to `ext_ncd_get_var_info_'
input_module.o: In function `__input_module_MOD_arw_get_next_var':
input_module.f:(.text+0x1041): undefined reference to `ext_int_get_next_var_'
input_module.f:(.text+0x1062): undefined reference to `ext_ncd_get_next_var_'
input_module.o: In function `__input_module_MOD_arw_get_gbl_att_real_arr':
input_module.f:(.text+0x1252): undefined reference to `ext_int_get_dom_ti_real_'
input_module.f:(.text+0x1284): undefined reference to `ext_ncd_get_dom_ti_real_'
input_module.f:(.text+0x12b6): undefined reference to `ext_gr1_get_dom_ti_real_'
input_module.o: In function `__input_module_MOD_arw_get_gbl_att_real_sca':
input_module.f:(.text+0x1351): undefined reference to `ext_int_get_dom_ti_real_'
input_module.f:(.text+0x1386): undefined reference to `ext_ncd_get_dom_ti_real_'
input_module.f:(.text+0x13bb): undefined reference to `ext_gr1_get_dom_ti_real_'
input_module.o: In function `__input_module_MOD_arw_get_gbl_att_int_sca':
input_module.f:(.text+0x14c9): undefined reference to `ext_int_get_dom_ti_integer_'
input_module.f:(.text+0x14fe): undefined reference to `ext_ncd_get_dom_ti_integer_'
input_module.f:(.text+0x1533): undefined reference to `ext_gr1_get_dom_ti_integer_'
input_module.o: In function `__input_module_MOD_arw_get_gbl_att_char':
input_module.f:(.text+0x1635): undefined reference to `ext_int_get_dom_ti_char_'
input_module.f:(.text+0x165a): undefined reference to `ext_ncd_get_dom_ti_char_'
input_module.f:(.text+0x167f): undefined reference to `ext_gr1_get_dom_ti_char_'
input_module.o: In function `__input_module_MOD_arw_get_next_time':
input_module.f:(.text+0x177f): undefined reference to `ext_int_get_next_time_'
input_module.f:(.text+0x179e): undefined reference to `ext_ncd_get_next_time_'
input_module.f:(.text+0x17bd): undefined reference to `ext_gr1_get_next_time_'
input_module.o: In function `__input_module_MOD_arw_open_for_read':
input_module.f:(.text+0x182b): undefined reference to `ext_int_open_for_read_'
input_module.f:(.text+0x188f): undefined reference to `ext_ncd_open_for_read_'
input_module.f:(.text+0x18f3): undefined reference to `ext_gr1_open_for_read_'
input_module.o: In function `__input_module_MOD_arw_ioinit':
input_module.f:(.text+0x198a): undefined reference to `ext_int_ioinit_'
input_module.f:(.text+0x19aa): undefined reference to `ext_ncd_ioinit_'
input_module.f:(.text+0x19ca): undefined reference to `ext_gr1_ioinit_'
input_module.o: In function `__input_module_MOD_input_close':
input_module.f:(.text+0x1a3f): undefined reference to `ext_int_ioclose_'
input_module.f:(.text+0x1a4e): undefined reference to `ext_int_ioexit_'
input_module.f:(.text+0x1a6b): undefined reference to `ext_ncd_ioclose_'
input_module.f:(.text+0x1a7a): undefined reference to `ext_ncd_ioexit_'
input_module.f:(.text+0x1a97): undefined reference to `ext_gr1_ioclose_'
input_module.f:(.text+0x1aa6): undefined reference to `ext_gr1_ioexit_'
input_module.f:(.text+0x1ab0): undefined reference to `__queue_module_MOD_q_destroy'
input_module.o: In function `__input_module_MOD_read_next_field':
input_module.f:(.text+0x326b): undefined reference to `__queue_module_MOD_q_remove'
input_module.f:(.text+0x34d7): undefined reference to `ext_ncd_get_var_ti_char_'
input_module.f:(.text+0x3555): undefined reference to `ext_ncd_get_var_ti_char_'
input_module.o: In function `__input_module_MOD_input_init':
input_module.f:(.text+0x4177): undefined reference to `__queue_module_MOD_q_init'
output_module.o: In function `__output_module_MOD_write_dat':
output_module.f:(.text+0x63d): undefined reference to `v5dsetunits_'
output_module.f:(.text+0x66a): undefined reference to `v5dwrite_'
process_domain_module.o: In function `__process_domain_module_MOD_process_domain':
process_domain_module.f:(.text+0x2104): undefined reference to `__v5d_module_MOD_v5d_varnames'
process_domain_module.f:(.text+0x2132): undefined reference to `__v5d_module_MOD_v5d_times'
process_domain_module.f:(.text+0x2154): undefined reference to `__v5d_module_MOD_v5d_proj'
process_domain_module.f:(.text+0x2295): undefined reference to `v5dcreate_'
process_domain_module.f:(.text+0x2dfb): undefined reference to `v5dclose_'
collect2: error: ld returned 1 exit status
make: [ARWpost.exe] Error 1 (ignored)

密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-10-31 19:50:39 | 显示全部楼层

回帖奖励 +2 金钱

改两个参数试试:
将/arch/config.pl 中的-lnetcdf 替换为-lnetcdff -lnetcdf(-lhdf5_hl -lhdf5 –lz)
将/arch/ preamble 中的-lnetcdf 替换为-lnetcdff –lnetcdf (可以不改)
将/src 中的makefile的-lnetcdf 替换为-lnetcdff -lnetcdf
改完再试试行不行
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-10-31 20:56:24 | 显示全部楼层
黑马骑士 发表于 2014-10-31 19:50
改两个参数试试:
将/arch/config.pl 中的-lnetcdf 替换为-lnetcdff -lnetcdf(-lhdf5_hl -lhdf5 –lz)
...

谢谢你,我试了,还是不行,
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-10-31 21:53:30 | 显示全部楼层
有风吹过 发表于 2014-10-31 20:56
谢谢你,我试了,还是不行,

要把原来安装的先clean掉,然后再重新安装
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-11-1 20:05:31 | 显示全部楼层
make clean
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2014-11-2 10:36:15 | 显示全部楼层

非常感谢各位大神,问题已经解决。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-11-2 10:36:49 | 显示全部楼层
黑马骑士 发表于 2014-10-31 21:53
要把原来安装的先clean掉,然后再重新安装

问题解决了,谢谢
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-12-11 19:38:14 | 显示全部楼层
请问哪里能下到 ARWpost的安装压缩包啊?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-12-17 14:08:59 | 显示全部楼层
杉杉来迟 发表于 2014-12-11 19:38
请问哪里能下到 ARWpost的安装压缩包啊?

官网上就有
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-1-16 12:38:03 | 显示全部楼层
你是怎么解决的?能告诉我吗?我也安装不成功。
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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