Re: [decoders] decoder installation problem

NOTE: The decoders mailing list is no longer active. The list archives are made available for historical reasons.

Hi Rajesh,

On the Decoders page it says that this package is being deprecated, actually it is not used anymore because of it's limitation to Grib1 type files. Hopefully you didn't spent much time on trying to build it.

That said, there is a Java package that's included with the netcdf-java package that will convert your Grib1 and Grib2 files to netCDF.

Here's a url that contains the steps needed to install/use the package:

http://www.unidata.ucar.edu/software/decoders/grib/grib2netcdf

Again the link to netcdf-java:

http://www.unidata.ucar.edu/software/netcdf-java/

Robb...


On Fri, 26 Mar 2010, Rajesh J wrote:

Hi users,
while installin netcdf decoders on AIX5.3 p6 machine, the following
error occurs.

bash-3.2#
bash-3.2# ./script-to-install-netcdf-deco

making `clean' in directory /usr/local/decoders-2.3.8n/src/gribtonc

       rm -f gribdump gribtonc gribtocdl gribs.br gribs.dec quasi.dec
a.out core *.o *.i *.a *.so.* *.sa.*  *.so *.u *.pure *.pure_hardlink
*.pure_linkinfo conftest*  test.out test.pure.out  *.aux *.toc *.dvi
config.cache *.Z tags MANIFEST *~
       rm -f gribtonc gribdump gribtocdl a.out core *.o *.i *.a
*.so.* *.sa.*  *.so *.u *.pure *.pure_hardlink *.pure_linkinfo
conftest*  config.cache *.Z *.log tags *~

returning to directory /usr/local/decoders-2.3.8n/src

       rm -f   a.out core *.o *.i *.a *.so.* *.sa.*  *.so *.u *.pure
*.pure_hardlink *.pure_linkinfo conftest*  test.out test.pure.out
*.aux *.toc *.dvi  config.cache *.Z tags MANIFEST *~
Target "clean" is up to date.

making `distclean' in directory /usr/local/decoders-2.3.8n/src/gribtonc

       rm -f gribdump gribtonc gribtocdl gribs.br gribs.dec quasi.dec
a.out core *.o *.i *.a *.so.* *.sa.*  *.so *.u *.pure *.pure_hardlink
*.pure_linkinfo conftest*  test.out  *.aux *.toc *.dvi  config.cache
*.Z *.log tags TAGS MANIFEST *~  Makefile config.status cc_id
Target "distclean" is up to date.

returning to directory /usr/local/decoders-2.3.8n/src

       rm -f   a.out core *.o *.i *.a *.so.* *.sa.*  *.so *.u *.pure
*.pure_hardlink *.pure_linkinfo conftest*  test.out  *.aux *.toc *.dvi
config.cache *.Z *.log tags TAGS MANIFEST *~  Makefile config.status
cc_id
Target "distclean" is up to date.
creating cache ./config.cache
checking for catman... catman
checking the installation prefix... /usr/local/decoders-2.3.8n
checking the installation exec-prefix... /usr/local/decoders-2.3.8n
checking for C compiler... /usr/vac/bin/xlc
checking how to run the C preprocessor... /bin/cpp
checking the C preprocessor... works
checking for ranlib... ranlib
checking type of operating system... aix
checking for dependency generation mechanism... /usr/vac/bin/xlc -M
checking for tbl... tbl
checking for neqn... neqn
checking for tar flags... -chf
checking for package version... 2.3
checking for netCDF header-file...
-I/usr/local/netcdf/netcdf3/netcdf-4.0.1/include
checking for netCDF library...
-L/usr/local/netcdf/netcdf3/netcdf-4.0.1/lib -lnetcdf
checking for udunits header-file... -I/usr/local/udunits-2.1.14/include
checking for udunits library... -L/usr/local/udunits-2.1.14/lib
-ludunits -ludport
checking for BSD sockets library...
checking for socket(0,0,0) in default library(s)... yes
checking for RPC library...
checking for clnttcp_create() in default library(s)... yes
checking for BSD sockets library...
checking ulog defines...  -DLOGNAME_ISSOCK
updating cache ./config.cache
creating ./config.status
creating Makefile
creating gribtonc/Makefile
creating gribtonc/cdl/Makefile
creating ascii/Makefile
creating metar/Makefile
creating syn/Makefile
creating buoy/Makefile
creating upperair/Makefile
creating ldmConnect/Makefile
creating port/master.mk
creating port/Makefile
expanding `include's in file `Makefile'
expanding `include's in file `gribtonc/Makefile'
expanding `include's in file `gribtonc/cdl/Makefile'
expanding `include's in file `ascii/Makefile'
expanding `include's in file `metar/Makefile'
expanding `include's in file `syn/Makefile'
expanding `include's in file `buoy/Makefile'
expanding `include's in file `upperair/Makefile'
expanding `include's in file `ldmConnect/Makefile'
expanding `include's in file `port/master.mk'
expanding `include's in file `port/Makefile'
bash-3.2# make

