[Wrf-users] Problem running WPS with Grib2 data

Ricardo C. Almeida rcalmeida at terra.com.br
Tue Sep 25 16:50:54 MDT 2007


Dear WRF Users,

I have WRF-ARW installed on a AMD Dual Core 64, with Intel compiler, and working fine. I've used SI to prepare initial/boundary conditions

I've recently installed WPS. Since there is no option for Intel compiler in the configuration menu, I made the following changes in "configure.defaults" , with NO GRIB2 option:
###########################################################

#ARCH PC Linux x86_64 (IA64 and Opteron), Intel compiler, serial, NO GRIB2

#

COMPRESSION_LIBS =

COMPRESSION_INC =

FDEFS =

FC = ifort

SFC = ifort

FFLAGS = -FR -convert big_endian

F77FLAGS = -convert big_endian

FNGFLAGS = $(FFLAGS)

LDFLAGS = 

CC = gcc

SCC = gcc

CFLAGS = -O

CPP = /lib/cpp -C -P -traditional

CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32

.............................................................................



After building the executables I tested them with some Grib1 data (GFS) and everything worked just fine.

After checking that I had the three additional libraries (jasper, zlib and PNG) and cleaning up the previous objects and executables (with "clean") I tried to build the executables to work with Grib2 data. 

I used the following configuration file:

###########################################################

#ARCH PC Linux x86_64 (IA64 and Opteron), Intel compiler, serial

#

COMPRESSION_LIBS = -L/contrib/jasper/lib -ljasper \

                                           -L/contrib/libpng/lib -lpng \

                                           -L/contrib/zlib/lib -lz

COMPRESSION_INC = -I/contrib/zlib/include \

                                            -I/contrib/jasper/include \

                                           -I/contrib/libpng/include

FDEFS =

FC = ifort

SFC = ifort

FFLAGS = -FR -convert big_endian

F77FLAGS = -convert big_endian

FNGFLAGS = $(FFLAGS)

LDFLAGS = 

CC = gcc

SCC = gcc

CFLAGS = -w

CPP = /lib/cpp -C -P -traditional

CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32

...................................................................................

The executables were correctly built. However, when I run ungrib.exe I get the following message:

"......

Grib Edition 2 data detected and png and jpeg libs were not selected during the build.

Stopping

ERROR: NEED_GRIB2_LIBS "



I checked the compile.output file and verified that the three libraries were correctly linked during the build. There were no error messages related to those libraries. 

Two error messages occurred, related to NCAR libraries, (I don't think  they  affect ungrib).

I would like to know if anybody had the same problem and would appreciate any suggestions to fix it.

With best regards,

Ricardo.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20070925/312cc8e6/attachment.html


More information about the Wrf-users mailing list