Hi
working with netcdf-4.1.3 with gcc and ifort. I am able to install WRFv3.3. But while compilation of WPSv3.3.1. program creates only ungrib.exe. There are no geogrid.exe and metgrid.exe files created in the directory. Compile.output file is as follows
**** Compiling WPS and all utilities ****
make[1]: Entering directory `/home/sushant/Downloads/WPS/geogrid/src'
ifort -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/sushant/Downloads/WPS/../WRFV3/frame/module_driver_constants.o \
/home/sushant/Downloads/WPS/../WRFV3/frame/pack_utils.o /home/sushant/Downloads/WPS/../WRFV3/frame/module_machine.o \
/home/sushant/Downloads/WPS/../WRFV3/frame/module_internal_header_util.o \
-I/home/sushant/Downloads/WPS/../WRFV3/external/io_netcdf -I/home/sushant/Downloads/WPS/../WRFV3/external/io_grib_share -I/home/sushant/Downloads/WPS/../WRFV3/external/io_grib1 -I/home/sushant/Downloads/WPS/../WRFV3/external/io_int -I/home/sushant/Downloads/WPS/../WRFV3/inc \
-L/home/sushant/Downloads/WPS/../WRFV3/external/io_grib1 -lio_grib1 -L/home/sushant/Downloads/WPS/../WRFV3/external/io_grib_share -lio_grib_share -L/home/sushant/Downloads/WPS/../WRFV3/external/io_int -lwrfio_int -L/home/sushant/Downloads/WPS/../WRFV3/external/io_netcdf -lwrfio_nf -L/home/sushant/Downloads/WPS/netcdf_links/lib -lnetcdf \
IPO Warning: can not find "/home/sushant/Downloads/WPS/../WRFV3/frame/module_driver_constants.o"
IPO Warning: can not find "/home/sushant/Downloads/WPS/../WRFV3/frame/pack_utils.o"
IPO Warning: can not find "/home/sushant/Downloads/WPS/../WRFV3/frame/module_machine.o"
IPO link: can not find -lio_grib1
ifort: error: problem during multi-file optimization compilation (code 1)
make[1]: [geogrid.exe] Error 1 (ignored)
make[1]: Leaving directory `/home/sushant/Downloads/WPS/geogrid/src'
( cd src/ngl ; make -i -r DEV_TOP="/home/sushant/Downloads/WPS" CC="gcc" FC="ifort" RANLIB="echo" all )
make[1]: Entering directory `/home/sushant/Downloads/WPS/ungrib/src/ngl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/sushant/Downloads/WPS/ungrib/src/ngl'
( cd src ; \
if [ "" = yes ] ; then \
WRF_DIR2=../WRFV3 ; \
else \
WRF_DIR2=/home/sushant/Downloads/WPS/../WRFV3 ; \
fi ; \
make -i -r ungrib.exe \
WRF_DIR="$WRF_DIR2" \
FC="ifort" \
CC="gcc" \
CPP="/lib/cpp -C -P -traditional" \
FFLAGS="-FR -convert big_endian" \
CFLAGS="-w" \
LDFLAGS="" \
CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_UNGRIB" )
make[1]: Entering directory `/home/sushant/Downloads/WPS/ungrib/src'
Makefile:90: warning: overriding recipe for target `.F.o'
../../configure.wps:95: warning: ignoring old recipe for target `.F.o'
Makefile:95: warning: overriding recipe for target `.c.o'
../../configure.wps:87: warning: ignoring old recipe for target `.c.o'
make[1]: `ungrib.exe' is up to date.
make[1]: Leaving directory `/home/sushant/Downloads/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/sushant/Downloads/WPS/metgrid/src'
ifort -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/sushant/Downloads/WPS/../WRFV3/frame/module_driver_constants.o \
/home/sushant/Downloads/WPS/../WRFV3/frame/pack_utils.o /home/sushant/Downloads/WPS/../WRFV3/frame/module_machine.o \
/home/sushant/Downloads/WPS/../WRFV3/frame/module_internal_header_util.o \
-I/home/sushant/Downloads/WPS/../WRFV3/external/io_netcdf -I/home/sushant/Downloads/WPS/../WRFV3/external/io_grib_share -I/home/sushant/Downloads/WPS/../WRFV3/external/io_grib1 -I/home/sushant/Downloads/WPS/../WRFV3/external/io_int -I/home/sushant/Downloads/WPS/../WRFV3/inc \
-L/home/sushant/Downloads/WPS/../WRFV3/external/io_grib1 -lio_grib1 -L/home/sushant/Downloads/WPS/../WRFV3/external/io_grib_share -lio_grib_share -L/home/sushant/Downloads/WPS/../WRFV3/external/io_int -lwrfio_int -L/home/sushant/Downloads/WPS/../WRFV3/external/io_netcdf -lwrfio_nf -L/home/sushant/Downloads/WPS/netcdf_links/lib -lnetcdf \
IPO Warning: can not find "/home/sushant/Downloads/WPS/../WRFV3/frame/module_driver_constants.o"
IPO Warning: can not find "/home/sushant/Downloads/WPS/../WRFV3/frame/pack_utils.o"
IPO Warning: can not find "/home/sushant/Downloads/WPS/../WRFV3/frame/module_machine.o"
IPO link: can not find -lio_grib1
ifort: error: problem during multi-file optimization compilation (code 1)
make[1]: [metgrid.exe] Error 1 (ignored)
make[1]: Leaving directory `/home/sushant/Downloads/WPS/metgrid/src'
( cd src/ngl ; make -i -r DEV_TOP="/home/sushant/Downloads/WPS" CC="gcc" FC="ifort" RANLIB="echo" all )
make[1]: Entering directory `/home/sushant/Downloads/WPS/ungrib/src/ngl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/sushant/Downloads/WPS/ungrib/src/ngl'
( cd src ; \
if [ "" = yes ] ; then \
WRF_DIR2=../WRFV3 ; \
else \
WRF_DIR2=/home/sushant/Downloads/WPS/../WRFV3 ; \
fi ; \
make -i -r g1print.exe \
WRF_DIR="$WRF_DIR2" \
FC="ifort" \
CC="gcc" \
CPP="/lib/cpp -C -P -traditional" \
FFLAGS="-FR -convert big_endian" \
CFLAGS="-w" \
LDFLAGS="" \
CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_GRIBUTIL" )
make[1]: Entering directory `/home/sushant/Downloads/WPS/ungrib/src'
Makefile:90: warning: overriding recipe for target `.F.o'
../../configure.wps:95: warning: ignoring old recipe for target `.F.o'
Makefile:95: warning: overriding recipe for target `.c.o'
../../configure.wps:87: warning: ignoring old recipe for target `.c.o'
make[1]: `g1print.exe' is up to date.
make[1]: Leaving directory `/home/sushant/Downloads/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/sushant/Downloads/WPS" CC="gcc" FC="ifort" RANLIB="echo" all )
make[1]: Entering directory `/home/sushant/Downloads/WPS/ungrib/src/ngl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/sushant/Downloads/WPS/ungrib/src/ngl'
( cd src ; \
if [ "" = yes ] ; then \
WRF_DIR2=../WRFV3 ; \
else \
WRF_DIR2=/home/sushant/Downloads/WPS/../WRFV3 ; \
fi ; \
make -i -r g2print.exe \
WRF_DIR="$WRF_DIR2" \
FC="ifort" \
CC="gcc" \
CPP="/lib/cpp -C -P -traditional" \
FFLAGS="-FR -convert big_endian" \
CFLAGS="-w" \
LDFLAGS="" \
CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_GRIBUTIL" )
make[1]: Entering directory `/home/sushant/Downloads/WPS/ungrib/src'
Makefile:90: warning: overriding recipe for target `.F.o'
../../configure.wps:95: warning: ignoring old recipe for target `.F.o'
Makefile:95: warning: overriding recipe for target `.c.o'
../../configure.wps:87: warning: ignoring old recipe for target `.c.o'
make[1]: `g2print.exe' is up to date.
make[1]: Leaving directory `/home/sushant/Downloads/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/sushant/Downloads/WPS/../WRFV3 ; \
fi ; \
make -i -r plotfmt.exe \
WRF_DIR="$WRF_DIR2" \
FC="ifort" \
CC="gcc" \
CPP="/lib/cpp -C -P -traditional" \
FFLAGS="-FR -convert big_endian" \
CFLAGS="-w" \
LDFLAGS="" \
CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_UTIL" )
make[1]: Entering directory `/home/sushant/Downloads/WPS/util/src'
ifort -o plotfmt.exe plotfmt.o read_met_module.o module_debug.o \
misc_definitions_module.o cio.o met_data_module.o \
-L/lib -lncarg -lncarg_gks -lncarg_c -L/usr/X11R6/lib -lX11
IPO link: can not find -lncarg
ifort: error: problem during multi-file optimization compilation (code 1)
make[1]: [plotfmt.exe] Error 1 (ignored)
make[1]: Leaving directory `/home/sushant/Downloads/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/sushant/Downloads/WPS/../WRFV3 ; \
fi ; \
make -i -r rd_intermediate.exe \
WRF_DIR="$WRF_DIR2" \
FC="ifort" \
CC="gcc" \
CPP="/lib/cpp -C -P -traditional" \
FFLAGS="-FR -convert big_endian" \
CFLAGS="-w" \
LDFLAGS="" \
CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_UTIL" )
make[1]: Entering directory `/home/sushant/Downloads/WPS/util/src'
make[1]: `rd_intermediate.exe' is up to date.
make[1]: Leaving directory `/home/sushant/Downloads/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/sushant/Downloads/WPS/../WRFV3 ; \
fi ; \
make -i -r plotgrids.exe \
WRF_DIR="$WRF_DIR2" \
FC="ifort" \
CC="gcc" \
CPP="/lib/cpp -C -P -traditional" \
FFLAGS="-FR -convert big_endian" \
CFLAGS="-w" \
LDFLAGS="" \
CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_UTIL" )
make[1]: Entering directory `/home/sushant/Downloads/WPS/util/src'
ifort -o plotgrids.exe module_map_utils.o module_debug.o cio.o constants_module.o misc_definitions_module.o \
plotgrids.o -L/lib -lncarg -lncarg_gks -lncarg_c -L/usr/X11R6/lib -lX11
IPO link: can not find -lncarg
ifort: error: problem during multi-file optimization compilation (code 1)
make[1]: [plotgrids.exe] Error 1 (ignored)
make[1]: Leaving directory `/home/sushant/Downloads/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/sushant/Downloads/WPS/../WRFV3 ; \
fi ; \
make -i -r mod_levs.exe \
WRF_DIR="$WRF_DIR2" \
FC="ifort" \
CC="gcc" \
CPP="/lib/cpp -C -P -traditional" \
FFLAGS="-FR -convert big_endian" \
CFLAGS="-w" \
LDFLAGS="" \
CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_UTIL" )
make[1]: Entering directory `/home/sushant/Downloads/WPS/util/src'
make[1]: `mod_levs.exe' is up to date.
make[1]: Leaving directory `/home/sushant/Downloads/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/sushant/Downloads/WPS/../WRFV3 ; \
fi ; \
make -i -r avg_tsfc.exe \
WRF_DIR="$WRF_DIR2" \
FC="ifort" \
CC="gcc" \
CPP="/lib/cpp -C -P -traditional" \
FFLAGS="-FR -convert big_endian" \
CFLAGS="-w" \
LDFLAGS="" \
CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_UTIL" )
make[1]: Entering directory `/home/sushant/Downloads/WPS/util/src'
make[1]: `avg_tsfc.exe' is up to date.
make[1]: Leaving directory `/home/sushant/Downloads/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/sushant/Downloads/WPS/../WRFV3 ; \
fi ; \
make -i -r calc_ecmwf_p.exe \
WRF_DIR="$WRF_DIR2" \
FC="ifort" \
CC="gcc" \
CPP="/lib/cpp -C -P -traditional" \
FFLAGS="-FR -convert big_endian" \
CFLAGS="-w" \
LDFLAGS="" \
CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_UTIL" )
make[1]: Entering directory `/home/sushant/Downloads/WPS/util/src'
make[1]: `calc_ecmwf_p.exe' is up to date.
make[1]: Leaving directory `/home/sushant/Downloads/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/sushant/Downloads/WPS/../WRFV3 ; \
fi ; \
make -i -r height_ukmo.exe \
WRF_DIR="$WRF_DIR2" \
FC="ifort" \
CC="gcc" \
CPP="/lib/cpp -C -P -traditional" \
FFLAGS="-FR -convert big_endian" \
CFLAGS="-w" \
LDFLAGS="" \
CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_UTIL" )
make[1]: Entering directory `/home/sushant/Downloads/WPS/util/src'
make[1]: `height_ukmo.exe' is up to date.
make[1]: Leaving directory `/home/sushant/Downloads/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