- 积分
- 49
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-5-26
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
我说说我做的具体步骤。。我先按照。http://blog.sciencenet.cn/blog-237238-547593.html,安装了netcdf
然后设置环境变量:
setenv CAMROOT /home/jph/nersc/cam/cam1/cam
setenv CSMDATA /home/jph/nersc/cam/cam1/inputdata
setenv INC_NETCDF /home/jph/netcdf_i/include
setenv LIB_NETCDF /home/jph/netcdf_i/lib
setenv MOD_NETCDF /home/jph/netcdf_i/include
setenv USER_FC /opt/openmpi-gcc/bin/mpif90
setenv USER_CC /opt/intel/bin/icc
setenv INC_MPI /opt/openmpi-gcc/include
setenv LIB_MPI /opt/openmpi-gcc/lib
然后按照:http://blog.wrfchina.com/node/83,执行cam build 等等步骤。。
可是在./cam1/models/atm/cam/bld/configure -test -dyn "eul" -res "64x128"
出现错误:
creating /home/jph/nersc/cam/cam1/cam/Filepath
creating /home/jph/nersc/cam/cam1/cam/params.h
creating /home/jph/nersc/cam/cam1/cam/misc.h
creating /home/jph/nersc/cam/cam1/cam/preproc.h
creating /home/jph/nersc/cam/cam1/cam/Makefile
creating /home/jph/nersc/cam/cam1/cam/config_cache.xml
Looking for a valid GNU make... using gmake
Testing for Fortran 90 compatible compiler... using mpif90
Testing NetCDF library... **** FAILED ****
Issued the command:
gmake test_nc 2>&1
The output was:
cat: Srcfiles: 没有那个文件或目录
Makefile:1083: /home/jph/nersc/cam/cam1/cam/Depends: 没有那个文件或目录
/home/jph/nersc/cam/cam1/cam/cam1/models/atm/cam/bld/mkSrcfiles > /home/jph/nersc/cam/cam1/cam/Srcfiles
/home/jph/nersc/cam/cam1/cam/cam1/models/atm/cam/bld/mkDepends Filepath Srcfiles > /home/jph/nersc/cam/cam1/cam/Depends
/opt/openmpi-gcc/bin/mpif90 -c -DHIDE_MPI test_nc.F90
test_nc.F90:3: 错误:netcdf.inc:没有那个文件或目录
test_nc.F90:5.9:
ret = nf_create('foo.nc', cmode, ncid)
1
错误: (1)处的函数‘nf_create’没有隐式类型
gmake: *** [test_nc.o] 错误 1
希望大家看看呀。。这是什么错我。。。帮我想想办法呀。。在线等呀。。。。。
我该怎么做呀?
|
|