爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 12164|回复: 7

安装WPS时无法生成3个exe执行文件!!!

[复制链接]
回帖奖励 13 金钱 回复本帖可获得 1 金钱奖励! 每人限 1 次(中奖概率 90%)

新浪微博达人勋

发表于 2014-9-11 20:00:06 | 显示全部楼层 |阅读模式

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

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

x
本帖最后由 月是故乡明 于 2014-9-11 20:03 编辑

如题求助!在32位Linux系统fedora下
PGI
netCDF
WRF
均安装成功,且并未报错,在安装WPS时,连接时选择Linux i486 i586 i686, PGI compiler     (serial_NO_GRIB2)
在编译后却无法产生geogrid metgrid ungrib三个执行文件。已经在网上找各种办法用了四天时间仍没解决,还希望大家能帮忙看一下,下面节选错误如下:(红色字体)


**** Compiling WPS and all utilities ****
make[1]: 进入目录“/home/yixiang/wrf/WPS/geogrid/src”
/bin/rm -f cio.o
pgcc -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32  -D_GEOGRID -O     -c cio.c        
PGC-F-0249-#error --  "Never use <bits/byteswap.h> directly; include <byteswap.h> instead." (/home/yixiang/pgi/linux86/10.2/include/bits/byteswap.h: 21)
PGC/x86 Linux 10.2-1: compilation aborted
make[1]: [cio.o] 错误 2 (忽略)
/bin/rm -f wrf_debug.o wrf_debug.mod
/lib/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32  -D_GEOGRID  -I/home/yixiang/wrf/WPS/../WRFV3/external/io_netcdf -I/home/yixiang/wrf/WPS/../WRFV3/external/io_grib_share -I/home/yixiang/wrf/WPS/../WRFV3/external/io_grib1 -I/home/yixiang/wrf/WPS/../WRFV3/external/io_int -I/home/yixiang/wrf/WPS/../WRFV3/inc -I/home/yixiang/wrf/netcdf/include wrf_debug.F > wrf_debug.f90
pgf90 -Mfree -byteswapio -O -c wrf_debug.f90 -I/home/yixiang/wrf/WPS/../WRFV3/external/io_netcdf -I/home/yixiang/wrf/WPS/../WRFV3/external/io_grib_share -I/home/yixiang/wrf/WPS/../WRFV3/external/io_grib1 -I/home/yixiang/wrf/WPS/../WRFV3/external/io_int -I/home/yixiang/wrf/WPS/../WRFV3/inc -I/home/yixiang/wrf/netcdf/include
/bin/rm -f read_geogrid.o
pgcc -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32  -D_GEOGRID -O     -c read_geogrid.c        
PGC-F-0249-#error --  "Never use <bits/byteswap.h> directly; include <byteswap.h> instead." (/home/yixiang/pgi/linux86/10.2/include/bits/byteswap.h: 21)
PGC/x86 Linux 10.2-1: compilation aborted
make[1]: [read_geogrid.o] 错误 2 (忽略)
pgf90  -o geogrid.exe cio.o wrf_debug.o bitarray_module.o constants_module.o module_stringutil.o geogrid.o gridinfo_module.o hash_module.o interp_module.o list_module.o llxy_module.o misc_definitions_module.o module_debug.o module_map_utils.o output_module.o parallel_module.o process_tile_module.o proc_point_module.o queue_module.o read_geogrid.o smooth_module.o source_data_module.o \
        /home/yixiang/wrf/WPS/../WRFV3/frame/module_driver_constants.o \
        /home/yixiang/wrf/WPS/../WRFV3/frame/pack_utils.o /home/yixiang/wrf/WPS/../WRFV3/frame/module_machine.o \
        /home/yixiang/wrf/WPS/../WRFV3/frame/module_internal_header_util.o \
        -I/home/yixiang/wrf/WPS/../WRFV3/external/io_netcdf -I/home/yixiang/wrf/WPS/../WRFV3/external/io_grib_share -I/home/yixiang/wrf/WPS/../WRFV3/external/io_grib1 -I/home/yixiang/wrf/WPS/../WRFV3/external/io_int -I/home/yixiang/wrf/WPS/../WRFV3/inc -I/home/yixiang/wrf/netcdf/include \
        -L/home/yixiang/wrf/WPS/../WRFV3/external/io_grib1 -lio_grib1 -L/home/yixiang/wrf/WPS/../WRFV3/external/io_grib_share -lio_grib_share -L/home/yixiang/wrf/WPS/../WRFV3/external/io_int -lwrfio_int -L/home/yixiang/wrf/WPS/../WRFV3/external/io_netcdf -lwrfio_nf -L/home/yixiang/wrf/netcdf/lib  -lnetcdf \
        
/usr/bin/ld: cannot find cio.o: No such file or directory
/usr/bin/ld: cannot find read_geogrid.o: No such file or directory
make[1]: [geogrid.exe] 错误 2 (忽略)
make[1]: 离开目录“/home/yixiang/wrf/WPS/geogrid/src”
( cd src/ngl ; make -i -r DEV_TOP="/home/yixiang/wrf/WPS" CC="pgcc" FC="pgf90" RANLIB="echo" all )
make[1]: 进入目录“/home/yixiang/wrf/WPS/ungrib/src/ngl”
( cd w3 ; make -i -r DEV_TOP="/home/yixiang/wrf/WPS" all ; echo libw3.a )
make[2]: 进入目录“/home/yixiang/wrf/WPS/ungrib/src/ngl/w3”
Makefile:44: warning: overriding recipe for target `.f.o'
/home/yixiang/wrf/WPS/configure.wps:102: warning: ignoring old recipe for target `.f.o'
Makefile:48: warning: overriding recipe for target `.c.o'
/home/yixiang/wrf/WPS/configure.wps:98: warning: ignoring old recipe for target `.c.o'
/bin/rm -f bacio.v1.3.o
pgcc -O     -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32  -c bacio.v1.3.c
PGC-F-0249-#error --  "Never use <bits/byteswap.h> directly; include <byteswap.h> instead." (/home/yixiang/pgi/linux86/10.2/include/bits/byteswap.h: 21)
PGC/x86 Linux 10.2-1: compilation aborted
make[2]: [bacio.v1.3.o] 错误 2 (忽略)
/bin/rm -f errexit.o
pgcc -O     -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32  -c errexit.c
PGC-F-0249-#error --  "Never use <bits/byteswap.h> directly; include <byteswap.h> instead." (/home/yixiang/pgi/linux86/10.2/include/bits/byteswap.h: 21)
PGC/x86 Linux 10.2-1: compilation aborted
make[2]: [errexit.o] 错误 2 (忽略)
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: creating libw3.a
ar: bacio.v1.3.o: No such file or directory
make[2]: [libw3.a] 错误 1 (忽略)


