爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 13639|回复: 6

WPS安装时没有ungrib.exe 怎么办?

[复制链接]
发表于 2012-6-16 09:50:46 | 显示全部楼层 |阅读模式

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

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

x
本帖最后由 colbertli 于 2012-6-16 09:57 编辑

大家好:安装WPS时没有生成ungrib.exe, WRF安装指导册子里提示是:try a Grib1-only build to further isolate the problem

请问这个是否是单独编译 Grib1?         如何编译?       求指点~~             谢谢!  以下是compile后的提示:
Configuration successful. To build the WPS, type: compile
------------------------------------------------------------------------
flyingfish@flyingfish-Founder-PC:~/download/model/WPS$ ./compile

**** Compiling WPS and all utilities ****

make[1]: Entering directory `/home/flyingfish/download/model/WPS/geogrid/src'
make[1]: `geogrid.exe' is up to date.
make[1]: Leaving directory `/home/flyingfish/download/model/WPS/geogrid/src'
( cd src/ngl ; make -i -r DEV_TOP="/home/flyingfish/download/model/WPS" CC="gcc" FC="gfortran" RANLIB="ranlib" all )
make[1]: Entering directory `/home/flyingfish/download/model/WPS/ungrib/src/ngl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/flyingfish/download/model/WPS/ungrib/src/ngl'
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/flyingfish/download/model/WPS/../WRFV3 ; \
        fi ; \
    make -i -r ungrib.exe \
        WRF_DIR="$WRF_DIR2" \
        FC="gfortran" \
        CC="gcc" \
        CPP="/usr/bin/cpp -C -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/flyingfish/download/model/WPS/ungrib/src'
Makefile:90: warning: overriding commands for target `.F.o'
../../configure.wps:93: warning: ignoring old commands for target `.F.o'
Makefile:95: warning: overriding commands for target `.c.o'
../../configure.wps:85: warning: ignoring old commands for target `.c.o'
/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. -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 \
                 \
                libpgu.a ; \
                        fi
./ngl/libg2_4.a(dec_jpeg2000.o): In function `dec_jpeg2000_':
dec_jpeg2000.c:(.text+0x47): undefined reference to `jas_stream_memopen'
dec_jpeg2000.c:(.text+0x5e): undefined reference to `jpc_decode'
dec_jpeg2000.c:(.text+0xf3): undefined reference to `jas_matrix_create'
dec_jpeg2000.c:(.text+0x14b): undefined reference to `jas_image_readcmpt'
dec_jpeg2000.c:(.text+0x1dc): undefined reference to `jas_matrix_destroy'
dec_jpeg2000.c:(.text+0x1e8): undefined reference to `jas_stream_close'
dec_jpeg2000.c:(.text+0x1f7): undefined reference to `jas_image_destroy'
./ngl/libg2_4.a(dec_png.o): In function `user_read_data':
dec_png.c:(.text+0x1c): undefined reference to `png_get_io_ptr'
./ngl/libg2_4.a(dec_png.o): In function `dec_png_':
dec_png.c:(.text+0xa8): undefined reference to `png_sig_cmp'
dec_png.c:(.text+0xcf): undefined reference to `png_create_read_struct'
dec_png.c:(.text+0xf2): undefined reference to `png_create_info_struct'
dec_png.c:(.text+0x115): undefined reference to `png_destroy_read_struct'
dec_png.c:(.text+0x12b): undefined reference to `png_create_info_struct'
dec_png.c:(.text+0x150): undefined reference to `png_destroy_read_struct'
dec_png.c:(.text+0x181): undefined reference to `png_destroy_read_struct'
dec_png.c:(.text+0x1b2): undefined reference to `png_set_read_fn'
dec_png.c:(.text+0x1cc): undefined reference to `png_read_png'
dec_png.c:(.text+0x1df): undefined reference to `png_get_rows'
dec_png.c:(.text+0x21d): undefined reference to `png_get_IHDR'
dec_png.c:(.text+0x2f3): undefined reference to `png_destroy_read_struct'
collect2: ld returned 1 exit status
make[1]: [ungrib.exe] Error 1 (ignored)
make[1]: Leaving directory `/home/flyingfish/download/model/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]: Entering directory `/home/flyingfish/download/model/WPS/metgrid/src'
make[1]: `metgrid.exe' is up to date.
make[1]: Leaving directory `/home/flyingfish/download/model/WPS/metgrid/src'
( cd src/ngl ; make -i -r DEV_TOP="/home/flyingfish/download/model/WPS" CC="gcc" FC="gfortran" RANLIB="ranlib" all )
make[1]: Entering directory `/home/flyingfish/download/model/WPS/ungrib/src/ngl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/flyingfish/download/model/WPS/ungrib/src/ngl'
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/flyingfish/download/model/WPS/../WRFV3 ; \
        fi ; \
    make -i -r g1print.exe \
        WRF_DIR="$WRF_DIR2" \
        FC="gfortran" \
        CC="gcc" \
        CPP="/usr/bin/cpp -C -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_GRIBUTIL" )
