WPS executables missing

Installing the WRF Preprocessing System

WPS executables missing

Postby JamesB » Thu Sep 04, 2014 11:58 am

Hello,

I am having trouble getting all of the executables needed to run WPS.
I am compiling the WPS system on a paralled processing computer with PGI compilers.

First I have the following when I configure the WPS system:
jbrownlee2009@blueshark-> ./configure
Will use NETCDF in dir: /udrive/student/jbrownlee2009/Build_WRF/LIBRARIES/netcdf
Found Jasper environment variables for GRIB2 support...
$JASPERLIB = /udrive/student/jbrownlee2009/Build_WRF/LIBRARIES/jasper-1.900.1/lib
$JASPERINC = /udrive/student/jbrownlee2009/Build_WRF/LIBRARIES/jasper-1.900.1/include
------------------------------------------------------------------------
Please select from among the following supported platforms.

1. Linux x86_64, gfortran (serial)
2. Linux x86_64, gfortran (serial_NO_GRIB2)
3. Linux x86_64, gfortran (dmpar)
4. Linux x86_64, gfortran (dmpar_NO_GRIB2)
5. Linux x86_64, PGI compiler (serial)
6. Linux x86_64, PGI compiler (serial_NO_GRIB2)
7. Linux x86_64, PGI compiler (dmpar)
8. Linux x86_64, PGI compiler (dmpar_NO_GRIB2)
9. Linux x86_64, PGI compiler, SGI MPT (serial)
10. Linux x86_64, PGI compiler, SGI MPT (serial_NO_GRIB2)
11. Linux x86_64, PGI compiler, SGI MPT (dmpar)
12. Linux x86_64, PGI compiler, SGI MPT (dmpar_NO_GRIB2)
13. Linux x86_64, IA64 and Opteron (serial)
14. Linux x86_64, IA64 and Opteron (serial_NO_GRIB2)
15. Linux x86_64, IA64 and Opteron (dmpar)
16. Linux x86_64, IA64 and Opteron (dmpar_NO_GRIB2)
17. Linux x86_64, Intel compiler (serial)
18. Linux x86_64, Intel compiler (serial_NO_GRIB2)
19. Linux x86_64, Intel compiler (dmpar)
20. Linux x86_64, Intel compiler (dmpar_NO_GRIB2)
21. Linux x86_64, Intel compiler, SGI MPT (serial)
22. Linux x86_64, Intel compiler, SGI MPT (serial_NO_GRIB2)
23. Linux x86_64, Intel compiler, SGI MPT (dmpar)
24. Linux x86_64, Intel compiler, SGI MPT (dmpar_NO_GRIB2)
25. Linux x86_64 g95 compiler (serial)
26. Linux x86_64 g95 compiler (serial_NO_GRIB2)
27. Linux x86_64 g95 compiler (dmpar)
28. Linux x86_64 g95 compiler (dmpar_NO_GRIB2)
29. Cray XE/XC CLE/Linux x86_64, Cray compiler (serial)
30. Cray XE/XC CLE/Linux x86_64, Cray compiler (serial_NO_GRIB2)
31. Cray XE/XC CLE/Linux x86_64, Cray compiler (dmpar)
32. Cray XE/XC CLE/Linux x86_64, Cray compiler (dmpar_NO_GRIB2)
33. Cray XC CLE/Linux x86_64, Intel compiler (serial)
34. Cray XC CLE/Linux x86_64, Intel compiler (serial_NO_GRIB2)
35. Cray XC CLE/Linux x86_64, Intel compiler (dmpar)
36. Cray XC CLE/Linux x86_64, Intel compiler (dmpar_NO_GRIB2)

Enter selection [1-36] : 5
------------------------------------------------------------------------
Configuration successful. To build the WPS, type: compile
------------------------------------------------------------------------

Testing for NetCDF, C and Fortran compiler

This installation NetCDF is 64-bit
C compiler is 64-bit
Fortran compiler is 64-bit

jbrownlee2009@blueshark-> ./compile > & compile.log

After I compile, I am supposed to have the following set of exectubale files:
geogrid.exe -> geogrid/src/geogrid.exe
metgrid.exe -> metgrid/src/metgrid.exe
ungrib.exe -> ungrib/src/ungrid.exe

And under the util/ directory, I am supposed to have this set of executables:
avg_tsfc.exe
g1print.exe
g2print.exe
mod_levs.exe
rd_intermediate.exe
calc_ecmwf_p.exe
height_ukmo.exe

When I compile the WPS code, I get all of these executables except for the following:
ungrib.exe and g2print.exe

When I look in the compile.log file, I noticed the following errors:

