爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 17118|回复: 23

WRFV3安装./compile以后无法生成3个exe

[复制链接]
发表于 2014-10-23 22:01:12 | 显示全部楼层 |阅读模式

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

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

x
   求助各位,用的linux suse系统,pgi、netcdf已装好并通过测试,ncl装失败了,jasper、zlib、libpng均已安装。
   在我./configure后选了1,然后./compile em_real,转的很顺利,中间也没有明显的报错,但最后main里面ncdown,real,wrf三个exe都没生成,configure别的相近机型我的试过,都不成功。
    还望各位解答,下附bashrc和compile的log:
# Sample .bashrc for SuSE Linux
# Copyright (c) SuSE GmbH Nuernberg

# There are 3 different types of shells in bash: the login shell, normal shell
# and interactive shell. Login shells read ~/.profile and interactive shells
# read ~/.bashrc; in our setup, /etc/profile sources ~/.bashrc - thus all
# settings made here will also take effect in a login shell.
#
# NOTE: It is recommended to make language settings in ~/.profile rather than
# here, since multilingual X sessions would not work properly if LANG is over-
# ridden in every subshell.

# Some applications read the EDITOR variable to determine your favourite text
# editor. So uncomment the line below and enter the editor of your choice :-)
#export EDITOR=/usr/bin/vim
#export EDITOR=/usr/bin/mcedit

# For some news readers it makes sense to specify the NEWSSERVER variable here
#export NEWSSERVER=your.news.server

# If you want to use a Palm device with Linux, uncomment the two lines below.
# For some (older) Palm Pilots, you might need to set a lower baud rate
# e.g. 57600 or 38400; lowest is 9600 (very slow!)
#
#export PILOTPORT=/dev/pilot
#export PILOTRATE=115200

test -s ~/.alias && . ~/.alias || true
## set pgi ##
export PGI=/home/software/pgi/linux86-64/10.6
export PATH=$PGI/bin:$PGI/include:$PATH
export MANPATH=$MANPATH:$PGI/man
export LM_LICENSE_FILE=/home/software/pgi/license.dat
## set netcdf ##
export NETCDF=/home/software/netcdf
export PATH=$NETCDF/bin:$NETCDF/include:$NETCDF/lib:$NETCDF/man:$PATH
export CC=/usr/bin/gcc
export CXX=$PGI/bin/pgCC
export FC=$PGI/bin/pgf90
export F90=$PGI/bin/pgf90
## set ncl_ncarg ##
export NCARG_ROOT=/home1/zhuy/usr/local/software/ncl
export NCARG_LIB=/home1/zhuy/usr/local/software/ncl/lib
export NCARG_INC=/home1/zhuy/usr/local/software/ncl/include
export PATH=$PATH:/home1/zhuy/usr/local/software/ncl/bin
## set jasper zlib libpng ##
export JASPER=/home1/zhuy/usr/local/software/jasper-1.900.1
export JASPERLIB=/home1/zhuy/usr/local/software/jasper-1.900.1/lib
export JASPERINC=/home1/zhuy/usr/local/software/jasper-1.900.1/include
export ZLIB=/home1/zhuy/usr/local/software/zlib-1.2.8
export ZLIBLIB=/home1/zhuy/usr/local/software/zlib-1.2.8/lib
export ZLIBINC=/home1/zhuy/usr/local/software/zlib-1.2.8/include
export LIBPNG=/home1/zhuy/usr/local/software/libpng-1.6.13
export LIBPNGLIB=/home1/zhuy/usr/local/software/libpng-1.6.13/lib
export LIBPNGINC=/home1/zhuy/usr/local/software/libpng-1.6.13/include
export BLAS=/home1/zhuy/usr/local/software/blas
export LAPACK=/home1/zhuy/usr/local/software/lapack-3.3.1
## set WRF support ##
export WRFIO_NCD_LARGE_FILE_SUPPORT=1
export LD_LIBRARY_PATH=/home/software/netcdf/lib:$LD_LIBRARY_PATH

log太长,我就给出一头一尾吧

None of WRF_EM_CORE, WRF_NMM_CORE,
        specified in shell environment....
copying Registry/Registry.EM to Registry/Registry

Compiling: WRF_EM_CORE .