make[1]: Entering directory `/home/flyingfish/download/model/WPS/ungrib/src'
Makefile:90: warning: overriding commands for target `.F.o'
../../configure.wps:93: warning: ignoring old commands for target `.F.o'
Makefile:95: warning: overriding commands for target `.c.o'
../../configure.wps:85: warning: ignoring old commands for target `.c.o'
make[1]: `g1print.exe' is up to date.
make[1]: Leaving directory `/home/flyingfish/download/model/WPS/ungrib/src'
if [ -h g1print.exe ] ; then \
            /bin/rm -f g1print.exe ; \
    fi ; \
    if [ -h ../g1print.exe ] ; then \
        /bin/rm -f ../g1print.exe ; \
    fi ; \
    if [ -e src/g1print.exe ] ; then \
        ln -sf src/g1print.exe . ; \
    fi
( cd src/ngl ; make -i -r DEV_TOP="/home/flyingfish/download/model/WPS" CC="gcc" FC="gfortran" RANLIB="ranlib" all )
make[1]: Entering directory `/home/flyingfish/download/model/WPS/ungrib/src/ngl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/flyingfish/download/model/WPS/ungrib/src/ngl'
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/flyingfish/download/model/WPS/../WRFV3 ; \
        fi ; \
    make -i -r g2print.exe \
        WRF_DIR="$WRF_DIR2" \
        FC="gfortran" \
        CC="gcc" \
        CPP="/usr/bin/cpp -C -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_GRIBUTIL" )
make[1]: Entering directory `/home/flyingfish/download/model/WPS/ungrib/src'
Makefile:90: warning: overriding commands for target `.F.o'
../../configure.wps:93: warning: ignoring old commands for target `.F.o'
Makefile:95: warning: overriding commands for target `.c.o'
../../configure.wps:85: warning: ignoring old commands for target `.c.o'
if [ -z  ] ; then \
              gfortran -o g2print.exe  g2print.o \
                filelist.o gridinfo.o \
                -L. -lpgu \
                -L./ngl -lw3 -lg2_4 \
                 ; \
                        else \
              gfortran -o g2print.exe  g2print.o \
                filelist.o gridinfo.o \
                libpgu.a  \
                ./ngl/w3/libw3.a ./ngl/g2/libg2_4.a \
                 ; \
                        fi
./ngl/libg2_4.a(dec_jpeg2000.o): In function `dec_jpeg2000_':
dec_jpeg2000.c:(.text+0x47): undefined reference to `jas_stream_memopen'
dec_jpeg2000.c:(.text+0x5e): undefined reference to `jpc_decode'
dec_jpeg2000.c:(.text+0xf3): undefined reference to `jas_matrix_create'
dec_jpeg2000.c:(.text+0x14b): undefined reference to `jas_image_readcmpt'
dec_jpeg2000.c:(.text+0x1dc): undefined reference to `jas_matrix_destroy'
dec_jpeg2000.c:(.text+0x1e8): undefined reference to `jas_stream_close'
dec_jpeg2000.c:(.text+0x1f7): undefined reference to `jas_image_destroy'
./ngl/libg2_4.a(dec_png.o): In function `user_read_data':
dec_png.c:(.text+0x1c): undefined reference to `png_get_io_ptr'
./ngl/libg2_4.a(dec_png.o): In function `dec_png_':
dec_png.c:(.text+0xa8): undefined reference to `png_sig_cmp'
dec_png.c:(.text+0xcf): undefined reference to `png_create_read_struct'
dec_png.c:(.text+0xf2): undefined reference to `png_create_info_struct'
dec_png.c:(.text+0x115): undefined reference to `png_destroy_read_struct'
dec_png.c:(.text+0x12b): undefined reference to `png_create_info_struct'
dec_png.c:(.text+0x150): undefined reference to `png_destroy_read_struct'
dec_png.c:(.text+0x181): undefined reference to `png_destroy_read_struct'
dec_png.c:(.text+0x1b2): undefined reference to `png_set_read_fn'
dec_png.c:(.text+0x1cc): undefined reference to `png_read_png'
dec_png.c:(.text+0x1df): undefined reference to `png_get_rows'
dec_png.c:(.text+0x21d): undefined reference to `png_get_IHDR'
dec_png.c:(.text+0x2f3): undefined reference to `png_destroy_read_struct'
collect2: ld returned 1 exit status
make[1]: [g2print.exe] Error 1 (ignored)
make[1]: Leaving directory `/home/flyingfish/download/model/WPS/ungrib/src'
if [ -h g2print.exe ] ; then \
            /bin/rm -f g2print.exe ; \
    fi ; \
    if [ -h ../g2print.exe ] ; then \
        /bin/rm -f ../g2print.exe ; \
    fi ; \
    if [ -e src/g2print.exe ] ; then \
        ln -sf src/g2print.exe . ; \
    fi
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/flyingfish/download/model/WPS/../WRFV3 ; \
        fi ; \
    make -i -r plotfmt.exe \
        WRF_DIR="$WRF_DIR2" \
        FC="gfortran" \
        CC="gcc" \
        CPP="/usr/bin/cpp -C -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_UTIL" )
make[1]: Entering directory `/home/flyingfish/download/model/WPS/util/src'
gfortran -o plotfmt.exe  plotfmt.o read_met_module.o module_debug.o \
        misc_definitions_module.o cio.o met_data_module.o \
        -L/usr/local/ncl_ncarg-6.1.0/lib -lncarg -lncarg_gks -lncarg_c -L/usr/X11R6/lib -lX11