pgcc -c -O -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -I/udrive/student/jbrownlee2009/Build_WRF/LIBRARIES/jasper-1.900.1/include -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ enc_png.c
PGC-F-0206-Can't find include file png.h (enc_png.c: 5)
PGC/x86-64 Linux 13.5-0: compilation aborted
make[2]: [enc_png.o] Error 2 (ignored)
pgcc -c -O -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -I/udrive/student/jbrownlee2009/Build_WRF/LIBRARIES/jasper-1.900.1/include -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ dec_png.c
PGC-F-0206-Can't find include file png.h (dec_png.c: 5)
PGC/x86-64 Linux 13.5-0: compilation aborted
make[2]: [dec_png.o] Error 2 (ignored)
pgf90 -c -Mfixed -byteswapio -O gbytesc.f
pgf90 -c -Mfixed -byteswapio -O skgb.f
pgf90 -c -Mfixed -byteswapio -O ixgb2.f
pgf90 -c -Mfixed -byteswapio -O getidx.f
pgf90 -c -Mfixed -byteswapio -O getg2i.f
pgf90 -c -Mfixed -byteswapio -O getg2ir.f
pgf90 -c -Mfixed -byteswapio -O getgb2s.f
pgf90 -c -Mfixed -byteswapio -O getgb2r.f
pgf90 -c -Mfixed -byteswapio -O getgb2l.f
pgf90 -c -Mfixed -byteswapio -O getgb2.f
pgf90 -c -Mfixed -byteswapio -O getgb2p.f
pgf90 -c -Mfixed -byteswapio -O getgb2rp.f
pgf90 -c -Mfixed -byteswapio -O putgb2.f
pgf90 -c -Mfixed -byteswapio -O g2grids.f
pgf90 -c -Mfixed -byteswapio -O gdt2gds.f
pgf90 -c -Mfixed -byteswapio -O params.f
pgf90 -c -Mfixed -byteswapio -O params_ecmwf.f
pgcc -c -O -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -I/udrive/student/jbrownlee2009/Build_WRF/LIBRARIES/jasper-1.900.1/include -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ mova2i.c
/bin/rm -f libg2_4.a
ar ru libg2_4.a gridtemplates.o pdstemplates.o drstemplates.o gribmod.o realloc.o addfield.o addgrid.o addlocal.o getfield.o gb_info.o gf_getfld.o gf_free.o gf_unpack1.o gf_unpack2.o gf_unpack3.o gf_unpack4.o gf_unpack5.o gf_unpack6.o gf_unpack7.o gettemplates.o getlocal.o getdim.o getpoly.o gribcreate.o gribend.o gribinfo.o mkieee.o rdieee.o simpack.o simunpack.o cmplxpack.o compack.o misspack.o pack_gp.o reduce.o comunpack.o specpack.o specunpack.o jpcpack.o jpcunpack.o enc_jpeg2000.o dec_jpeg2000.o pngpack.o pngunpack.o enc_png.o dec_png.o gbytesc.o skgb.o ixgb2.o getidx.o getg2i.o getg2ir.o getgb2s.o getgb2r.o getgb2l.o getgb2.o getgb2p.o getgb2rp.o putgb2.o g2grids.o gdt2gds.o params.o params_ecmwf.o mova2i.o
ar: creating libg2_4.a
ar: enc_png.o: No such file or directory
make[2]: [libg2_4.a] Error 1 (ignored)
echo libg2_4.a
libg2_4.a

gcc -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_UNGRIB -O -c cio.c
PGC-W-0156-Type not specified, 'int' assumed (cio.c: 67)
PGC-W-0156-Type not specified, 'int' assumed (cio.c: 132)
PGC-W-0156-Type not specified, 'int' assumed (cio.c: 167)
PGC-W-0156-Type not specified, 'int' assumed (cio.c: 202)
PGC-W-0156-Type not specified, 'int' assumed (cio.c: 244)
PGC/x86-64 Linux 13.5-0: compilation completed with warnings
/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
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/udrive/student/jbrownlee2009/Build_WRF/LIBRARIES/jasper-1.900.1/lib -ljasper -lpng -lz \
-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 \
-L/udrive/student/jbrownlee2009/Build_WRF/LIBRARIES/jasper-1.900.1/lib -ljasper -lpng -lz \
libpgu.a ; \
fi
/usr/bin/ld: cannot find -lg2_4
make[1]: [ungrib.exe] Error 2 (ignored)
make[1]: Leaving directory `/udrive/student/jbrownlee2009/Build_WRF/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]: Entering directory `/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS/metgrid/src'

