爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 7122|回复: 4

安装WPS过程中出错,求大神给解答

[复制链接]
发表于 2017-5-12 11:14:37 | 显示全部楼层 |阅读模式

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

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

x
一下是编译WPS以后的WPS中的checkwps.log文件
**** Compiling wps ****

/bin/sh: 1: [: /home/mode/WRFV3: unexpected operator

***************************************************************************************
Error : Not building geogrid. Check whether WRF is compiled in /home/mode/WRFV3
***************************************************************************************

( cd src/ngl ; make -i -r DEV_TOP="/home/mode/WPS" CC="gcc" FC="gfortran" RANLIB="ranlib " all )
make[1]: Entering directory '/home/mode/WPS/ungrib/src/ngl'
( cd w3 ; make -i -r DEV_TOP="/home/mode/WPS" all ; ranlib  libw3.a )
make[2]: Entering directory '/home/mode/WPS/ungrib/src/ngl/w3'
Makefile:44: warning: overriding recipe for target '.f.o'
/home/mode/WPS/configure.wps:99: warning: ignoring old recipe for target '.f.o'
Makefile:48: warning: overriding recipe for target '.c.o'
/home/mode/WPS/configure.wps:95: warning: ignoring old recipe for target '.c.o'
/bin/rm -f bacio_module.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c bacio_module.f
/bin/rm -f getgb.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgb.f
/bin/rm -f getgbmh.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgbmh.f
/bin/rm -f putgbex.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c putgbex.f
/bin/rm -f w3fi73.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3fi73.f
/bin/rm -f getgb1r.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgb1r.f
/bin/rm -f getgbmp.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgbmp.f
/bin/rm -f putgbn.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c putgbn.f
/bin/rm -f w3fi74.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3fi74.f
/bin/rm -f getgb1re.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgb1re.f
/bin/rm -f getgbp.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgbp.f
/bin/rm -f r63w72.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c r63w72.f
/bin/rm -f w3fi75.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3fi75.f
/bin/rm -f getgb1s.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgb1s.f
/bin/rm -f getgi.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgi.f
/bin/rm -f sbyte.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c sbyte.f
/bin/rm -f w3fi76.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3fi76.f
/bin/rm -f getgbe.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgbe.f
/bin/rm -f getgir.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgir.f
/bin/rm -f sbytes.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c sbytes.f
/bin/rm -f w3fi82.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3fi82.f
/bin/rm -f getgbeh.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgbeh.f
/bin/rm -f idsdef.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c idsdef.f
/bin/rm -f w3fi83.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3fi83.f
/bin/rm -f getgbem.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgbem.f
/bin/rm -f iw3jdn.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c iw3jdn.f
/bin/rm -f w3difdat.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3difdat.f
/bin/rm -f w3fs26.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3fs26.f
/bin/rm -f getgbemh.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgbemh.f
/bin/rm -f ixgb.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c ixgb.f
/bin/rm -f w3doxdat.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3doxdat.f
/bin/rm -f w3log.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3log.f
/bin/rm -f getgbemp.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgbemp.f
/bin/rm -f lengds.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c lengds.f
/bin/rm -f w3fi01.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3fi01.f
/bin/rm -f w3movdat.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3movdat.f
/bin/rm -f getgbens.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgbens.f
/bin/rm -f pdsens.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c pdsens.f
/bin/rm -f w3fi58.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3fi58.f
/bin/rm -f w3reddat.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3reddat.f
/bin/rm -f getgbep.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgbep.f
/bin/rm -f pdseup.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c pdseup.f
/bin/rm -f w3fi59.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3fi59.f
/bin/rm -f w3tagb.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3tagb.f
/bin/rm -f errmsg.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c errmsg.f
/bin/rm -f getgbex.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgbex.f
/bin/rm -f putgb.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c putgb.f
/bin/rm -f w3fi63.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3fi63.f
/bin/rm -f gbytes.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c gbytes.f
/bin/rm -f getgbexm.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgbexm.f
/bin/rm -f putgbe.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c putgbe.f
/bin/rm -f w3fi68.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3fi68.f
/bin/rm -f gbytes_char.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c gbytes_char.f
/bin/rm -f getgbh.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgbh.f
/bin/rm -f putgben.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c putgben.f
/bin/rm -f getbit.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getbit.f
/bin/rm -f getgbm.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c getgbm.f
/bin/rm -f putgbens.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c putgbens.f
/bin/rm -f w3fi72.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3fi72.f
/bin/rm -f fparsei.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c fparsei.f
/bin/rm -f fparser.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c fparser.f
/bin/rm -f instrument.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c instrument.f
/bin/rm -f start.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c start.f
/bin/rm -f summary.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c summary.f
/bin/rm -f w3utcdat.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3utcdat.f
/bin/rm -f w3fs21.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3fs21.f
/bin/rm -f w3locdat.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3locdat.f
/bin/rm -f w3fi71.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c w3fi71.f
/bin/rm -f baciof.o
gfortran -ffixed-form -O -fconvert=big-endian -frecord-marker=4 -c baciof.f
/bin/rm -f bacio.v1.3.o
gcc  -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -c bacio.v1.3.c
/bin/rm -f errexit.o
gcc  -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -c errexit.c
ar ru  libw3.a bacio_module.o getgb.o     getgbmh.o   putgbex.o   w3fi73.o getgb1r.o   getgbmp.o   putgbn.o    w3fi74.o getgb1re.o  getgbp.o    r63w72.o    w3fi75.o getgb1s.o   getgi.o     sbyte.o     w3fi76.o getgbe.o    getgir.o    sbytes.o    w3fi82.o getgbeh.o   idsdef.o                w3fi83.o getgbem.o   iw3jdn.o    w3difdat.o  w3fs26.o getgbemh.o  ixgb.o      w3doxdat.o  w3log.o getgbemp.o  lengds.o    w3fi01.o    w3movdat.o getgbens.o  pdsens.o    w3fi58.o    w3reddat.o getgbep.o   pdseup.o    w3fi59.o    w3tagb.o errmsg.o    getgbex.o   putgb.o     w3fi63.o gbytes.o    getgbexm.o  putgbe.o    w3fi68.o gbytes_char.o           getgbh.o    putgben.o getbit.o    getgbm.o    putgbens.o  w3fi72.o fparsei.o   fparser.o   instrument.o start.o     summary.o   w3utcdat.o  w3fs21.o w3locdat.o  w3fi71.o    baciof.o bacio.v1.3.o errexit.o
ar: `u' 修饰符被忽略,因为 `D' 为默认(参见 `U')
ar: 正在创建 libw3.a
ranlib  libw3.a
make[2]: Leaving directory '/home/mode/WPS/ungrib/src/ngl/w3'
ln -sf w3/libw3.a .
( cd g2 ; make -i -r DEV_TOP="/home/mode/WPS" all ; ranlib  libg2_4.a )
make[2]: Entering directory '/home/mode/WPS/ungrib/src/ngl/g2'
Makefile:67: warning: overriding recipe for target '.F.o'
/home/mode/WPS/configure.wps:103: warning: ignoring old recipe for target '.F.o'
Makefile:72: warning: overriding recipe for target '.f.o'
/home/mode/WPS/configure.wps:99: warning: ignoring old recipe for target '.f.o'
Makefile:75: warning: overriding recipe for target '.c.o'
/home/mode/WPS/configure.wps:95: warning: ignoring old recipe for target '.c.o'
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 gridtemplates.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 pdstemplates.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 drstemplates.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 gribmod.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 realloc.f
/usr/bin/cpp -P -traditional -DUSE_JPEG2000 -DUSE_PNG addfield.F > addfield.f90
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 addfield.f90
/bin/rm -f addfield.f90
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 addgrid.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 addlocal.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 getfield.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 gb_info.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 gf_getfld.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 gf_free.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 gf_unpack1.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 gf_unpack2.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 gf_unpack3.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 gf_unpack4.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 gf_unpack5.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 gf_unpack6.f
/usr/bin/cpp -P -traditional -DUSE_JPEG2000 -DUSE_PNG gf_unpack7.F > gf_unpack7.f90
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 gf_unpack7.f90
/bin/rm -f gf_unpack7.f90
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 gettemplates.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 getlocal.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 getdim.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 getpoly.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 gribcreate.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 gribend.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 gribinfo.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 mkieee.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 rdieee.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 simpack.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 simunpack.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 cmplxpack.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 compack.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 misspack.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 pack_gp.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 reduce.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 comunpack.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 specpack.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 specunpack.f
/usr/bin/cpp -P -traditional -DUSE_JPEG2000 -DUSE_PNG jpcpack.F > jpcpack.f90
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 jpcpack.f90
/bin/rm -f jpcpack.f90
/usr/bin/cpp -P -traditional -DUSE_JPEG2000 -DUSE_PNG jpcunpack.F > jpcunpack.f90
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 jpcunpack.f90
/bin/rm -f jpcunpack.f90
gcc -c  -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -I/usr/local/JASPER/include -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ enc_jpeg2000.c
gcc -c  -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -I/usr/local/JASPER/include -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ dec_jpeg2000.c
/usr/bin/cpp -P -traditional -DUSE_JPEG2000 -DUSE_PNG pngpack.F > pngpack.f90
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 pngpack.f90
/bin/rm -f pngpack.f90
/usr/bin/cpp -P -traditional -DUSE_JPEG2000 -DUSE_PNG pngunpack.F > pngunpack.f90
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 pngunpack.f90
/bin/rm -f pngunpack.f90
gcc -c  -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -I/usr/local/JASPER/include -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ enc_png.c
gcc -c  -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -I/usr/local/JASPER/include -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ dec_png.c
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 gbytesc.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 skgb.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 ixgb2.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 getidx.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 getg2i.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 getg2ir.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 getgb2s.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 getgb2r.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 getgb2l.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 getgb2.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 getgb2p.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 getgb2rp.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 putgb2.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 g2grids.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 gdt2gds.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 params.f
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 params_ecmwf.f
gcc -c  -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -I/usr/local/JASPER/include -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ mova2i.c
/bin/rm -f libg2_4.a
ar ru  libg2_4.a gridtemplates.o pdstemplates.o drstemplates.o gribmod.o realloc.o addfield.o addgrid.o addlocal.o getfield.o gb_info.o gf_getfld.o gf_free.o gf_unpack1.o gf_unpack2.o gf_unpack3.o gf_unpack4.o gf_unpack5.o gf_unpack6.o gf_unpack7.o gettemplates.o getlocal.o getdim.o getpoly.o gribcreate.o gribend.o gribinfo.o mkieee.o rdieee.o simpack.o simunpack.o cmplxpack.o compack.o misspack.o pack_gp.o reduce.o comunpack.o specpack.o specunpack.o jpcpack.o jpcunpack.o enc_jpeg2000.o dec_jpeg2000.o pngpack.o pngunpack.o enc_png.o dec_png.o gbytesc.o skgb.o ixgb2.o getidx.o getg2i.o getg2ir.o getgb2s.o getgb2r.o getgb2l.o getgb2.o getgb2p.o getgb2rp.o putgb2.o g2grids.o gdt2gds.o params.o params_ecmwf.o mova2i.o
ar: `u' 修饰符被忽略,因为 `D' 为默认(参见 `U')
ar: 正在创建 libg2_4.a
ranlib  libg2_4.a
make[2]: Leaving directory '/home/mode/WPS/ungrib/src/ngl/g2'
ln -sf g2/libg2_4.a .
make[1]: Leaving directory '/home/mode/WPS/ungrib/src/ngl'
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=/home/mode/WRFV3  ; \
        else \
          WRF_DIR2=/home/mode/WRFV3  ; \
        fi ; \
