- 积分
- 32
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-11-1
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
各位大神,求帮忙。小弟已经被WRF的安装折磨了两周多了。我在ubuntu15.04下进行WRF模式的安装,前期的WRF经过一周多的折腾后,终于能编译通过,在main下面产生了这四个相应的exe文件:main/ndown.exe main/real.exe main/tc.exe main/wrf.exe。可是接下来在进行wps的compile时,却始终无法生成geogrid.exe ungrib.exe metgrid.exe。
查看log.compile显示(这是其中的一部分)
Fatal Error: Can't open module file 'module_debug.mod' for reading at (1): 没有那个文件或目录
Makefile:78: recipe for target 'int2nc.o' failed
make[1]: [int2nc.o] Error 1 (ignored)
gfortran -o int2nc.exe -I/home/cuicheng/everything_about_wrf/Build_WRF/WPS/../WRFV3/external/io_netcdf -I/home/cuicheng/everything_about_wrf/Build_WRF/WPS/../WRFV3/external/io_grib_share -I/home/cuicheng/everything_about_wrf/Build_WRF/WPS/../WRFV3/external/io_grib1 -I/home/cuicheng/everything_about_wrf/Build_WRF/WPS/../WRFV3/external/io_int -I/home/cuicheng/everything_about_wrf/Build_WRF/WPS/../WRFV3/inc -I/home/cuicheng/everything_about_wrf/Build_WRF/LIBRARIES/netcdf/include int2nc.o module_debug.o misc_definitions_module.o read_met_module.o cio.o -L/home/cuicheng/everything_about_wrf/Build_WRF/WPS/../WRFV3/external/io_grib1 -lio_grib1 -L/home/cuicheng/everything_about_wrf/Build_WRF/WPS/../WRFV3/external/io_grib_share -lio_grib_share -L/home/cuicheng/everything_about_wrf/Build_WRF/WPS/../WRFV3/external/io_int -lwrfio_int -L/home/cuicheng/everything_about_wrf/Build_WRF/WPS/../WRFV3/external/io_netcdf -lwrfio_nf -L/home/cuicheng/everything_about_wrf/Build_WRF/LIBRARIES/netcdf/lib -lnetcdff -lnetcdf
gfortran: error: int2nc.o: 没有那个文件或目录
gfortran: error: module_debug.o: 没有那个文件或目录
gfortran: error: misc_definitions_module.o: 没有那个文件或目录
gfortran: error: read_met_module.o: 没有那个文件或目录
gfortran: error: cio.o: 没有那个文件或目录
Makefile:75: recipe for target 'int2nc.exe' failed
make[1]: [int2nc.exe] Error 1 (ignored)
make[1]: Leaving directory '/home/cuicheng/everything_about_wrf/Build_WRF/WPS/util/src'
if [ -h int2nc.exe ] ; then \
/bin/rm -f int2nc.exe ; \
fi ; \
if [ -h ../int2nc.exe ] ; then \
/bin/rm -f ../int2nc.exe ; \
fi ; \
if [ -e src/int2nc.exe ] ; then \
ln -sf src/int2nc.exe . ; \
fi
我使用的NETcdf版本是4.1.3,用的编译环境为gcc,gfortran等。
我曾经在bashrc文件中写过这样一些乱七八糟的东西来添加路径,也是参考的网上各种教程,感觉很乱,是不是这里出的问题?
#for netcdf
export NETCDF=/home/cuicheng/everything_about_wrf/Build_WRF/LIBRARIES/netcdf
export WRFIO_NCD_LARGE_FILE_SUPPORT=1
export PATH=.:$NETCDF/bin:$PATH
export LD_LIBRARY_PATH=${NETCDF}/lib:${LD_LIBRARY_PATH}
export LD_RUN_PATH=${NETCDF}/lib:${LD_RUN_PATH}
#set JASPER
export JASPERLIB=/home/cuicheng/everything_about_wrf/Build_WRF/LIBRARIES/grib2/lib
export JASPERINC=/home/cuicheng/everything_about_wrf/Build_WRF/LIBRARIES/grib2/include
#for zlib
export ZLIB_HOME=/home/cuicheng/everything_about_wrf/Build_WRF/LIBRARIES/grib2
export LD_LIBRARY_PATH=$ZLIB_HOME/lib:$LD_LIBRARY_PATH
# for libpng
export ZLIB_HOME=/home/cuicheng/everything_about_wrf/Build_WRF/LIBRARIES/grib2
export LIBPNGLIB=/home/cuicheng/everything_about_wrf/Build_WRF/LIBRARIES/grib2/lib
export LIBPNGINC=/home/cuicheng/everything_about_wrf/Build_WRF/LIBRARIES/grib2/include
|
|