/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: creating libpgu.a
ar: cio.o: No such file or directory
make[1]: [libpgu.a] 错误 1 (忽略)
echo libpgu.a
libpgu.a
/bin/rm -f ungrib.exe
if [ -z  ] ; then \
                  pgf90 -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. -lpgu ; \
                        else \
                  pgf90 -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 \
                         \
                        libpgu.a ; \
                        fi
/usr/bin/ld: cannot find debug_cio.o: No such file or directory
/usr/bin/ld: cannot find -lw3
/usr/bin/ld: cannot find -lg2_4
/usr/bin/ld: cannot find -lpgu
make[1]: [ungrib.exe] 错误 2 (忽略)
make[1]: 离开目录“/home/yixiang/wrf/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
make[1]: 进入目录“/home/yixiang/wrf/WPS/metgrid/src”
/bin/rm -f cio.o
pgcc -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32  -D_METGRID -O     -c cio.c        
PGC-F-0249-#error --  "Never use <bits/byteswap.h> directly; include <byteswap.h> instead." (/home/yixiang/pgi/linux86/10.2/include/bits/byteswap.h: 21)
PGC/x86 Linux 10.2-1: compilation aborted
make[1]: [cio.o] 错误 2 (忽略)
/bin/rm -f wrf_debug.o wrf_debug.mod
/lib/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32  -D_METGRID  -I/home/yixiang/wrf/WPS/../WRFV3/external/io_netcdf -I/home/yixiang/wrf/WPS/../WRFV3/external/io_grib_share -I/home/yixiang/wrf/WPS/../WRFV3/external/io_grib1 -I/home/yixiang/wrf/WPS/../WRFV3/external/io_int -I/home/yixiang/wrf/WPS/../WRFV3/inc -I/home/yixiang/wrf/netcdf/include wrf_debug.F > wrf_debug.f90
pgf90 -Mfree -byteswapio -O -c wrf_debug.f90 -I/home/yixiang/wrf/WPS/../WRFV3/external/io_netcdf -I/home/yixiang/wrf/WPS/../WRFV3/external/io_grib_share -I/home/yixiang/wrf/WPS/../WRFV3/external/io_grib1 -I/home/yixiang/wrf/WPS/../WRFV3/external/io_int -I/home/yixiang/wrf/WPS/../WRFV3/inc -I/home/yixiang/wrf/netcdf/include
pgf90  -o metgrid.exe cio.o wrf_debug.o bitarray_module.o constants_module.o datatype_module.o module_stringutil.o gridinfo_module.o metgrid.o input_module.o interp_module.o interp_option_module.o list_module.o llxy_module.o met_data_module.o minheap_module.o misc_definitions_module.o module_date_pack.o module_debug.o module_map_utils.o module_mergesort.o output_module.o parallel_module.o process_domain_module.o queue_module.o read_met_module.o rotate_winds_module.o storage_module.o write_met_module.o \
                /home/yixiang/wrf/WPS/../WRFV3/frame/module_driver_constants.o \
        /home/yixiang/wrf/WPS/../WRFV3/frame/pack_utils.o /home/yixiang/wrf/WPS/../WRFV3/frame/module_machine.o \
        /home/yixiang/wrf/WPS/../WRFV3/frame/module_internal_header_util.o \
                -I/home/yixiang/wrf/WPS/../WRFV3/external/io_netcdf -I/home/yixiang/wrf/WPS/../WRFV3/external/io_grib_share -I/home/yixiang/wrf/WPS/../WRFV3/external/io_grib1 -I/home/yixiang/wrf/WPS/../WRFV3/external/io_int -I/home/yixiang/wrf/WPS/../WRFV3/inc -I/home/yixiang/wrf/netcdf/include \
                -L/home/yixiang/wrf/WPS/../WRFV3/external/io_grib1 -lio_grib1 -L/home/yixiang/wrf/WPS/../WRFV3/external/io_grib_share -lio_grib_share -L/home/yixiang/wrf/WPS/../WRFV3/external/io_int -lwrfio_int -L/home/yixiang/wrf/WPS/../WRFV3/external/io_netcdf -lwrfio_nf -L/home/yixiang/wrf/netcdf/lib  -lnetcdf \

