爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 7072|回复: 2

Ubuntu16.04LST安装WRF3.9.1.1失败

[复制链接]
发表于 2018-1-30 13:29:51 | 显示全部楼层 |阅读模式

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

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

x
本帖最后由 hzh_1211 于 2018-1-30 17:51 编辑

我想在虚拟机上安装WRF,但是参考论坛和官网的安装流程都没能成功安装,wrf所需要的编译环境都全部安装。我重装了好几次系统,在不同的机器上都没有成功,请问这是哪里的问题啊?
编译选的是
GNU(gfortran/gcc)
[34]dm-[1]basic
或者
[32]serial-[0]no nesting

错误提示:非常多,这里只选取了一开始和最后的几处错误
make[3]: Entering directory '/home/nuist1/WRFV3/external/io_int'
Diffwrf io_int will be built later on in this compile. No need to rerun compile.
Diffwrf io_int will be built later on in this compile. No need to rerun compile.
if [ -f ../../frame/pack_utils.o -a -f ../../frame/clog.o ] ; then \
  time mpif90    -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4     -I../ioapi_share -o diffwrf diffwrf.f \
        ../../frame/pack_utils.o ../../frame/module_internal_header_util.o ../../frame/module_driver_constants.o ../../frame/module_machine.o ../../frame/module_wrf_error.o ../../frame/wrf_debug.o  libwrfio_int.a ; \
fi
gfortran: error: ../../frame/module_driver_constants.o: No such file or directory
gfortran: error: ../../frame/module_machine.o: No such file or directory
Command exited with non-zero status
0.01user 0.01system 0:00.08elapsed 39%CPU (0avgtext+0avgdata 3168maxresident)k
424inputs+0outputs (3major+2673minor)pagefaults 0swaps
makefile:76: recipe for target 'diffwrf' failed
make[3]: [diffwrf] Error 1 (ignored)
make[3]: Leaving directory '/home/nuist1/WRFV3/external/io_int'
...
cpp: error: module_state_description.F: No such file or directory
cpp: warning: ‘-x c’ after last input file has no effect
cpp: fatal error: no input files
compilation terminated.
...
Fatal Error: Can't open module file ‘module_wrf_top.mod’ for reading at (1): No such file or directory
compilation terminated.


安装环境:
  • 虚拟机Ubuntu16.04TLS
  • gcc gfortran g++ version:5.4
  • zlib-1.2.8
  • curl
  • hdf5-1.8.13
  • netcdf-c-4.4.1.1
  • netcdf-fortran-4.4.4
  • mpich 3.2





密码修改失败请联系微信:mofangbao
发表于 2018-1-30 18:11:20 | 显示全部楼层

回帖奖励 +2 金钱

密码修改失败请联系微信:mofangbao
发表于 2019-4-18 22:07:26 | 显示全部楼层

回帖奖励 +2 金钱

可以查看一下错误里面有没有killed的提示,有的话就是内存溢出导致编译过程直接被系统kill了,可以增加一下系统内存试试。
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

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