爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 10536|回复: 2

CAMx6.5 安装问题

[复制链接]
发表于 2018-6-8 09:31:39 | 显示全部楼层 |阅读模式

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

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

x
各位好,新手使用CAMx6.5,目前 使用的计算环境是netcdf 4.4,mpich3已经intel ifort 13.
目前 已经修改Makefile和MPI/util里面的Makefile文件,修改了相应的netcdf和mpich的路径。
再make的时候,只要不添加MPI=mpich3的选项时,都能通过。但是添加了这一选项之后,会出错(错误在最后)
肯定是MPI的问题了,但是我可以用此MPI运行CESM及RegCM。所以不知道到底是什么原因,还请各位指点一二.
运行 make COMPILER=ifort MPI=mpich3时,错误如下:
-L/usr/local/mpi/lib -lmpich -lpthread -lmpl   ./Dummy_NCF/ncf_dummy.o
./CAMx/CAMx.o: In function `MAIN__':
CAMx/CAMx.f:(.text+0x2d4): undefined reference to `mpi_init_'
CAMx/CAMx.f:(.text+0x9c2): undefined reference to `mpi_barrier_'
CAMx/CAMx.f:(.text+0xde4): undefined reference to `mpi_barrier_'
CAMx/CAMx.f:(.text+0x14ee): undefined reference to `mpi_barrier_'
CAMx/CAMx.f:(.text+0x151e): undefined reference to `mpi_barrier_'
CAMx/CAMx.f:(.text+0x2509): undefined reference to `mpi_barrier_'
CAMx/CAMx.f:(.text+0x28df): undefined reference to `mpi_finalize_'
CAMx/CAMx.f:(.text+0x2ff0): undefined reference to `mpi_finalize_'
CAMx/CAMx.f:(.text+0x3140): undefined reference to `mpi_barrier_'
CAMx/CAMx.f:(.text+0x600d): undefined reference to `mpi_barrier_'
CAMx/CAMx.f:(.text+0x603d): undefined reference to `mpi_barrier_'
CAMx/CAMx.f:(.text+0x606b): undefined reference to `mpi_comm_size_'
CAMx/CAMx.f:(.text+0x608c): undefined reference to `mpi_comm_rank_'
./CAMx/bndry_updt.o: In function `bndry_updt_':
CAMx/bndry_updt.f:(.text+0x10a0): undefined reference to `mpi_barrier_'
./CAMx/camxerr.o: In function `camxerr_':
CAMx/camxerr.f:(.text+0x32b): undefined reference to `mpi_abort_'
./CAMx/emiss_updt.o: In function `emiss_updt_':
CAMx/emiss_updt.f:(.text+0x148d): undefined reference to `mpi_barrier_'
./CAMx/sim_init.o: In function `sim_init_':
CAMx/sim_init.f:(.text+0x128f): undefined reference to `mpi_barrier_'
./CAMx/tstep_init.o: In function `tstep_init_':
CAMx/tstep_init.f:(.text+0x1bb0): undefined reference to `mpi_barrier_'
./MPI/edge_pass.o: In function `edge_pass_':
MPI/edge_pass.f:(.text+0xd3): undefined reference to `mpi_recv_'
MPI/edge_pass.f:(.text+0x115): undefined reference to `mpi_send_'
./MPI/master_send_1species_data.o: In function `master_send_1species_data_':
MPI/master_send_1species_data.f:(.text+0x2ef): undefined reference to `mpi_send_'
./MPI/master_send_gridded_data.o: In function `master_send_gridded_data_':
MPI/master_send_gridded_data.f:(.text+0x51a): undefined reference to `mpi_send_'
./MPI/node_recv_1species_data.o: In function `node_recv_1species_data_':
MPI/node_recv_1species_data.f:(.text+0xce): undefined reference to `mpi_recv_'
./MPI/node_recv_gridded_data.o: In function `node_recv_gridded_data_':
MPI/node_recv_gridded_data.f:(.text+0x12b): undefined reference to `mpi_recv_'
./MPI/nodes_alloc.o: In function `nodes_alloc_':
MPI/nodes_alloc.f:(.text+0x11da): undefined reference to `mpi_barrier_'
./MPI/nodes_ipr.update.o: In function `nodes_ipr_update_':
MPI/nodes_ipr.update.f:(.text+0x257): undefined reference to `mpi_recv_'
MPI/nodes_ipr.update.f:(.text+0x618): undefined reference to `mpi_send_'
MPI/nodes_ipr.update.f:(.text+0x90e): undefined reference to `mpi_recv_'
MPI/nodes_ipr.update.f:(.text+0xafb): undefined reference to `mpi_send_'
./MPI/nodes_irr.update.o: In function `nodes_irr_update_':
MPI/nodes_irr.update.f:(.text+0x133): undefined reference to `mpi_recv_'
MPI/nodes_irr.update.f:(.text+0x3d9): undefined reference to `mpi_send_'
./MPI/nodes_pass.o: In function `nodes_pass_':
MPI/nodes_pass.f:(.text+0x9a): undefined reference to `mpi_send_'
MPI/nodes_pass.f:(.text+0xde): undefined reference to `mpi_recv_'
./MPI/nodes_pass_sapnts.o: In function `nodes_pass_sapnts_':
MPI/nodes_pass_sapnts.f:(.text+0x14d): undefined reference to `mpi_send_'
MPI/nodes_pass_sapnts.f:(.text+0x1be): undefined reference to `mpi_recv_'
./MPI/nodes_pig_pass.o: In function `nodes_pig_pass_':
MPI/nodes_pig_pass.f:(.text+0x77): undefined reference to `mpi_barrier_'
./MPI/nodes_send_pig_sample.o: In function `nodes_send_pig_sample_':
MPI/nodes_send_pig_sample.f:(.text+0x74): undefined reference to `mpi_send_'
MPI/nodes_send_pig_sample.f:(.text+0x159): undefined reference to `mpi_recv_'
./MPI/nodes_send_rt_sample.o: In function `nodes_send_rt_sample_':
MPI/nodes_send_rt_sample.f:(.text+0x74): undefined reference to `mpi_send_'
MPI/nodes_send_rt_sample.f:(.text+0x159): undefined reference to `mpi_recv_'
./MPI/nodes_send_rtrcp_back.o: In function `nodes_send_rtrcp_back_':
MPI/nodes_send_rtrcp_back.f:(.text+0xbd): undefined reference to `mpi_recv_'
MPI/nodes_send_rtrcp_back.f:(.text+0x2c7): undefined reference to `mpi_send_'
./MPI/nodes_send_walls_back.o: In function `nodes_send_walls_back_':
MPI/nodes_send_walls_back.f:(.text+0x9f): undefined reference to `mpi_recv_'
MPI/nodes_send_walls_back.f:(.text+0x15d): undefined reference to `mpi_send_'
MPI/nodes_send_walls_back.f:(.text+0x1f3): undefined reference to `mpi_recv_'
MPI/nodes_send_walls_back.f:(.text+0x4a4): undefined reference to `mpi_send_'
./MPI/master_pass_xmass.o: In function `master_pass_xmass_':
MPI/master_pass_xmass.f:(.text+0xbd): undefined reference to `mpi_send_'
MPI/master_pass_xmass.f:(.text+0x178): undefined reference to `mpi_recv_'
./MPI/master_recv_1species_data.o: In function `master_recv_1species_data_':
MPI/master_recv_1species_data.f:(.text+0x239): undefined reference to `mpi_recv_'
./MPI/node_send_1species_data.o: In function `node_send_1species_data_':
MPI/node_send_1species_data.f:(.text+0xcd): undefined reference to `mpi_send_'
./MPI/nodes_send_lslice_back.o: In function `nodes_send_lslice_back_':
MPI/nodes_send_lslice_back.f:(.text+0x28f): undefined reference to `mpi_recv_'
MPI/nodes_send_lslice_back.f:(.text+0x631): undefined reference to `mpi_send_'
./MPI/nodes_send_pig_back.o: In function `nodes_send_pig_back_':
MPI/nodes_send_pig_back.f:(.text+0x101): undefined reference to `mpi_recv_'
MPI/nodes_send_pig_back.f:(.text+0x1d0): undefined reference to `mpi_send_'
./MPI/nodes_send_pig_misc.o: In function `nodes_send_pig_misc_':
MPI/nodes_send_pig_misc.f:(.text+0x44): undefined reference to `mpi_recv_'
MPI/nodes_send_pig_misc.f:(.text+0x71): undefined reference to `mpi_send_'
./MPI/nodes_send_pig_misc_real8.o: In function `nodes_send_pig_misc_real8_':
MPI/nodes_send_pig_misc_real8.f:(.text+0x44): undefined reference to `mpi_recv_'
MPI/nodes_send_pig_misc_real8.f:(.text+0x71): undefined reference to `mpi_send_'
./MPI/nodes_send_pig_sum.o: In function `nodes_send_pig_sum_':
MPI/nodes_send_pig_sum.f:(.text+0x119): undefined reference to `mpi_recv_'
MPI/nodes_send_pig_sum.f:(.text+0x232): undefined reference to `mpi_send_'
./MPI/nodes_send_pig_sum.o: In function `nodes_send_pig_sum_real_':
MPI/nodes_send_pig_sum.f:(.text+0x405): undefined reference to `mpi_recv_'
MPI/nodes_send_pig_sum.f:(.text+0x542): undefined reference to `mpi_send_'
./MPI/nodes_send_puffmass_back.o: In function `nodes_send_puffmass_back_':
MPI/nodes_send_puffmass_back.f:(.text+0x1e7): undefined reference to `mpi_recv_'
MPI/nodes_send_puffmass_back.f:(.text+0x3ad): undefined reference to `mpi_send_'
./MPI/nodes_pass1.o: In function `nodes_pass1_':
MPI/nodes_pass1.f:(.text+0x41): undefined reference to `mpi_recv_'
MPI/nodes_pass1.f:(.text+0x67): undefined reference to `mpi_send_'
make[1]: *** [model] Error 1
make[1]: Leaving directory `/mnt/nfs/userspace/wzy/Model2/CAMx6.5'
make: *** [comp_ifort] Error 2


任何建议都是对我莫大的帮助,我将十分感谢!!!
密码修改失败请联系微信:mofangbao
发表于 2019-12-23 16:20:50 | 显示全部楼层
请问楼主后来跑通CAMx了吗?我现在在跑wrfcamx,有点问题想求教啊~~
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2021-8-26 09:45:04 | 显示全部楼层
您好,楼主!请问CAMx是一个开源的模型吗?是可以直接装在服务器就行吗?
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

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