plotfmt.o: In function `graceful_stop_':
plotfmt.f90:(.text+0x7e): undefined reference to `gdawk_'
plotfmt.f90:(.text+0x8d): undefined reference to `gdawk_'
plotfmt.f90:(.text+0x9c): undefined reference to `gclwk_'
plotfmt.f90:(.text+0xab): undefined reference to `gclwk_'
plotfmt.f90:(.text+0xb5): undefined reference to `gclks_'
plotfmt.o: In function `plt2d_':
plotfmt.f90:(.text+0x1802): undefined reference to `gsplci_'
plotfmt.f90:(.text+0x1886): undefined reference to `supmap_'
plotfmt.f90:(.text+0x1895): undefined reference to `gsplci_'
plotfmt.f90:(.text+0x198a): undefined reference to `getset_'
plotfmt.f90:(.text+0x1a65): undefined reference to `set_'
plotfmt.f90:(.text+0x1b51): undefined reference to `pchiqu_'
plotfmt.f90:(.text+0x2008): undefined reference to `pchiqu_'
plotfmt.f90:(.text+0x205f): undefined reference to `pchiqu_'
plotfmt.f90:(.text+0x20a8): undefined reference to `pchiqu_'
plotfmt.f90:(.text+0x20fc): undefined reference to `pchiqu_'
plotfmt.o:plotfmt.f90:(.text+0x2145): more undefined references to `pchiqu_' follow
plotfmt.o: In function `plt2d_':
plotfmt.f90:(.text+0x21c3): undefined reference to `set_'
plotfmt.f90:(.text+0x21dc): undefined reference to `cpseti_'
plotfmt.f90:(.text+0x21f5): undefined reference to `cpsetr_'
plotfmt.f90:(.text+0x220e): undefined reference to `cpseti_'
plotfmt.f90:(.text+0x2277): undefined reference to `cprect_'
plotfmt.f90:(.text+0x2290): undefined reference to `cpcldr_'
plotfmt.f90:(.text+0x22a9): undefined reference to `cplbdr_'
plotfmt.f90:(.text+0x22bd): undefined reference to `frame_'
plotfmt.o: In function `MAIN__':
plotfmt.f90:(.text+0x2453): undefined reference to `gopks_'
plotfmt.f90:(.text+0x246a): undefined reference to `gopwk_'
plotfmt.f90:(.text+0x2483): undefined reference to `gopwk_'
plotfmt.f90:(.text+0x2492): undefined reference to `gacwk_'
plotfmt.f90:(.text+0x24a1): undefined reference to `gacwk_'
plotfmt.f90:(.text+0x24ba): undefined reference to `pcseti_'
plotfmt.f90:(.text+0x24d8): undefined reference to `pcsetc_'
plotfmt.f90:(.text+0x24f8): undefined reference to `gscr_'
plotfmt.f90:(.text+0x2516): undefined reference to `gscr_'
plotfmt.f90:(.text+0x2538): undefined reference to `gscr_'
collect2: ld returned 1 exit status
make[1]: [plotfmt.exe] Error 1 (ignored)
make[1]: Leaving directory `/home/flyingfish/download/model/WPS/util/src'
if [ -h plotfmt.exe ] ; then \
        /bin/rm -f plotfmt.exe ; \
    fi ; \
    if [ -h ../plotfmt.exe ] ; then \
        /bin/rm -f ../plotfmt.exe ; \
    fi ; \
    if [ -e src/plotfmt.exe ] ; then \
        ln -sf src/plotfmt.exe . ; \
    fi
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/flyingfish/download/model/WPS/../WRFV3 ; \
        fi ; \
    make -i -r rd_intermediate.exe \
        WRF_DIR="$WRF_DIR2" \
        FC="gfortran" \
        CC="gcc" \
        CPP="/usr/bin/cpp -C -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_UTIL" )
make[1]: Entering directory `/home/flyingfish/download/model/WPS/util/src'
make[1]: `rd_intermediate.exe' is up to date.
make[1]: Leaving directory `/home/flyingfish/download/model/WPS/util/src'
if [ -h rd_intermediate.exe ] ; then \
        /bin/rm -f rd_intermediate.exe ; \
    fi ; \
    if [ -h ../rd_intermediate.exe ] ; then \
        /bin/rm -f ../rd_intermediate.exe ; \
    fi ; \
    if [ -e src/rd_intermediate.exe ] ; then \
        ln -sf src/rd_intermediate.exe . ; \
    fi
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/flyingfish/download/model/WPS/../WRFV3 ; \
        fi ; \
    make -i -r plotgrids.exe \
        WRF_DIR="$WRF_DIR2" \
        FC="gfortran" \
        CC="gcc" \
        CPP="/usr/bin/cpp -C -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_UTIL" )