make -i -r ungrib.exe \
    WRF_DIR="$WRF_DIR2" \
    FC="gfortran" \
    CC="gcc" \
    CPP="/usr/bin/cpp -P -traditional" \
    FFLAGS="-ffree-form -O -fconvert=big-endian -frecord-marker=4" \
    CFLAGS="" \
    LDFLAGS="" \
    CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB" )
make[1]: Entering directory '/home/mode/WPS/ungrib/src'
Makefile:90: warning: overriding recipe for target '.F.o'
../../configure.wps:103: warning: ignoring old recipe for target '.F.o'
Makefile:95: warning: overriding recipe for target '.c.o'
../../configure.wps:95: warning: ignoring old recipe for target '.c.o'
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG misc_definitions_module.F > misc_definitions_module.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 misc_definitions_module.f90
/bin/rm -f debug_cio.o
gcc -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB  -c debug_cio.c
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG module_debug.F > module_debug.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 module_debug.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG module_stringutil.F > module_stringutil.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 module_stringutil.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG table.F > table.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 table.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG module_datarray.F > module_datarray.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 module_datarray.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG gridinfo.F > gridinfo.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 gridinfo.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG new_storage.F > new_storage.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 new_storage.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG filelist.F > filelist.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 filelist.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG ungrib.F > ungrib.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 ungrib.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG output.F > output.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 output.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG rrpr.F > rrpr.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 rrpr.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG rd_grib1.F > rd_grib1.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 rd_grib1.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG file_delete.F > file_delete.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 file_delete.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG datint.F > datint.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 datint.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB rd_grib2.F > rd_grib2.f90
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4  rd_grib2.f90 -I. -I./ngl/g2
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG build_hdate.F > build_hdate.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 build_hdate.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG geth_newdate.F > geth_newdate.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 geth_newdate.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG geth_idts.F > geth_idts.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 geth_idts.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG swap.F > swap.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 swap.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG parse_table.F > parse_table.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 parse_table.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG gbytesys.F > gbytesys.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 gbytesys.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG gribcode.F > gribcode.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 gribcode.f90
/usr/bin/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB -DUSE_JPEG2000 -DUSE_PNG read_namelist.F > read_namelist.f90
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4 read_namelist.f90
/bin/rm -f cio.o
gcc -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -D_UNGRIB  -c cio.c
cio.c:24:16: warning: return type defaults to ‘int’ [-Wimplicit-int]
#define c_open c_open_
                ^
