[Wrf-users] Re: consultation.
Wang, Yi
yi.wang at pnl.gov
Mon Sep 22 11:12:33 MDT 2008
Your netcdf library is complaining!!
/usr/bin/ld: cannot find -lnetcdf
Yi
On 9/22/08 10:08 AM, "wrf-users-request at ucar.edu"
<wrf-users-request at ucar.edu> wrote:
> Send Wrf-users mailing list submissions to
> wrf-users at ucar.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman.ucar.edu/mailman/listinfo/wrf-users
> or, via email, send a message with subject or body 'help' to
> wrf-users-request at ucar.edu
>
> You can reach the person managing the list at
> wrf-users-owner at ucar.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Wrf-users digest..."
>
>
> Today's Topics:
>
> 1. consultation (=?gb2312?B?wu3T8bfSIMLt?=)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 22 Sep 2008 10:48:11 +0800 (CST)
> From: =?gb2312?B?wu3T8bfSIMLt?= <mayf21044 at yahoo.com.cn>
> Subject: [Wrf-users] consultation
> To: wrf users <wrf-users at ucar.edu>
> Message-ID: <865929.8198.qm at web15101.mail.cnb.yahoo.com>
> Content-Type: text/plain; charset="gb2312"
>
> Dear wrf-usrs:
> A problem has been bothering me for several days and I thus have to turn to
> you for help. I got such error hint messages as follows which ./compile WPS:
>
> **** Compiling WPS and all utilities ****
>
> make[1]: Entering directory `/WEATHER/WPS/geogrid/src'
> 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 \
> /WEATHER/WPS/../WRFV3/frame/pack_utils.o
> /WEATHER/WPS/../WRFV3/frame/module_machine.o \
> /WEATHER/WPS/../WRFV3/frame/module_internal_header_util.o \
> -I/WEATHER/WPS/../WRFV3/external/io_netcdf
> -I/WEATHER/WPS/../WRFV3/external/io_grib_share
> -I/WEATHER/WPS/../WRFV3/external/io_grib1
> -I/WEATHER/WPS/../WRFV3/external/io_int -I/WEATHER/WPS/../WRFV3/inc \
> -L/WEATHER/WPS/../WRFV3/external/io_grib1 -lio_grib1
> -L/WEATHER/WPS/../WRFV3/external/io_grib_share -lio_grib_share
> -L/WEATHER/WPS/../WRFV3/external/io_int -lwrfio_int
> -L/WEATHER/WPS/../WRFV3/external/io_netcdf -lwrfio_nf -L/usr/local/netcdf/lib
> -lnetcdf \
>
> /usr/bin/ld: cannot find -lnetcdf
> make[1]: [geogrid.exe] ´íÎó 2 (ºöÂÔ)
> make[1]: Leaving directory `/WEATHER/WPS/geogrid/src'
> ( cd src/ngl ; make -i -r DEV_TOP="/WEATHER/WPS" CC="pgcc" FC="pgf90"
> RANLIB="echo" all )
> make[1]: Entering directory `/WEATHER/WPS/ungrib/src/ngl'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/WEATHER/WPS/ungrib/src/ngl'
> ( cd src ; \
> make -i -r ungrib.exe \
> WRF_DIR="/WEATHER/WPS/../WRFV3" \
> FC="pgf90" \
> CC="pgcc" \
> CPP="/lib/cpp -C -P -traditional" \
> FFLAGS="-Mfree -byteswapio -O" \
> CFLAGS="-O" \
> LDFLAGS="" \
> CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF
> -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_UNGRIB" )
> make[1]: Entering directory `/WEATHER/WPS/ungrib/src'
> Makefile:74: ≤¯¸æ£º¸”¸Ç’ØÓÚÄ¿±ê¡°.F.o¡±µÄÃüÁî
> ../../configure.wps:102: ≤¯¸æ£ººöÂÔ’ØÓÚÄ¿±ê¡°.F.o¡±µÄ≤ÉÃüÁî
> Makefile:79: ≤¯¸æ£º¸”¸Ç’ØÓÚÄ¿±ê¡°.c.o¡±µÄÃüÁî
> ../../configure.wps:94: ≤¯¸æ£ººöÂÔ’ØÓÚÄ¿±ê¡°.c.o¡±µÄ≤ÉÃüÁî
> make[1]: ¡°ungrib.exe¡±ÊÇ◊î‹ÂµÄ¡£
> make[1]: Leaving directory `/WEATHER/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 `/WEATHER/WPS/metgrid/src'
> 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 \
> /WEATHER/WPS/../WRFV3/frame/pack_utils.o
> /WEATHER/WPS/../WRFV3/frame/module_machine.o \
> /WEATHER/WPS/../WRFV3/frame/module_internal_header_util.o \
> -I/WEATHER/WPS/../WRFV3/external/io_netcdf
> -I/WEATHER/WPS/../WRFV3/external/io_grib_share
> -I/WEATHER/WPS/../WRFV3/external/io_grib1
> -I/WEATHER/WPS/../WRFV3/external/io_int -I/WEATHER/WPS/../WRFV3/inc \
> -L/WEATHER/WPS/../WRFV3/external/io_grib1 -lio_grib1
> -L/WEATHER/WPS/../WRFV3/external/io_grib_share -lio_grib_share
> -L/WEATHER/WPS/../WRFV3/external/io_int -lwrfio_int
> -L/WEATHER/WPS/../WRFV3/external/io_netcdf -lwrfio_nf -L/usr/local/netcdf/lib
> -lnetcdf \
>
> /usr/bin/ld: cannot find -lnetcdf
> make[1]: [metgrid.exe] ´íÎó 2 (ºöÂÔ)
> make[1]: Leaving directory `/WEATHER/WPS/metgrid/src'
> ( cd src/ngl ; make -i -r DEV_TOP="/WEATHER/WPS" CC="pgcc" FC="pgf90"
> RANLIB="echo" all )
> make[1]: Entering directory `/WEATHER/WPS/ungrib/src/ngl'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/WEATHER/WPS/ungrib/src/ngl'
> ( cd src ; \
> make -i -r g1print.exe \
> WRF_DIR="/WEATHER/WPS/../WRFV3" \
> FC="pgf90" \
> CC="pgcc" \
> CPP="/lib/cpp -C -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]: Entering directory `/WEATHER/WPS/ungrib/src'
> Makefile:74: ≤¯¸æ£º¸”¸Ç’ØÓÚÄ¿±ê¡°.F.o¡±µÄÃüÁî
> ../../configure.wps:102: ≤¯¸æ£ººöÂÔ’ØÓÚÄ¿±ê¡°.F.o¡±µÄ≤ÉÃüÁî
> Makefile:79: ≤¯¸æ£º¸”¸Ç’ØÓÚÄ¿±ê¡°.c.o¡±µÄÃüÁî
> ../../configure.wps:94: ≤¯¸æ£ººöÂÔ’ØÓÚÄ¿±ê¡°.c.o¡±µÄ≤ÉÃüÁî
> make[1]: ¡°g1print.exe¡±ÊÇ◊î‹ÂµÄ¡£
> make[1]: Leaving directory `/WEATHER/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="/WEATHER/WPS" CC="pgcc" FC="pgf90"
> RANLIB="echo" all )
> make[1]: Entering directory `/WEATHER/WPS/ungrib/src/ngl'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/WEATHER/WPS/ungrib/src/ngl'
> ( cd src ; \
> make -i -r g2print.exe \
> WRF_DIR="/WEATHER/WPS/../WRFV3" \
> FC="pgf90" \
> CC="pgcc" \
> CPP="/lib/cpp -C -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]: Entering directory `/WEATHER/WPS/ungrib/src'
> Makefile:74: ≤¯¸æ£º¸”¸Ç’ØÓÚÄ¿±ê¡°.F.o¡±µÄÃüÁî
> ../../configure.wps:102: ≤¯¸æ£ººöÂÔ’ØÓÚÄ¿±ê¡°.F.o¡±µÄ≤ÉÃüÁî
> Makefile:79: ≤¯¸æ£º¸”¸Ç’ØÓÚÄ¿±ê¡°.c.o¡±µÄÃüÁî
> ../../configure.wps:94: ≤¯¸æ£ººöÂÔ’ØÓÚÄ¿±ê¡°.c.o¡±µÄ≤ÉÃüÁî
> make[1]: ¡°g2print.exe¡±ÊÇ◊î‹ÂµÄ¡£
> make[1]: Leaving directory `/WEATHER/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 ; \
> make -i -r plotfmt.exe \
> WRF_DIR="/WEATHER/WPS/../WRFV3" \
> FC="pgf90" \
> CC="pgcc" \
> CPP="/lib/cpp -C -P -traditional" \
> FFLAGS="-Mfree -byteswapio -O" \
> CFLAGS="-O" \
> LDFLAGS="" \
> CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF
> -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_UTIL" )
> make[1]: Entering directory `/WEATHER/WPS/util/src'
> pgf90 -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/ncarg/lib -lncarg -lncarg_gks -lncarg_c
> -L/usr/X11R6/lib -lX11 -L/opt/pgi/linux86-64/5.2/lib -lpgftnrtl -lpgc
> -L/usr/lib64 -lg2c
> /usr/bin/ld: cannot find -lncarg
> make[1]: [plotfmt.exe] ´íÎó 2 (ºöÂÔ)
> make[1]: Leaving directory `/WEATHER/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 ; \
> make -i -r rd_intermediate.exe \
> WRF_DIR="/WEATHER/WPS/../WRFV3" \
> FC="pgf90" \
> CC="pgcc" \
> CPP="/lib/cpp -C -P -traditional" \
> FFLAGS="-Mfree -byteswapio -O" \
> CFLAGS="-O" \
> LDFLAGS="" \
> CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF
> -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_UTIL" )
> make[1]: Entering directory `/WEATHER/WPS/util/src'
> make[1]: ¡°rd_intermediate.exe¡±ÊÇ◊î‹ÂµÄ¡£
> make[1]: Leaving directory `/WEATHER/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 ; \
> make -i -r plotgrids.exe \
> WRF_DIR="/WEATHER/WPS/../WRFV3" \
> FC="pgf90" \
> CC="pgcc" \
> CPP="/lib/cpp -C -P -traditional" \
> FFLAGS="-Mfree -byteswapio -O" \
> CFLAGS="-O" \
> LDFLAGS="" \
> CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF
> -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_UTIL" )
> make[1]: Entering directory `/WEATHER/WPS/util/src'
> pgf90 -o plotgrids.exe module_map_utils.o module_debug.o cio.o
> constants_module.o misc_definitions_module.o \
> plotgrids.o -L/usr/local/ncarg/lib -lncarg -lncarg_gks
> -lncarg_c -L/usr/X11R6/lib -lX11 -L/opt/pgi/linux86-64/5.2/lib -lpgftnrtl
> -lpgc -L/usr/lib64 -lg2c
> /usr/bin/ld: cannot find -lncarg
> make[1]: [plotgrids.exe] ´íÎó 2 (ºöÂÔ)
> make[1]: Leaving directory `/WEATHER/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 ; \
> make -i -r mod_levs.exe \
> WRF_DIR="/WEATHER/WPS/../WRFV3" \
> FC="pgf90" \
> CC="pgcc" \
> CPP="/lib/cpp -C -P -traditional" \
> FFLAGS="-Mfree -byteswapio -O" \
> CFLAGS="-O" \
> LDFLAGS="" \
> CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF
> -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_UTIL" )
> make[1]: Entering directory `/WEATHER/WPS/util/src'
> make[1]: ¡°mod_levs.exe¡±ÊÇ◊î‹ÂµÄ¡£
> make[1]: Leaving directory `/WEATHER/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 ; \
> make -i -r avg_tsfc.exe \
> WRF_DIR="/WEATHER/WPS/../WRFV3" \
> FC="pgf90" \
> CC="pgcc" \
> CPP="/lib/cpp -C -P -traditional" \
> FFLAGS="-Mfree -byteswapio -O" \
> CFLAGS="-O" \
> LDFLAGS="" \
> CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF
> -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_UTIL" )
> make[1]: Entering directory `/WEATHER/WPS/util/src'
> make[1]: ¡°avg_tsfc.exe¡±ÊÇ◊î‹ÂµÄ¡£
> make[1]: Leaving directory `/WEATHER/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 ; \
> make -i -r calc_ecmwf_p.exe \
> WRF_DIR="/WEATHER/WPS/../WRFV3" \
> FC="pgf90" \
> CC="pgcc" \
> CPP="/lib/cpp -C -P -traditional" \
> FFLAGS="-Mfree -byteswapio -O" \
> CFLAGS="-O" \
> LDFLAGS="" \
> CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF
> -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_UTIL" )
> make[1]: Entering directory `/WEATHER/WPS/util/src'
> make[1]: ¡°calc_ecmwf_p.exe¡±ÊÇ◊î‹ÂµÄ¡£
> make[1]: Leaving directory `/WEATHER/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
>
> I am eagerly waiting for your response.
> Best wishes.
> Sincerely yours,
> Yufen Ma.
>
>
> ___________________________________________________________
> ÑÅ»¢ÓÊÏ䣬ÄúµÄÖÕÉúÓÊÏ䣡
> http://cn.mail.yahoo.com/
> -------------- next part --------------
> Skipped content of type multipart/related
>
> ------------------------------
>
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>
>
> End of Wrf-users Digest, Vol 49, Issue 14
> *****************************************
Yi Wang, PhD
Pacific Northwest National Lab
More information about the Wrf-users
mailing list