setting parallel make -j 2
make -i -r MODULE_DIRS="-I../dyn_em -I../dyn_nmm  -module /home1/zhuy/usr/local/wrf/WRFV3/main -I/home1/zhuy/usr/local/wrf/WRFV3/external/esmf_time_f90  -I/home1/zhuy/usr/local/wrf/WRFV3/main -I/home1/zhuy/usr/local/wrf/WRFV3/external/io_netcdf -I/home1/zhuy/usr/local/wrf/WRFV3/external/io_int -I/home1/zhuy/usr/local/wrf/WRFV3/frame -I/home1/zhuy/usr/local/wrf/WRFV3/share -I/home1/zhuy/usr/local/wrf/WRFV3/phys -I/home1/zhuy/usr/local/wrf/WRFV3/chem -I/home1/zhuy/usr/local/wrf/WRFV3/inc -I/home/software/netcdf/include " ext
make[1]: Entering directory `/home1/zhuy/usr/local/wrf/WRFV3'
--------------------------------------
( cd frame ; make -i -r externals )
make[2]: Entering directory `/home1/zhuy/usr/local/wrf/WRFV3/frame'
( cd /home1/zhuy/usr/local/wrf/WRFV3/external/esmf_time_f90 ; \
          make -j 2 FC="pgf90 -r4 -i4  -w -Mfree -byteswapio  " RANLIB="ranlib" \
          CPP="/lib/cpp -C -P -I/home1/zhuy/usr/local/wrf/WRFV3/inc -I. -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  -DDM_PARALLEL -DSTUBMPI -DNETCDF -DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0 -traditional" AR="ar" ARFLAGS="ru" )
make[3]: Entering directory `/home1/zhuy/usr/local/wrf/WRFV3/external/esmf_time_f90'
/bin/rm -f ESMF_Base.o
/bin/rm -f ESMF_Fraction.o

尾:
( cd test/em_real ; /bin/rm -f GENPARM.TBL ; ln -s ../../run/GENPARM.TBL . )
( cd test/em_real ; /bin/rm -f LANDUSE.TBL ; ln -s ../../run/LANDUSE.TBL . )
( cd test/em_real ; /bin/rm -f SOILPARM.TBL ; ln -s ../../run/SOILPARM.TBL . )
( cd test/em_real ; /bin/rm -f URBPARM.TBL ; ln -s ../../run/URBPARM.TBL . )
( cd test/em_real ; /bin/rm -f VEGPARM.TBL ; ln -s ../../run/VEGPARM.TBL . )
( cd test/em_real ; /bin/rm -f MPTABLE.TBL ; ln -s ../../run/MPTABLE.TBL . )
( cd test/em_real ; /bin/rm -f tr49t67 ; ln -s ../../run/tr49t67 . )
( cd test/em_real ; /bin/rm -f tr49t85 ; ln -s ../../run/tr49t85 . )
( cd test/em_real ; /bin/rm -f tr67t85 ; ln -s ../../run/tr67t85 . )
( cd test/em_real ; /bin/rm -f gribmap.txt ; ln -s ../../run/gribmap.txt . )
( cd test/em_real ; /bin/rm -f grib2map.tbl ; ln -s ../../run/grib2map.tbl . )
( cd run ; /bin/rm -f real.exe ; ln -s ../main/real.exe . )
( cd run ; /bin/rm -f tc.exe ; ln -s ../main/tc.exe . )
( cd run ; /bin/rm -f ndown.exe ; ln -s ../main/ndown.exe . )
( cd run ; /bin/rm -f nup.exe ; ln -s ../main/nup.exe . )
( cd run ; if test -f namelist.input ; then \
        /bin/cp -f namelist.input namelist.input.backup ; fi ; \
        /bin/rm -f namelist.input ; ln -s ../test/em_real/namelist.input . )
build started:   Thu Oct 23 21:46:40 CST 2014
build completed: Thu Oct 23 21:58:27 CST 2014
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2014-10-24 11:24:28 | 显示全部楼层
顶一顶,毕业论文要用,急求各位!谢谢了!不知是不是还要贴上什么相关的信息呢?
密码修改失败请联系微信:mofangbao
发表于 2014-10-25 21:30:13 | 显示全部楼层
是在服务器上安装的还是pc
密码修改失败请联系微信:mofangbao
发表于 2014-11-13 17:25:37 | 显示全部楼层
你的问题解决了吗?我也有类似的问题,最后main里没有生成.exe文件。log文件里有这样的错误:
start_em.f90:208.60:
ALLOCATE( clat_glob(ids:ide,jds:jde), STAT=alloc_status, ERRMSG=alloc_err_
                                                         1
错误: ALLOCATE 语句在(1)处语法错误
make[2]: [start_em.o] 错误 1 (忽略)
密码修改失败请联系微信:mofangbao
发表于 2015-5-29 21:51:17 | 显示全部楼层
楼主问题解决了吗?我也有类似的问题,最后main里没有生成.exe文件。如果解决了的话,可以告知方法吗?谢。
密码修改失败请联系微信:mofangbao
发表于 2015-8-12 11:50:36 | 显示全部楼层
顶起,不知道有没有人知道解决办法
密码修改失败请联系微信:mofangbao
发表于 2015-8-13 09:58:55 | 显示全部楼层
继续顶,有没有大神可以告知
密码修改失败请联系微信:mofangbao
发表于 2015-9-11 20:42:19 | 显示全部楼层
请问你这个问题解决了吗
密码修改失败请联系微信:mofangbao
发表于 2015-11-23 21:41:06 | 显示全部楼层
我也出现了这个问题,有人能帮助下吗
密码修改失败请联系微信:mofangbao
发表于 2015-11-24 07:19:40 | 显示全部楼层
log里有error么
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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