爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
12
返回列表 发新帖
楼主: Rplay

WRF编译时问题

[复制链接]
发表于 2014-4-22 22:06:06 | 显示全部楼层
唉,同样的问题
密码修改失败请联系微信:mofangbao
发表于 2014-6-6 20:43:47 | 显示全部楼层
Rplay 发表于 2012-8-19 18:41
各位大侠说的是,小弟紧记。现将标注为错误的内容贴出来,请各位大侠参考。(可能有点多)

/bin/sh: 1: ...

你好,我现在装了wrf的主程序,然后怎么查看错误日志中的错误呢?
密码修改失败请联系微信:mofangbao
发表于 2014-6-8 17:12:38 | 显示全部楼层
compile时用这样的命令:

nohup ./compile
密码修改失败请联系微信:mofangbao
发表于 2014-8-25 20:29:23 | 显示全部楼层
不知楼主如何解决的,我也碰到类似的问题,请教
密码修改失败请联系微信:mofangbao
发表于 2015-2-10 19:59:18 | 显示全部楼层
configure里面加-cpp,用nohup运行
密码修改失败请联系微信:mofangbao
发表于 2015-9-18 15:07:33 | 显示全部楼层
有可能是intel编译器的版本太低,换一个低版本的WRF就可以了
密码修改失败请联系微信:mofangbao
发表于 2015-9-19 20:53:10 | 显示全部楼层

WRF里面程序代码要先用m4程序处理再编译,所以必须先安装m4套件
密码修改失败请联系微信:mofangbao
发表于 2017-4-15 17:15:37 | 显示全部楼层
同志  你解决了吗?m4这些都装啦。
gcc4.4 gcc4.8 都试过了
还是这个
Fatal Error: Can't open module file 'module_ext_internal.mod' for reading at (1): No such file or directory

但是之前time就有问题了:
/lib/cpp -P -traditional -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM -DNO_IEEE_MODULE  -DDM_PARALLEL -DNETCDF -DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0 test_io_idx.F90 > test_io_idx.f
Diffwrf io_int will be built later on in this compile. No need to rerun compile.
time mpif90 -f90=gfortran   -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4    -o module_internal_header_util.o -c module_internal_header_util.f
make[3]: time: Command not found
make[3]: [module_internal_header_util.o] Error 127 (ignored)
mpicc -cc=gcc -DMPI2_SUPPORT -DFSEEKO64_OK  -o io_int_idx.o -c -w io_int_idx.c
time mpif90 -f90=gfortran   -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4    -o module_io_int_idx.o -c module_io_int_idx.f
make[3]: time: Command not found
make[3]: [module_io_int_idx.o] Error 127 (ignored)
/lib/cpp -P -traditional -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM -DNO_IEEE_MODULE  -DDM_PARALLEL -DNETCDF -DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0  -I../../inc -I../ioapi_share io_int.F90 | m4 -Uinclude -Uindex -Ulen - > io_int.f
time mpif90 -f90=gfortran   -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4    -I../../frame -o module_io_int_read.o -c module_io_int_read.f
make[3]: time: Command not found
make[3]: [module_io_int_read.o] Error 127 (ignored)
time mpif90 -f90=gfortran   -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4    -I../../inc -I../ioapi_share -o io_int.o -c io_int.f
make[3]: time: Command not found
make[3]: [io_int.o] Error 127 (ignored)
if [ `echo "time mpif90 -f90=gfortran   -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4  " | awk '{print $1}'` = "gfortran" ] ; then \
        echo removing external declaration of iargc for gfortran ; \
        /lib/cpp -P -traditional -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM -DNO_IEEE_MODULE  -DDM_PARALLEL -DNETCDF -DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0  -I../ioapi_share diffwrf.F90 | \
        sed '/integer *, *external.*iargc/d' > diffwrf.f  ; \
else \
        /lib/cpp -P -traditional -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM -DNO_IEEE_MODULE  -DDM_PARALLEL -DNETCDF -DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0  -I../ioapi_share diffwrf.F90 > diffwrf.f  ; \
fi ; \
time mpif90 -f90=gfortran   -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4   -c  -I../ioapi_share diffwrf.f ; \

rm -f libwrfio_int.a
diffwrf.f:61.6:

  use module_ext_internal
      1
Fatal Error: Can't open module file 'module_ext_internal.mod' for reading at (1): No such file or directory
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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