cio.c:52:1: note: in expansion of macro ‘c_open’
c_open(unit, nunit, name, mode, err, oflag)
^
cio.c:27:17: warning: return type defaults to ‘int’ [-Wimplicit-int]
#define bn_seek bn_seek_
                 ^
cio.c:117:1: note: in expansion of macro ‘bn_seek’
bn_seek(fd, bread, mode, iprint)
^
cio.c: In function ‘bn_seek_’:
cio.c:148:15: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘off_t {aka long int}’ [-Wformat=]
        printf(" lseek return=%d, *mode=%d\n", i, *mode);
               ^
cio.c: At top level:
cio.c:26:17: warning: return type defaults to ‘int’ [-Wimplicit-int]
#define bn_read bn_read_
                 ^
cio.c:155:1: note: in expansion of macro ‘bn_read’
bn_read(fd, buf, nbuf, bread, ios, idiag)
^
cio.c:201:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
bnwrit_(fd, buf, nbuf, bwritten, err, idiag)
^
cio.c:25:17: warning: return type defaults to ‘int’ [-Wimplicit-int]
#define c_close c_close_
                 ^
cio.c:235:1: note: in expansion of macro ‘c_close’
c_close(nunit, iprint, err)
^
/bin/rm -f libpgu.a
ar ru libpgu.a build_hdate.o geth_newdate.o geth_idts.o swap.o table.o parse_table.o gbytesys.o gribcode.o read_namelist.o cio.o
ar: `u' 修饰符被忽略,因为 `D' 为默认(参见 `U')
ar: 正在创建 libpgu.a
ranlib  libpgu.a
/bin/rm -f ungrib.exe
if [ -z  ] ; then \
          gfortran -o ungrib.exe  misc_definitions_module.o debug_cio.o module_debug.o module_stringutil.o table.o module_datarray.o gridinfo.o new_storage.o filelist.o ungrib.o output.o rrpr.o rd_grib1.o file_delete.o datint.o rd_grib2.o  \
            -L./ngl -lw3 -lg2_4 \
            -L/usr/local/JASPER/lib -ljasper -lpng -lpng16 -lz \
            -L. -lpgu ; \
                        else \
          gfortran -o ungrib.exe  misc_definitions_module.o debug_cio.o module_debug.o module_stringutil.o table.o module_datarray.o gridinfo.o new_storage.o filelist.o ungrib.o output.o rrpr.o rd_grib1.o file_delete.o datint.o rd_grib2.o  \
            ./ngl/w3/libw3.a ./ngl/g2/libg2_4.a \
            -L/usr/local/JASPER/lib -ljasper -lpng -lpng16 -lz \
            libpgu.a ; \
                        fi