/usr/bin/ld: cannot find cio.o: No such file or directory
make[1]: [metgrid.exe] 错误 2 (忽略)
make[1]: 离开目录“/home/yixiang/wrf/WPS/metgrid/src”
( cd src/ngl ; make -i -r DEV_TOP="/home/yixiang/wrf/WPS" CC="pgcc" FC="pgf90" RANLIB="echo" all )
make[1]: 进入目录“/home/yixiang/wrf/WPS/ungrib/src/ngl”
( cd w3 ; make -i -r DEV_TOP="/home/yixiang/wrf/WPS" all ; echo libw3.a )
make[2]: 进入目录“/home/yixiang/wrf/WPS/ungrib/src/ngl/w3”
Makefile:44: warning: overriding recipe for target `.f.o'
/home/yixiang/wrf/WPS/configure.wps:102: warning: ignoring old recipe for target `.f.o'
Makefile:48: warning: overriding recipe for target `.c.o'
/home/yixiang/wrf/WPS/configure.wps:98: warning: ignoring old recipe for target `.c.o'
/bin/rm -f bacio.v1.3.o
pgcc -O     -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32  -c bacio.v1.3.c
PGC-F-0249-#error --  "Never use <bits/byteswap.h> directly; include <byteswap.h> instead." (/home/yixiang/pgi/linux86/10.2/include/bits/byteswap.h: 21)
PGC/x86 Linux 10.2-1: compilation aborted
make[2]: [bacio.v1.3.o] 错误 2 (忽略)
/bin/rm -f errexit.o
pgcc -O     -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32  -c errexit.c
PGC-F-0249-#error --  "Never use <bits/byteswap.h> directly; include <byteswap.h> instead." (/home/yixiang/pgi/linux86/10.2/include/bits/byteswap.h: 21)
PGC/x86 Linux 10.2-1: compilation aborted
make[2]: [errexit.o] 错误 2 (忽略)


pgcc -c -O     -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32    -D__64BIT__ enc_png.c
PGC-F-0249-#error --  "Never use <bits/byteswap.h> directly; include <byteswap.h> instead." (/home/yixiang/pgi/linux86/10.2/include/bits/byteswap.h: 21)
PGC/x86 Linux 10.2-1: compilation aborted
make[2]: [enc_png.o] 错误 2 (忽略)
pgcc -c -O     -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32    -D__64BIT__ dec_png.c
PGC-F-0249-#error --  "Never use <bits/byteswap.h> directly; include <byteswap.h> instead." (/home/yixiang/pgi/linux86/10.2/include/bits/byteswap.h: 21)
PGC/x86 Linux 10.2-1: compilation aborted
make[2]: [dec_png.o] 错误 2 (忽略)
/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: creating libg2_4.a
ar: enc_jpeg2000.o: No such file or directory
make[2]: [libg2_4.a] 错误 1 (忽略)
echo libg2_4.a
libg2_4.a
make[2]: 离开目录“/home/yixiang/wrf/WPS/ungrib/src/ngl/g2”
libg2_4.a
ln -sf g2/libg2_4.a .
make[1]: 离开目录“/home/yixiang/wrf/WPS/ungrib/src/ngl”
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/yixiang/wrf/WPS/../WRFV3 ; \
        fi ; \
make -i -r g1print.exe \
        WRF_DIR="$WRF_DIR2" \
        FC="pgf90" \
        CC="pgcc" \
        CPP="/lib/cpp -P -traditional" \
        FFLAGS="-Mfree -byteswapio -O" \
        CFLAGS="-O    " \
        LDFLAGS="" \
        CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32  -D_GRIBUTIL" )
make[1]: 进入目录“/home/yixiang/wrf/WPS/ungrib/src”
Makefile:90: warning: overriding recipe for target `.F.o'
../../configure.wps:106: warning: ignoring old recipe for target `.F.o'
Makefile:95: warning: overriding recipe for target `.c.o'
../../configure.wps:98: warning: ignoring old recipe for target `.c.o'
/bin/rm -f debug_cio.o
pgcc -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32  -D_GRIBUTIL -O     -c debug_cio.c
PGC-F-0249-#error --  "Never use <bits/byteswap.h> directly; include <byteswap.h> instead." (/home/yixiang/pgi/linux86/10.2/include/bits/byteswap.h: 21)
PGC/x86 Linux 10.2-1: compilation aborted
make[1]: [debug_cio.o] 错误 2 (忽略)
/lib/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32  -D_GRIBUTIL  module_debug.F > module_debug.f90
pgf90 -c -Mfree -byteswapio -O module_debug.f90
/lib/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32  -D_GRIBUTIL  gribcode.F > gribcode.f90
pgf90 -c -Mfree -byteswapio -O gribcode.f90
/lib/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32  -D_GRIBUTIL  parse_table.F > parse_table.f90
pgf90 -c -Mfree -byteswapio -O parse_table.f90
/lib/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32  -D_GRIBUTIL  read_namelist.F > read_namelist.f90
pgf90 -c -Mfree -byteswapio -O read_namelist.f90
/bin/rm -f cio.o
pgcc -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32  -D_GRIBUTIL -O     -c cio.c
PGC-F-0249-#error --  "Never use <bits/byteswap.h> directly; include <byteswap.h> instead." (/home/yixiang/pgi/linux86/10.2/include/bits/byteswap.h: 21)
PGC/x86 Linux 10.2-1: compilation aborted
make[1]: [cio.o] 错误 2 (忽略)
/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: creating libpgu.a
ar: cio.o: No such file or directory
make[1]: [libpgu.a] 错误 1 (忽略)


make[1]: [g1print.exe] 错误 2 (忽略)


/usr/bin/ld: cannot find cio.o: No such file or directory
make[1]: [rd_intermediate.exe] 错误 2 (忽略)
make[1]: 离开目录“/home/yixiang/wrf/WPS/util/src”


/usr/bin/ld: cannot find cio.o: No such file or directory
make[1]: [calc_ecmwf_p.exe] 错误 2 (忽略)
make[1]: 离开目录“/home/yixiang/wrf/WPS/util/src”


make[1]: 进入目录“/home/yixiang/wrf/WPS/util/src”
/bin/rm -f cio.o
pgcc -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32  -D_UTIL -O     -c cio.c        
PGC-F-0249-#error --  "Never use <bits/byteswap.h> directly; include <byteswap.h> instead." (/home/yixiang/pgi/linux86/10.2/include/bits/byteswap.h: 21)
PGC/x86 Linux 10.2-1: compilation aborted
make[1]: [cio.o] 错误 2 (忽略)
/usr/bin/ld: cannot find cio.o: No such file or directory
make[1]: [height_ukmo.exe] 错误 2 (忽略)
make[1]: 离开目录“/home/yixiang/wrf/WPS/util/src”
PGC/x86 Linux 10.2-1: compilation aborted
make[1]: [cio.o] 错误 2 (忽略)
/usr/bin/ld: cannot find cio.o: No such file or directory
make[1]: [int2nc.exe] 错误 2 (忽略)
make[1]: 离开目录“/home/yixiang/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


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