make[1]: Entering directory `/home/flyingfish/download/model/WPS/util/src'
gfortran -o plotgrids.exe  module_map_utils.o module_debug.o cio.o constants_module.o misc_definitions_module.o \
        plotgrids.o -L/usr/local/ncl_ncarg-6.1.0/lib -lncarg -lncarg_gks -lncarg_c -L/usr/X11R6/lib -lX11
plotgrids.o: In function `mapbkg_egrid_':
plotgrids.f90:(.text+0x143): undefined reference to `opngks_'
plotgrids.f90:(.text+0x15c): undefined reference to `gopwk_'
plotgrids.f90:(.text+0x16b): undefined reference to `gsclip_'
plotgrids.f90:(.text+0x18b): undefined reference to `gscr_'
plotgrids.f90:(.text+0x1a9): undefined reference to `gscr_'
plotgrids.f90:(.text+0x1c2): undefined reference to `setusv_'
plotgrids.f90:(.text+0x1db): undefined reference to `mapsti_'
plotgrids.f90:(.text+0x1f4): undefined reference to `mapsti_'
plotgrids.f90:(.text+0x212): undefined reference to `mapstc_'
plotgrids.f90:(.text+0x23c): undefined reference to `maproj_'
plotgrids.f90:(.text+0x271): undefined reference to `mapset_'
plotgrids.f90:(.text+0x28a): undefined reference to `mapsti_'
plotgrids.f90:(.text+0x2a4): undefined reference to `mappos_'
plotgrids.f90:(.text+0x2ae): undefined reference to `mapint_'
plotgrids.f90:(.text+0x2b8): undefined reference to `mapdrw_'
plotgrids.f90:(.text+0x2d1): undefined reference to `setusv_'
plotgrids.f90:(.text+0x31e): undefined reference to `perim_'
plotgrids.f90:(.text+0x337): undefined reference to `setusv_'
plotgrids.f90:(.text+0x4d8): undefined reference to `getset_'
plotgrids.f90:(.text+0x53d): undefined reference to `pchiqu_'
plotgrids.f90:(.text+0x5aa): undefined reference to `set_'
plotgrids.f90:(.text+0x5c3): undefined reference to `setusv_'
plotgrids.f90:(.text+0x662): undefined reference to `line_'
plotgrids.f90:(.text+0x687): undefined reference to `line_'
plotgrids.f90:(.text+0x6ac): undefined reference to `line_'
plotgrids.f90:(.text+0x6d1): undefined reference to `line_'
plotgrids.f90:(.text+0x6f5): undefined reference to `frame_'
plotgrids.f90:(.text+0x704): undefined reference to `gclwk_'
plotgrids.f90:(.text+0x70e): undefined reference to `clsgks_'
plotgrids.o: In function `MAIN__':
plotgrids.f90:(.text+0x2c94): undefined reference to `opngks_'
plotgrids.f90:(.text+0x2cb4): undefined reference to `gscr_'
plotgrids.f90:(.text+0x2cd2): undefined reference to `gscr_'
plotgrids.f90:(.text+0x2d7d): undefined reference to `supmap_'
plotgrids.f90:(.text+0x2d96): undefined reference to `setusv_'
plotgrids.f90:(.text+0x2dd5): undefined reference to `perim_'
plotgrids.f90:(.text+0x2e35): undefined reference to `getset_'
plotgrids.f90:(.text+0x2ea3): undefined reference to `set_'
plotgrids.f90:(.text+0x2f65): undefined reference to `line_'
plotgrids.f90:(.text+0x2f8a): undefined reference to `line_'
plotgrids.f90:(.text+0x2faf): undefined reference to `line_'
plotgrids.f90:(.text+0x2fd4): undefined reference to `line_'
plotgrids.f90:(.text+0x2ff7): undefined reference to `frame_'
plotgrids.f90:(.text+0x311b): undefined reference to `clsgks_'
collect2: ld returned 1 exit status
make[1]: [plotgrids.exe] Error 1 (ignored)
make[1]: Leaving directory `/home/flyingfish/download/model/WPS/util/src'
if [ -h plotgrids.exe ] ; then \
        /bin/rm -f plotgrids.exe ; \
    fi ; \
    if [ -h ../plotgrids.exe ] ; then \
        /bin/rm -f ../plotgrids.exe ; \
    fi ; \
    if [ -e src/plotgrids.exe ] ; then \
        ln -sf src/plotgrids.exe . ; \
    fi
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/flyingfish/download/model/WPS/../WRFV3 ; \
        fi ; \
    make -i -r mod_levs.exe \
        WRF_DIR="$WRF_DIR2" \
        FC="gfortran" \
        CC="gcc" \
        CPP="/usr/bin/cpp -C -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_UTIL" )
make[1]: Entering directory `/home/flyingfish/download/model/WPS/util/src'
make[1]: `mod_levs.exe' is up to date.
make[1]: Leaving directory `/home/flyingfish/download/model/WPS/util/src'
if [ -h mod_levs.exe ] ; then \
        /bin/rm -f mod_levs.exe ; \
    fi ; \
    if [ -h ../mod_levs.exe ] ; then \
        /bin/rm -f ../mod_levs.exe ; \
    fi ; \
    if [ -e src/mod_levs.exe ] ; then \
        ln -sf src/mod_levs.exe . ; \
    fi
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/flyingfish/download/model/WPS/../WRFV3 ; \
        fi ; \
    make -i -r avg_tsfc.exe \
        WRF_DIR="$WRF_DIR2" \
        FC="gfortran" \
        CC="gcc" \
        CPP="/usr/bin/cpp -C -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_UTIL" )
