[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #UGD-926588]: Support for netCDF4 in Perl



Cathy,

> Steve: From Barry. We also have been trying PDL::NetCDF and got hdf
> errors for that. I don't know if that's useful to know.
> 
> Cathy
> 
> 
> 
> Tried as suggested - still HDF5 errors amongst others.
> Install script is using "-m64 gfortran" parameters.
> Maybe hdf5 needs to be reconfigured ?
> 
> #!/bin/sh
> 
> export PATH=/usr/local/gcc-4.4.3/bin:/usr/local/bin:$PATH
> export LD_LIBRARY_PATH=/usr/local/gcc-4.4.3/lib:/usr/local/lib
> 
> export NF_INT1_IS_C_SHORT=1
> export NF_INT2_IS_C_SHORT=1
> export NF_INT_IS_C_INT=1
> export NF_REAL_IS_C_FLOAT=1
> export NF_DOUBLEPRECISION_IS_C_DOUBLE=1
> 
> export  FC=$2
> export  CXX=g++
> export  CC=gcc
> 
> export  CPPFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
> export  CFLAGS=$1
> export  FFLAGS=$1
> export  FCFLAGS=$1
> export  LDFLAGS="-L/usr/local/lib"
> 
> ./configure --prefix=/usr/local/$2 \
> --enable-netcdf4 \
> --with-udunits=/usr/local \
> --with-hdf5=/usr/local \
> --enable-dap \
> --enable-shared \
> --with-zlib=/usr/local \
> --disable-fortran-compiler-check \
> --disable-fortran-type-check \
> --with-szlib=/usr/local
> 
> make clean
> make
> make check
> 
> 
> On 1/10/11 2:40 PM, Cathy Smith wrote:
> > > Barry, did what Steve had look like a possibility?
> > >
> > > I think if we can't do netcdf4 and Perl, I'll have to use netCDF3, at
> > > least for now.
> > >
> > > Cathy
> > >
> -- --- Barry McInnes 325 Broadway Boulder CO 80304 (303)4976231
> address@hidden ---

I've talked your problem over with one of the netCDF developers and we're both 
a bit stumped.

Is there any chance that we could log onto the machine in question to 
investigate the problem futher?


Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: UGD-926588
Department: Support netCDF Perl
Priority: Normal
Status: Closed