新浪微博达人勋

发表于 2014-9-11 20:25:54 | 显示全部楼层

回帖奖励 +1 金钱

看着错误不少,你能不能重新安装PGI呢~~~
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-9-11 20:29:10 | 显示全部楼层

回帖奖励 +1 金钱

"Never use <bits/byteswap.h> directly; include <byteswap.h> instead."
问题可能出在这里,就用上面这句话去百度,很容易找到!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-9-11 21:48:20 | 显示全部楼层
andrewsoong 发表于 2014-9-11 20:25
看着错误不少,你能不能重新安装PGI呢~~~

又从头装了两遍,终于好了。。。也不知道什么原因,谢谢你!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-9-11 21:48:33 | 显示全部楼层
longlivehj 发表于 2014-9-11 20:29
"Never use  directly; include  instead."
问题可能出在这里,就用上面这句话去百度,很容易找到!

又从头装了两遍,终于好了。。。谢谢你!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-5-31 13:29:16 | 显示全部楼层

回帖奖励 +1 金钱

longlivehj 发表于 2014-9-11 20:29
"Never use  directly; include  instead."
问题可能出在这里,就用上面这句话去百度,很容易找到!

大神帮忙看看这个是什么情况啊,wps最后编译少了一个metgrid.exe




Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.1.106 Build 20131008
Copyright (C) 1985-2013 Intel Corporation.  All rights reserved.

Makefile:44: warning: overriding recipe for target `.f.o'
/home/WPS/configure.wps:101: warning: ignoring old recipe for target `.f.o'
Makefile:48: warning: overriding recipe for target `.c.o'
/home/WPS/configure.wps:97: warning: ignoring old recipe for target `.c.o'
ar: 正在创建 libw3.a
Makefile:67: warning: overriding recipe for target `.F.o'
/home/WPS/configure.wps:105: warning: ignoring old recipe for target `.F.o'
Makefile:72: warning: overriding recipe for target `.f.o'
/home/WPS/configure.wps:101: warning: ignoring old recipe for target `.f.o'
Makefile:75: warning: overriding recipe for target `.c.o'
/home/WPS/configure.wps:97: warning: ignoring old recipe for target `.c.o'
ar: 正在创建 libg2_4.a
Makefile:90: warning: overriding recipe for target `.F.o'
../../configure.wps:105: warning: ignoring old recipe for target `.F.o'
Makefile:95: warning: overriding recipe for target `.c.o'
../../configure.wps:97: warning: ignoring old recipe for target `.c.o'
ar: 正在创建 libpgu.a
/usr/local/jasper/lib/libjasper.a(jas_stream.o):在函数‘jas_stream_tmpfile’中:
jas_stream.c:(.text+0x65c): 警告:the use of `tmpnam' is dangerous, better use `mkstemp'
scan_input.f90(14): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [NETCDF]
    use netcdf
--------^
scan_input.f90(74): error #6404: This name does not have a type, and must have an explicit type.   [NF90_NOWRITE]
        stat = nf90_open(trim(filename), NF90_NOWRITE, handle % ncid)
-----------------------------------------^
scan_input.f90(74): error #6404: This name does not have a type, and must have an explicit type.   [NF90_OPEN]
        stat = nf90_open(trim(filename), NF90_NOWRITE, handle % ncid)
---------------^
scan_input.f90(75): error #6404: This name does not have a type, and must have an explicit type.   [NF90_NOERR]
        if (stat /= NF90_NOERR) then
--------------------^
scan_input.f90(80): error #6632: Keyword arguments are invalid without an explicit interface.   [NVARIABLES]
        stat = nf90_inquire(handle % ncid, nVariables=handle % num_vars)
-------------------------------------------^
scan_input.f90(80): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INQUIRE]
        stat = nf90_inquire(handle % ncid, nVariables=handle % num_vars)
---------------^
scan_input.f90(97): error #6632: Keyword arguments are invalid without an explicit interface.   [UNLIMITEDDIMID]
        stat = nf90_inquire(handle % ncid, unlimitedDimId=handle % unlimited_dimid)
-------------------------------------------^
scan_input.f90(104): error #6632: Keyword arguments are invalid without an explicit interface.   [LEN]
            stat = nf90_inquire_dimension(handle % ncid, handle % unlimited_dimid, len=nRecords)
-----------------------------------------------------------------------------------^
scan_input.f90(104): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INQUIRE_DIMENSION]
            stat = nf90_inquire_dimension(handle % ncid, handle % unlimited_dimid, len=nRecords)
-------------------^
scan_input.f90(132): error #6404: This name does not have a type, and must have an explicit type.   [NF90_CLOSE]
        stat = nf90_close(handle % ncid)
---------------^
scan_input.f90(178): error #6632: Keyword arguments are invalid without an explicit interface.   [NAME]
                                     name=field % name, &
-------------------------------------^
scan_input.f90(179): error #6632: Keyword arguments are invalid without an explicit interface.   [XTYPE]
                                     xtype=field % xtype, &
-------------------------------------^
scan_input.f90(180): error #6632: Keyword arguments are invalid without an explicit interface.   [NDIMS]
                                     ndims=field % ndims)