make[1]: Entering directory `/home/flyingfish/download/model/WPS/util/src'
make[1]: `avg_tsfc.exe' is up to date.
make[1]: Leaving directory `/home/flyingfish/download/model/WPS/util/src'
if [ -h avg_tsfc.exe ] ; then \
        /bin/rm -f avg_tsfc.exe ; \
    fi ; \
    if [ -h ../avg_tsfc.exe ] ; then \
        /bin/rm -f ../avg_tsfc.exe ; \
    fi ; \
    if [ -e src/avg_tsfc.exe ] ; then \
        ln -sf src/avg_tsfc.exe . ; \
    fi
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/flyingfish/download/model/WPS/../WRFV3 ; \
        fi ; \
    make -i -r calc_ecmwf_p.exe \
        WRF_DIR="$WRF_DIR2" \
        FC="gfortran" \
        CC="gcc" \
        CPP="/usr/bin/cpp -C -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_UTIL" )
make[1]: Entering directory `/home/flyingfish/download/model/WPS/util/src'
make[1]: `calc_ecmwf_p.exe' is up to date.
make[1]: Leaving directory `/home/flyingfish/download/model/WPS/util/src'
if [ -h calc_ecmwf_p.exe ] ; then \
        /bin/rm -f calc_ecmwf_p.exe ; \
    fi ; \
    if [ -h ../calc_ecmwf_p.exe ] ; then \
        /bin/rm -f ../calc_ecmwf_p.exe ; \
    fi ; \
    if [ -e src/calc_ecmwf_p.exe ] ; then \
        ln -sf src/calc_ecmwf_p.exe . ; \
    fi
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/flyingfish/download/model/WPS/../WRFV3 ; \
        fi ; \
    make -i -r height_ukmo.exe \
        WRF_DIR="$WRF_DIR2" \
        FC="gfortran" \
        CC="gcc" \
        CPP="/usr/bin/cpp -C -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_UTIL" )