/usr/local/JASPER/lib/libjasper.a(jas_stream.o):在函数‘jas_stream_tmpfile’中:
/usr/jasper-1.900.1/src/libjasper/base/jas_stream.c:368: 警告: the use of `tmpnam' is dangerous, better use `mkstemp'
make[1]: Leaving directory '/home/mode/WPS/ungrib/src'
if [ -h ungrib.exe ] ; then \
        /bin/rm -f ungrib.exe ; \
fi ; \
if [ -h ../ungrib.exe ] ; then \
    /bin/rm -f ../ungrib.exe ; \
fi ; \
if [ -e src/ungrib.exe ] ; then \
    ln -sf src/ungrib.exe . ; \
fi
/bin/sh: 1: [: /home/mode/WRFV3: unexpected operator

***************************************************************************************
Error : Not building metgrid. Check whether WRF is compiled in /home/mode/WRFV3
***************************************************************************************


密码修改失败请联系微信:mofangbao
 楼主| 发表于 2017-5-12 15:31:13 | 显示全部楼层
ps:我的WRF是在/home/mode/WRFV3下进行编译的
密码修改失败请联系微信:mofangbao
发表于 2017-5-15 16:45:56 | 显示全部楼层
请问解决了吗
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2017-5-15 17:43:02 | 显示全部楼层

没解决,搜了论坛里一个一键安装wrf的脚本,用那个安的,应该是安成功了
密码修改失败请联系微信:mofangbao
发表于 2017-11-8 22:33:21 | 显示全部楼层
楼主问题解决没有,我也是相同的问题。
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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