-------------------------------------^
scan_input.f90(177): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INQUIRE_VARIABLE]
        stat = nf90_inquire_variable(handle % ncid, field % varid, &
---------------^
scan_input.f90(186): error #6404: This name does not have a type, and must have an explicit type.   [NF90_FLOAT]
        if (field % xtype == NF90_FLOAT) then
-----------------------------^
scan_input.f90(188): error #6404: This name does not have a type, and must have an explicit type.   [NF90_DOUBLE]
        else if (field % xtype == NF90_DOUBLE) then
----------------------------------^
scan_input.f90(190): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INT]
        else if (field % xtype == NF90_INT) then
----------------------------------^
scan_input.f90(192): error #6404: This name does not have a type, and must have an explicit type.   [NF90_CHAR]
        else if (field % xtype == NF90_CHAR) then
----------------------------------^
scan_input.f90(201): error #6632: Keyword arguments are invalid without an explicit interface.   [DIMIDS]
                                     dimids=field % dimids)
-------------------------------------^
scan_input.f90(213): error #6632: Keyword arguments are invalid without an explicit interface.   [NAME]
                                          name=field % dimnames(idim), &
------------------------------------------^
scan_input.f90(214): error #6632: Keyword arguments are invalid without an explicit interface.   [LEN]
                                          len=field % dimlens(idim))
------------------------------------------^
scan_input.f90(212): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INQUIRE_DIMENSION]
            stat = nf90_inquire_dimension(handle % ncid, field % dimids(idim), &
-------------------^
scan_input.f90(239): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INQ_VARID]
        stat = nf90_inq_varid(handle % ncid, trim(fieldname), field % varid)
---------------^
scan_input.f90(246): error #6632: Keyword arguments are invalid without an explicit interface.   [NAME]
                                     name=field % name, &
-------------------------------------^
scan_input.f90(247): error #6632: Keyword arguments are invalid without an explicit interface.   [XTYPE]
                                     xtype=field % xtype, &
-------------------------------------^
scan_input.f90(248): error #6632: Keyword arguments are invalid without an explicit interface.   [NDIMS]
                                     ndims=field % ndims)
-------------------------------------^
scan_input.f90(245): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INQUIRE_VARIABLE]
        stat = nf90_inquire_variable(handle % ncid, field % varid, &
---------------^
scan_input.f90(269): error #6632: Keyword arguments are invalid without an explicit interface.   [DIMIDS]
                                     dimids=field % dimids)
-------------------------------------^
scan_input.f90(281): error #6632: Keyword arguments are invalid without an explicit interface.   [NAME]
                                          name=field % dimnames(idim), &
------------------------------------------^
scan_input.f90(282): error #6632: Keyword arguments are invalid without an explicit interface.   [LEN]
                                          len=field % dimlens(idim))
------------------------------------------^
scan_input.f90(608): catastrophic error: Too many errors, exiting
compilation aborted for scan_input.f90 (code 1)
make[1]: [scan_input.o] 错误 1 (忽略)
mpas_mesh.f90(14): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [SCAN_INPUT]
    use scan_input
--------^
mpas_mesh.f90(48): error #6457: This derived type name has not been declared.   [INPUT_HANDLE_TYPE]
        type (input_handle_type) :: handle
--------------^
mpas_mesh.f90(49): error #6457: This derived type name has not been declared.   [INPUT_FIELD_TYPE]
        type (input_field_type) :: field
--------------^
mpas_mesh.f90(53): error #6404: This name does not have a type, and must have an explicit type.   [HANDLE]
        if (scan_input_open(mesh_filename, handle) /= 0) then
-------------------------------------------^
mpas_mesh.f90(53): error #6404: This name does not have a type, and must have an explicit type.   [SCAN_INPUT_OPEN]
        if (scan_input_open(mesh_filename, handle) /= 0) then
------------^
mpas_mesh.f90(61): error #6404: This name does not have a type, and must have an explicit type.   [FIELD]
        if (scan_input_for_field(handle, 'nEdgesOnCell', field) /= 0) then
---------------------------------------------------------^
mpas_mesh.f90(61): error #6404: This name does not have a type, and must have an explicit type.   [SCAN_INPUT_FOR_FIELD]
        if (scan_input_for_field(handle, 'nEdgesOnCell', field) /= 0) then
------------^
mpas_mesh.f90(66): error #6460: This is not a field name that is defined in the encompassing structure.   [DIMLENS]
        mesh % nCells = field % dimlens(1)
--------------------------------^
mpas_mesh.f90(70): error #6404: This name does not have a type, and must have an explicit type.   [SCAN_INPUT_READ_FIELD]
        stat = scan_input_read_field(field)
---------------^
mpas_mesh.f90(72): error #6460: This is not a field name that is defined in the encompassing structure.   [ARRAY1I]
        mesh % nEdgesOnCell(:) = field % array1i(:)
-----------------------------------------^
mpas_mesh.f90(73): error #6404: This name does not have a type, and must have an explicit type.   [SCAN_INPUT_FREE_FIELD]
        stat = scan_input_free_field(field)
---------------^
mpas_mesh.f90(81): error #6514: A substring must be of type CHARACTER.   [ARRAY1I]
            mesh % landmask(:) = field % array1i(:)
-----------------------------------------^
mpas_mesh.f90(81): error #6303: The assignment operation or the binary expression operation is invalid for the data types of the two operands.   [ARRAY1I]
            mesh % landmask(:) = field % array1i(:)
-----------------------------------------^
mpas_mesh.f90(100): error #6460: This is not a field name that is defined in the encompassing structure.   [ARRAY2I]
        mesh % cellsOnCell(:,:) = field % array2i(:,:)
------------------------------------------^
mpas_mesh.f90(113): error #6911: The syntax of this substring is invalid.   [ARRAY2I]
        mesh % verticesOnCell(:,:) = field % array2i(:,:)
---------------------------------------------^
compilation aborted for mpas_mesh.f90 (code 1)
make[1]: [mpas_mesh.o] 错误 1 (忽略)
remapper.f90(14): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MPAS_MESH]
    use mpas_mesh
