爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 10081|回复: 7

在ubuntu15.04下安装WPS时configure遇到的问题

[复制链接]

新浪微博达人勋

发表于 2015-11-29 15:14:20 | 显示全部楼层 |阅读模式

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

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

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











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

新浪微博达人勋

 楼主| 发表于 2015-11-29 15:38:15 | 显示全部楼层
有人在么
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2015-11-29 15:38:27 | 显示全部楼层
??
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

新浪微博达人勋

发表于 2015-11-29 15:43:16 | 显示全部楼层
你需要先安装WRFV3
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2015-11-29 15:52:27 | 显示全部楼层

已经安装好了 那几个相应的可执行文件都有了
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-11-30 21:29:10 | 显示全部楼层
Can't open module file 'module_debug.mod',所以我觉得你可以去找找module_debug.f这个文件看看有没有
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-3-7 10:06:29 | 显示全部楼层
你好,看了你的帖子,我遇到的问题跟你一致,麻烦请教下最后是如何解决的
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2021-4-23 11:59:48 | 显示全部楼层
请问你是怎么解决的呢
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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