ake[1]: Leaving directory `/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS/metgrid/src'
( cd src/ngl ; make -i -r DEV_TOP="/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS" CC="pgcc" FC="pgf90" RANLIB="echo" all )
make[1]: Entering directory `/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS/ungrib/src/ngl'
( cd g2 ; make -i -r DEV_TOP="/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS" all ; echo libg2_4.a )
make[2]: Entering directory `/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS/ungrib/src/ngl/g2'
Makefile:67: warning: overriding commands for target `.F.o'
/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS/configure.wps:106: warning: ignoring old commands for target `.F.o'
Makefile:72: warning: overriding commands for target `.f.o'
/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS/configure.wps:102: warning: ignoring old commands for target `.f.o'
Makefile:75: warning: overriding commands for target `.c.o'
/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS/configure.wps:98: warning: ignoring old commands for target `.c.o'
pgcc -c -O -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -I/udrive/student/jbrownlee2009/Build_WRF/LIBRARIES/jasper-1.900.1/include -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ enc_png.c
PGC-F-0206-Can't find include file png.h (enc_png.c: 5)
PGC/x86-64 Linux 13.5-0: compilation aborted
make[2]: [enc_png.o] Error 2 (ignored)
pgcc -c -O -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -I/udrive/student/jbrownlee2009/Build_WRF/LIBRARIES/jasper-1.900.1/include -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ dec_png.c
PGC-F-0206-Can't find include file png.h (dec_png.c: 5)
PGC/x86-64 Linux 13.5-0: compilation aborted
make[2]: [dec_png.o] Error 2 (ignored)
/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_png.o: No such file or directory
make[2]: [libg2_4.a] Error 1 (ignored)
echo libg2_4.a
libg2_4.a
make[2]: Leaving directory `/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS/ungrib/src/ngl/g2'
libg2_4.a
ln -sf g2/libg2_4.a .
make[1]: Leaving directory `/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS/ungrib/src/ngl'
( cd src ; \
if [ "" = yes ] ; then \
WRF_DIR2=../WRFV3 ; \
else \
WRF_DIR2=/udrive/student/jbrownlee2009/Build_WRF/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]: Entering directory `/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS/ungrib/src'
Makefile:90: warning: overriding commands for target `.F.o'
../../configure.wps:106: warning: ignoring old commands for target `.F.o'
Makefile:95: warning: overriding commands for target `.c.o'
../../configure.wps:98: warning: ignoring old commands for target `.c.o'

ake[2]: Entering directory `/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS/ungrib/src/ngl/g2'
Makefile:67: warning: overriding commands for target `.F.o'
/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS/configure.wps:106: warning: ignoring old commands for target `.F.o'
Makefile:72: warning: overriding commands for target `.f.o'
/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS/configure.wps:102: warning: ignoring old commands for target `.f.o'
Makefile:75: warning: overriding commands for target `.c.o'
/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS/configure.wps:98: warning: ignoring old commands for target `.c.o'
pgcc -c -O -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -I/udrive/student/jbrownlee2009/Build_WRF/LIBRARIES/jasper-1.900.1/include -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ enc_png.c
PGC-F-0206-Can't find include file png.h (enc_png.c: 5)
PGC/x86-64 Linux 13.5-0: compilation aborted
make[2]: [enc_png.o] Error 2 (ignored)
pgcc -c -O -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -I/udrive/student/jbrownlee2009/Build_WRF/LIBRARIES/jasper-1.900.1/include -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ dec_png.c
PGC-F-0206-Can't find include file png.h (dec_png.c: 5)
PGC/x86-64 Linux 13.5-0: compilation aborted
make[2]: [dec_png.o] Error 2 (ignored)
/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_png.o: No such file or directory
make[2]: [libg2_4.a] Error 1 (ignored)
echo libg2_4.a
libg2_4.a
make[2]: Leaving directory `/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS/ungrib/src/ngl/g2'
libg2_4.a
ln -sf g2/libg2_4.a .
make[1]: Leaving directory `/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS/ungrib/src/ngl'
( cd src ; \
if [ "" = yes ] ; then \
WRF_DIR2=../WRFV3 ; \
else \
WRF_DIR2=/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS/../WRFV3 ; \
fi ; \
make -i -r g2print.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]: Entering directory `/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS/ungrib/src'
Makefile:90: warning: overriding commands for target `.F.o'
../../configure.wps:106: warning: ignoring old commands for target `.F.o'
Makefile:95: warning: overriding commands for target `.c.o'
../../configure.wps:98: warning: ignoring old commands for target `.c.o'
/lib/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_GRIBUTIL g2print.F > g2print.f90
pgf90 -c -Mfree -byteswapio -O g2print.f90 -I. -I./ngl/g2
if [ -z ] ; then \
pgf90 -o g2print.exe g2print.o \
filelist.o gridinfo.o \
-L. -lpgu \
-L./ngl -lw3 -lg2_4 \
-L/udrive/student/jbrownlee2009/Build_WRF/LIBRARIES/jasper-1.900.1/lib -ljasper -lpng -lz ; \
else \
pgf90 -o g2print.exe g2print.o \
filelist.o gridinfo.o \
libpgu.a \
./ngl/w3/libw3.a ./ngl/g2/libg2_4.a \
-L/udrive/student/jbrownlee2009/Build_WRF/LIBRARIES/jasper-1.900.1/lib -ljasper -lpng -lz ; \
fi
/usr/bin/ld: cannot find -lg2_4
make[1]: [g2print.exe] Error 2 (ignored)
make[1]: Leaving directory `/udrive/student/jbrownlee2009/Build_WRF/WRF/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=/udrive/student/jbrownlee2009/Build_WRF/WRF/WPS/../WRFV3 ; \
fi ; \
make -i -r rd_intermediate.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_UTIL" )
make[1]: Entering directory `/udrive/student/jbrownlee2009/Build_WRF/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
/bin/rm -f module_debug.o module_debug.mod

I am not sure what to do, any help would be greatly appreciated.
JamesB
 
Posts: 5
Joined: Fri May 09, 2014 4:44 pm

Return to Installation

Who is online

Users browsing this forum: No registered users and 2 guests