--------^
remapper.f90(15): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [SCAN_INPUT]
    use scan_input, only : input_field_type, FIELD_TYPE_REAL, FIELD_TYPE_DOUBLE, FIELD_TYPE_INTEGER
--------^
remapper.f90(98): error #6457: This derived type name has not been declared.   [MPAS_MESH_TYPE]
        type (mpas_mesh_type), intent(in), target :: src_mesh
--------------^
remapper.f90(354): error #6406: Conflicting attributes or multiple declaration of name.   [INPUT_FIELD_TYPE]
        type (input_field_type), intent(in) :: field
--------------^
remapper.f90(395): error #6406: Conflicting attributes or multiple declaration of name.   [INPUT_FIELD_TYPE]
        type (input_field_type), intent(in) :: src_field
--------------^
remapper.f90(433): error #6406: Conflicting attributes or multiple declaration of name.   [INPUT_FIELD_TYPE]
        type (input_field_type), intent(in) :: src_field
--------------^
remapper.f90(15): error #6580: Name in only-list does not exist.   [INPUT_FIELD_TYPE]
    use scan_input, only : input_field_type, FIELD_TYPE_REAL, FIELD_TYPE_DOUBLE, FIELD_TYPE_INTEGER
---------------------------^
remapper.f90(15): error #6580: Name in only-list does not exist.   [FIELD_TYPE_REAL]
    use scan_input, only : input_field_type, FIELD_TYPE_REAL, FIELD_TYPE_DOUBLE, FIELD_TYPE_INTEGER
---------------------------------------------^
remapper.f90(15): error #6580: Name in only-list does not exist.   [FIELD_TYPE_DOUBLE]
    use scan_input, only : input_field_type, FIELD_TYPE_REAL, FIELD_TYPE_DOUBLE, FIELD_TYPE_INTEGER
--------------------------------------------------------------^
remapper.f90(15): error #6580: Name in only-list does not exist.   [FIELD_TYPE_INTEGER]
    use scan_input, only : input_field_type, FIELD_TYPE_REAL, FIELD_TYPE_DOUBLE, FIELD_TYPE_INTEGER
---------------------------------------------------------------------------------^
remapper.f90(32): error #6457: This derived type name has not been declared.   [MPAS_MESH_TYPE]
        type (mpas_mesh_type), pointer :: src_mesh
--------------^
remapper.f90(114): error #6404: This name does not have a type, and must have an explicit type.   [SRC_MESH]
        remap_info % src_mesh => src_mesh
---------------------------------^
remapper.f90(114): error #6796: The variable must have the TARGET attribute or be a subobject of an object with the TARGET attribute, or it must have the POINTER attribute.   [SRC_MESH]
        remap_info % src_mesh => src_mesh
---------------------------------^
remapper.f90(130): error #6460: This is not a field name that is defined in the encompassing structure.   [NCELLS]
                               src_mesh % nCells, src_mesh % maxEdges, &
------------------------------------------^
remapper.f90(130): error #6460: This is not a field name that is defined in the encompassing structure.   [MAXEDGES]
                               src_mesh % nCells, src_mesh % maxEdges, &
-------------------------------------------------------------^
remapper.f90(131): error #6460: This is not a field name that is defined in the encompassing structure.   [NEDGESONCELL]
                               src_mesh % nEdgesOnCell, src_mesh % cellsOnCell, src_mesh % latCell, src_mesh % lonCell)
------------------------------------------^
remapper.f90(131): error #6460: This is not a field name that is defined in the encompassing structure.   [CELLSONCELL]
                               src_mesh % nEdgesOnCell, src_mesh % cellsOnCell, src_mesh % latCell, src_mesh % lonCell)
-------------------------------------------------------------------^
remapper.f90(131): error #6460: This is not a field name that is defined in the encompassing structure.   [LATCELL]
                               src_mesh % nEdgesOnCell, src_mesh % cellsOnCell, src_mesh % latCell, src_mesh % lonCell)
-------------------------------------------------------------------------------------------^
remapper.f90(131): error #6460: This is not a field name that is defined in the encompassing structure.   [LONCELL]
                               src_mesh % nEdgesOnCell, src_mesh % cellsOnCell, src_mesh % latCell, src_mesh % lonCell)