make[1]: Entering directory `/home/flyingfish/download/model/WPS/util/src'
make[1]: `height_ukmo.exe' is up to date.
make[1]: Leaving directory `/home/flyingfish/download/model/WPS/util/src'
if [ -h height_ukmo.exe ] ; then \
        /bin/rm -f height_ukmo.exe ; \
    fi ; \
    if [ -h ../height_ukmo.exe ] ; then \
        /bin/rm -f ../height_ukmo.exe ; \
    fi ; \
    if [ -e src/height_ukmo.exe ] ; then \
        ln -sf src/height_ukmo.exe . ; \
    fi


密码修改失败请联系微信:mofangbao
 楼主| 发表于 2012-6-16 10:28:17 | 显示全部楼层
修改configure.wps,找到COMPRESSION_LIBS   COMPRESSION_INC        ,不知为何这里是空白的,等号后边“没有赋值”。所以把如下对应几行替换即可
COMPRESSION_LIBS        =        -L/data3a/mp/gill/WPS_LIBS/local/lib \
                                -ljasper -lpng12 -lpng -lz

COMPRESSION_INC                =        -I/data3a/mp/gill/WPS_LIBS/local/include
密码修改失败请联系微信:mofangbao
0
早起挑战累计收入
发表于 2012-6-16 10:39:05 | 显示全部楼层
额。。。这么说是你自己结贴了。。。
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2012-6-16 11:23:21 | 显示全部楼层

呵呵  算吧  我装了 WPS3.3 和 3.3.1 然后比较输出结果,发现3.3输出两个exe, 3.3.1输出一个exe, 凑起来刚好是资料上的三个exe, 所以就检查configure.wps的差别,由此发现里上边得解决办法。 不过现在又遇到一个难题:
ls -ls util/*.exe 时缺少了两个exe   : plotfmt.exe   plotgrids.exe
提示是 NCAR Graphics path 设置有问题。  不知如何解决?

谢谢!
密码修改失败请联系微信:mofangbao
发表于 2014-1-14 09:34:31 | 显示全部楼层
colbertli 发表于 2012-6-16 11:23
呵呵  算吧  我装了 WPS3.3 和 3.3.1 然后比较输出结果,发现3.3输出两个exe, 3.3.1输出一个exe, 凑起来 ...

http://bbs.06climate.com/forum.php?mod=viewthread&tid=10764
这个帖子里有这个问题呢,我是新手,在论坛充电呢,这个不知道对你有没有帮助。。
密码修改失败请联系微信:mofangbao
发表于 2014-5-7 17:06:23 | 显示全部楼层
有谁解决了发下解决方案
密码修改失败请联系微信:mofangbao
发表于 2015-11-11 17:51:34 | 显示全部楼层
啊啊啊请问有解决吗
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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