[Wrf-users] Problem running WPS with Grib2 data
Ricardo C. Almeida
rcalmeida at terra.com.br
Wed Sep 26 04:27:30 MDT 2007
Dear Seshagiri,
Thanks for your message. I'm afraid that your suggestion will not work,
because of the following reasons:
1- I don't have PGI compiler. My compiler is Intel;
2-I intend to run the serial version of WPS, not the parallel one; and
3-The first time I built ungrib, I used the NO GRIB2 option. However, the
second time I built it, I adjusted the "configure.defaults" file in order to
included the GRIB2 configuration, including the compression_libs and
compression_inc options.
Best regards,
Ricardo.
----- Original Message -----
From: "Seshagiri Rao" <seshu_meteo16 at yahoo.com>
To: "Ricardo C. Almeida" <rcalmeida at terra.com.br>
Sent: Wednesday, September 26, 2007 4:03 AM
Subject: Re: [Wrf-users] Problem running WPS with Grib2 data
> Dear Sir,
> You have compiled the wps programme with out grib2
> options.
> You can choose the following option and again compile
> with your compiler options.
> #ARCH PC Linux x86_64 (IA64 and Opteron), PGI
> compiler 5.2 or higher, DM parallel
>
> Let me know any progresses.
> with best regards,
> K.Seshagiri Rao,
> Senior Research Fellow,
> Agro Climate Research Centre,
> Tamil Nadu Agricultural University,
> Coimbatore-641 003, India.
>
> --- "Ricardo C. Almeida" <rcalmeida at terra.com.br>
> wrote:
>
>> 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.
>>
>>
>> > _______________________________________________
>> Wrf-users mailing list
>> Wrf-users at ucar.edu
>> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>>
>
>
>
>
> ____________________________________________________________________________________
> Need a vacation? Get great deals
> to amazing places on Yahoo! Travel.
> http://travel.yahoo.com/
>
> E-mail classificado pelo Identificador de Spam Inteligente Terra.
> Para alterar a categoria classificada, visite
> http://mail.terra.com.br/cgi-bin/imail.cgi?+_u=rio1051652&_l=1,1190779434.177806.25970.domoni.hst.terra.com.br,5609,Des15,Des15
>
> Esta mensagem foi verificada pelo E-mail Protegido Terra.
> Scan engine: McAfee VirusScan / Atualizado em 25/09/2007 / Versão:
> 5.1.00/5127
> Proteja o seu e-mail Terra: http://mail.terra.com.br/
>
>
More information about the Wrf-users
mailing list