---------------------------------------------------------------------------------------------------------------^
remapper.f90(129): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic.   [NEDGESONCELL]
            idx = nearest_cell(dst_mesh % lats(index2d(irank,ix),iy), dst_mesh % lons(ix,index2d(irank,iy)), idx, &
------------------^
remapper.f90(129): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic.   [CELLSONCELL]
            idx = nearest_cell(dst_mesh % lats(index2d(irank,ix),iy), dst_mesh % lons(ix,index2d(irank,iy)), idx, &
------------------^
remapper.f90(129): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic.   [LATCELL]
            idx = nearest_cell(dst_mesh % lats(index2d(irank,ix),iy), dst_mesh % lons(ix,index2d(irank,iy)), idx, &
------------------^
remapper.f90(129): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic.   [LONCELL]
            idx = nearest_cell(dst_mesh % lats(index2d(irank,ix),iy), dst_mesh % lons(ix,index2d(irank,iy)), idx, &
------------------^
remapper.f90(140): error #6460: This is not a field name that is defined in the encompassing structure.   [NVERTICES]
                                 src_mesh % nCells, src_mesh % nVertices, src_mesh % maxEdges, 3, &
---------------------------------------------------------------^
remapper.f90(141): error #6460: This is not a field name that is defined in the encompassing structure.   [VERTICESONCELL]
                                 src_mesh % nEdgesOnCell, src_mesh % verticesOnCell, &
---------------------------------------------------------------------^
remapper.f90(142): error #6460: This is not a field name that is defined in the encompassing structure.   [CELLSONVERTEX]
                                 src_mesh % cellsOnVertex, src_mesh % latCell, src_mesh % lonCell, &
--------------------------------------------^
remapper.f90(143): error #6460: This is not a field name that is defined in the encompassing structure.   [LATVERTEX]
                                 src_mesh % latVertex, src_mesh % lonVertex )
--------------------------------------------^
remapper.f90(143): error #6460: This is not a field name that is defined in the encompassing structure.   [LONVERTEX]
                                 src_mesh % latVertex, src_mesh % lonVertex )
------------------------------------------------------------------^
remapper.f90(139): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic.   [NEDGESONCELL]
            idx = nearest_vertex(dst_mesh % lats(index2d(irank,ix),iy), dst_mesh % lons(ix,index2d(irank,iy)), idx, &
------------------^
remapper.f90(139): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic.   [VERTICESONCELL]
            idx = nearest_vertex(dst_mesh % lats(index2d(irank,ix),iy), dst_mesh % lons(ix,index2d(irank,iy)), idx, &
------------------^
remapper.f90(1309): catastrophic error: Too many errors, exiting
compilation aborted for remapper.f90 (code 1)
make[1]: [remapper.o] 错误 1 (忽略)
process_domain_module.f90(14): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MPAS_MESH]
   use mpas_mesh
-------^
process_domain_module.f90(16): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [REMAPPER]
   use remapper
-------^
process_domain_module.f90(18): error #6457: This derived type name has not been declared.   [MPAS_MESH_TYPE]
   type (mpas_mesh_type), save :: mpas_source_mesh
---------^
process_domain_module.f90(20): error #6457: This derived type name has not been declared.   [REMAP_INFO_TYPE]
   type (remap_info_type), save :: remap_info_m, remap_info_u, remap_info_v
---------^
process_domain_module.f90(1492): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [SCAN_INPUT]
      use scan_input
----------^
process_domain_module.f90(1493): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MPAS_MESH]
      use mpas_mesh
----------^
process_domain_module.f90(1526): error #6457: This derived type name has not been declared.   [INPUT_HANDLE_TYPE]
      type (input_handle_type) :: mpas_handle
------------^
process_domain_module.f90(1527): error #6457: This derived type name has not been declared.   [INPUT_FIELD_TYPE]
      type (input_field_type) :: mpas_field
------------^
process_domain_module.f90(1528): error #6457: This derived type name has not been declared.   [TARGET_FIELD_TYPE]
      type (target_field_type) :: wrf_field
------------^
process_domain_module.f90(1982): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [SCAN_INPUT]
      use scan_input
----------^
process_domain_module.f90(1983): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MPAS_MESH]
      use mpas_mesh
----------^
process_domain_module.f90(207): error #6404: This name does not have a type, and must have an explicit type.   [MPAS_SOURCE_MESH]
      istatus = mpas_mesh_free(mpas_source_mesh)
-------------------------------^
process_domain_module.f90(207): error #6404: This name does not have a type, and must have an explicit type.   [MPAS_MESH_FREE]
      istatus = mpas_mesh_free(mpas_source_mesh)
----------------^
process_domain_module.f90(219): error #6404: This name does not have a type, and must have an explicit type.   [REMAP_INFO_M]
      istatus = remap_info_free(remap_info_m)
--------------------------------^
process_domain_module.f90(219): error #6404: This name does not have a type, and must have an explicit type.   [REMAP_INFO_FREE]
      istatus = remap_info_free(remap_info_m)
----------------^
process_domain_module.f90(220): error #6404: This name does not have a type, and must have an explicit type.   [REMAP_INFO_U]
      istatus = remap_info_free(remap_info_u)
--------------------------------^
process_domain_module.f90(221): error #6404: This name does not have a type, and must have an explicit type.   [REMAP_INFO_V]
      istatus = remap_info_free(remap_info_v)
--------------------------------^
process_domain_module.f90(1542): error #6460: This is not a field name that is defined in the encompassing structure.   [VALID]
      if (.not. mpas_source_mesh % valid) then
-----------------------------------^
process_domain_module.f90(1543): error #6404: This name does not have a type, and must have an explicit type.   [MPAS_MESH_SETUP]
         if (mpas_mesh_setup(mpas_filename, mpas_source_mesh) /= 0) then
-------------^
process_domain_module.f90(1562): error #6404: This name does not have a type, and must have an explicit type.   [REMAP_INFO_SETUP]
         if (remap_info_setup(mpas_source_mesh, wrf_target_mesh_m, remap_info_m) /= 0) then
-------------^
process_domain_module.f90(1606): error #6404: This name does not have a type, and must have an explicit type.   [MPAS_HANDLE]
      if (scan_input_open(mpas_filename, mpas_handle, nRecords) /= 0) then
-----------------------------------------^
process_domain_module.f90(1606): error #6404: This name does not have a type, and must have an explicit type.   [SCAN_INPUT_OPEN]
      if (scan_input_open(mpas_filename, mpas_handle, nRecords) /= 0) then
----------^
process_domain_module.f90(1648): error #6404: This name does not have a type, and must have an explicit type.   [MPAS_FIELD]
      do while (scan_input_next_field(mpas_handle, mpas_field) == 0)
---------------------------------------------------^
process_domain_module.f90(1648): error #6404: This name does not have a type, and must have an explicit type.   [SCAN_INPUT_NEXT_FIELD]
      do while (scan_input_next_field(mpas_handle, mpas_field) == 0)
----------------^
process_domain_module.f90(1650): error #6404: This name does not have a type, and must have an explicit type.   [CAN_REMAP_FIELD]
         if (can_remap_field(mpas_field)) then
-------------^
process_domain_module.f90(1650): error #6341: A logical data type is required in this context.   [CAN_REMAP_FIELD]
         if (can_remap_field(mpas_field)) then
-------------^
process_domain_module.f90(1655): error #6460: This is not a field name that is defined in the encompassing structure.   [NAME]
            if (trim(mpas_field % name) == 'u10') then
----------------------------------^
process_domain_module.f90(1655): error #6362: The data types of the argument(s) are invalid.   [TRIM]
            if (trim(mpas_field % name) == 'u10') then
---------------------^
process_domain_module.f90(1657): error #6362: The data types of the argument(s) are invalid.   [TRIM]
            else if (trim(mpas_field % name) == 'v10') then
--------------------------^
process_domain_module.f90(1659): error #6362: The data types of the argument(s) are invalid.   [TRIM]
            else if (trim(mpas_field % name) == 'q2') then
--------------------------^
process_domain_module.f90(3731): catastrophic error: Too many errors, exiting
compilation aborted for process_domain_module.f90 (code 1)
make[1]: [process_domain_module.o] 错误 1 (忽略)
metgrid.f90(23): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [PROCESS_DOMAIN_MODULE]
   use process_domain_module
-------^
compilation aborted for metgrid.f90 (code 1)
make[1]: [metgrid.o] 错误 1 (忽略)
ifort: error #10236: File not found:  'metgrid.o'
ifort: error #10236: File not found:  'process_domain_module.o'
ifort: error #10236: File not found:  'scan_input.o'
ifort: error #10236: File not found:  'mpas_mesh.o'
ifort: error #10236: File not found:  'remapper.o'
make[1]: [metgrid.exe] 错误 1 (忽略)
Makefile:90: warning: overriding recipe for target `.F.o'
../../configure.wps:105: warning: ignoring old recipe for target `.F.o'
Makefile:95: warning: overriding recipe for target `.c.o'
../../configure.wps:97: warning: ignoring old recipe for target `.c.o'
Makefile:90: warning: overriding recipe for target `.F.o'
../../configure.wps:105: warning: ignoring old recipe for target `.F.o'
Makefile:95: warning: overriding recipe for target `.c.o'
../../configure.wps:97: warning: ignoring old recipe for target `.c.o'
/usr/local/jasper/lib/libjasper.a(jas_stream.o):在函数‘jas_stream_tmpfile’中:
jas_stream.c:(.text+0x65c): 警告:the use of `tmpnam' is dangerous, better use `mkstemp'
calc_ecmwf_p.f90(66): remark #8290: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+3'.
         write(6,'(i5,5x,f12.6,2x,f12.10)') nlvl, a(i), b(i)
-----------------------------------^
int2nc.f90(21): error #5102: Cannot open include file 'netcdf.inc'
  include "netcdf.inc"
----------^
int2nc.f90(79): error #6404: This name does not have a type, and must have an explicit type.   [NF_CREATE]
   call check(nf_create(trim(nfile),nf_clobber,ncid))
--------------^
int2nc.f90(93): error #6404: This name does not have a type, and must have an explicit type.   [NF_DEF_DIM]
               call check(nf_def_dim(ncid,dname(i),dval(i),i))
--------------------------^
int2nc.f90(114): error #6404: This name does not have a type, and must have an explicit type.   [NF_CLOSE]
   call check(nf_close(ncid))
--------------^
int2nc.f90(117): error #6404: This name does not have a type, and must have an explicit type.   [NF_OPEN]
   call check(nf_open(trim(nfile),nf_write,ncid))
--------------^
int2nc.f90(205): error #6404: This name does not have a type, and must have an explicit type.   [NF_REDEF]
         call check(nf_redef(ncid))
--------------------^
int2nc.f90(206): error #6404: This name does not have a type, and must have an explicit type.   [NF_DEF_VAR]
         call check(nf_def_var(ncid,name,NF_REAL,NDIMS,dimids,varid))
--------------------^
int2nc.f90(207): error #6404: This name does not have a type, and must have an explicit type.   [NF_PUT_ATT_TEXT]
         call check(nf_put_att_text(ncid,varid,DATEV,132,date))
--------------------^
int2nc.f90(208): error #6404: This name does not have a type, and must have an explicit type.   [NF_PUT_ATT_REAL]
         call check(nf_put_att_real(ncid,varid,FCSTV,nf_float,1,fcst))
--------------------^
int2nc.f90(213): error #6404: This name does not have a type, and must have an explicit type.   [NF_PUT_ATT_INT]
         call check(nf_put_att_int (ncid,varid,LEVELV,nf_int,1,ablevel))
--------------------^
int2nc.f90(268): error #6404: This name does not have a type, and must have an explicit type.   [NF_ENDDEF]
         call check(nf_enddef(ncid))
--------------------^
int2nc.f90(269): error #6404: This name does not have a type, and must have an explicit type.   [NF_PUT_VAR_REAL]
         call check(nf_put_var_real(ncid,varid,data))
--------------------^
int2nc.f90(287): error #6404: This name does not have a type, and must have an explicit type.   [NF_NOERR]
    if(status /= nf_noerr) then
-----------------^
int2nc.f90(288): error #6404: This name does not have a type, and must have an explicit type.   [NF_STRERROR]
      print *, trim(nf_strerror(status))
--------------------^
int2nc.f90(288): error #6362: The data types of the argument(s) are invalid.   [TRIM]
      print *, trim(nf_strerror(status))
--------------------^
compilation aborted for int2nc.f90 (code 1)
make[1]: [int2nc.o] 错误 1 (忽略)
ifort: error #10236: File not found:  'int2nc.o'
make[1]: [int2nc.exe] 错误 1 (忽略)
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2021-12-28 16:30:51 | 显示全部楼层

回帖奖励 +1 金钱

菜鸟一只 发表于 2018-5-31 13:29
大神帮忙看看这个是什么情况啊,wps最后编译少了一个metgrid.exe

大佬,请问您如何解决这个问题呀
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2024-8-7 19:46:18 | 显示全部楼层

回帖奖励 +1 金钱

菜鸟一只 发表于 2018-5-31 13:29
大神帮忙看看这个是什么情况啊,wps最后编译少了一个metgrid.exe

你好,请问怎么解决的呀
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

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