making `all' in directory /usr/local/decoders-2.3.8n/src/gribtonc

       /usr/vac/bin/xlc -c
-I/usr/local/netcdf/netcdf3/netcdf-4.0.1/include
-I/usr/local/udunits-2.1.14/include  -D_ALL_SOURCE emalloc.c
       /usr/vac/bin/xlc -c
-I/usr/local/netcdf/netcdf3/netcdf-4.0.1/include
-I/usr/local/udunits-2.1.14/include  -D_ALL_SOURCE gbds.c
       /usr/vac/bin/xlc -c
-I/usr/local/netcdf/netcdf3/netcdf-4.0.1/include
-I/usr/local/udunits-2.1.14/include  -D_ALL_SOURCE gbytem.c
       /usr/vac/bin/xlc -c
-I/usr/local/netcdf/netcdf3/netcdf-4.0.1/include
-I/usr/local/udunits-2.1.14/include  -D_ALL_SOURCE gdes.c
       /usr/vac/bin/xlc -c
-I/usr/local/netcdf/netcdf3/netcdf-4.0.1/include
-I/usr/local/udunits-2.1.14/include  -D_ALL_SOURCE get_prod.c
       /usr/vac/bin/xlc -c
-I/usr/local/netcdf/netcdf3/netcdf-4.0.1/include
-I/usr/local/udunits-2.1.14/include  -D_ALL_SOURCE grib1.c
       /usr/vac/bin/xlc -c
-I/usr/local/netcdf/netcdf3/netcdf-4.0.1/include
-I/usr/local/udunits-2.1.14/include  -D_ALL_SOURCE gribtypes.c
       /usr/vac/bin/xlc -c
-I/usr/local/netcdf/netcdf3/netcdf-4.0.1/include
-I/usr/local/udunits-2.1.14/include  -D_ALL_SOURCE inetutil.c
"inetutil.c", line 24.17: 1506-275 (S) Unexpected text 'int' encountered.
"inetutil.c", line 24.17: 1506-275 (S) Unexpected text ')' encountered.
"inetutil.c", line 24.24: 1506-276 (S) Syntax error: possible missing ')'?
"inetutil.c", line 24.17: 1506-343 (S) Redeclaration of h_errno_which
differs from previous declaration on line 56 of
"/usr/include/netdb.h".
"inetutil.c", line 24.17: 1506-050 (I) Return type "int**" in
redeclaration is not compatible with the previous return type "void*".
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
bash-3.2#

THE SCRIPT I RUN IS


export CFLAGS=-q64
export FFLAGS=-q64
export CXXFLAGS=-q64
export ARFLAGS='-X64 cru'
export NMFLAGS='-X64'
make clean
make distclean
export CC=/usr/vac/bin/xlc
export FC=/bin/xlf90
export CPP=/bin/cpp
export CXX=/usr/vacpp/bin/xlC


sh configure --prefix=/usr/local/decoders-2.3.8n



Can anyone please help me.

Regards,

Rajesh
Consultant,
('PRITHVI' High Performance Computing System,
Indian Institute of Tropical Meteorology, Pune)
HCL Infosystems Ltd.
Arena 10, Pune Nagar Road, Viman Nagar, Pune

_______________________________________________
decoders mailing list
decoders@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/


===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
rkambic@xxxxxxxxxxxxxxxx                   WWW: http://www.unidata.ucar.edu/
===============================================================================



  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the decoders archives: