Hi John: Sorry, in haste I did not update the README. You need a recent version of HDF5 installed when you install netcdf-4 in order to get the recent netcdf 4 capabilities.
So, what I did was download HDF5: http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.8.3.tar.gz and compile and install it in (say) /usr/local then download netcdf-4.0: http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-4.0.1.tar.gz and compile and install it. There is a configure flag you need to set: ./configure --with-hdf5=/usr/local --prefix=/usr/local Finally, install PDL-NetCDF: export NETCDF_EXTRALIBS='-L/usr/local/lib -lhdf5_hl -lhdf5 -lz' export NETCDF_INCDIR=/usr/local/include export NETCDF_LIBDIR=/usr/local/lib perl Makefile.PL Regards, Doug [email protected] Software Engineer UCAR - COSMIC, Tel. (303) 497-2611 On Fri, 29 May 2009, John D. Evans wrote: > Hello Doug, Heiko, > > I've tried building the recent PDL-NetCDF module using the NetCDF4 and > HDF5 libraries, but I've never gotten it to produce a true/nonzero value > for "PDL::NetCDF::isNetcdf4" ... or to read a NetCDF4 file. > > It compiles cleanly, but without NetCDF4 capability. > > Is there more to the build procedure than what's in the README file? > > Thanks. > > - John D. Evans, Ph.D <[email protected]> > Global Science & Technology, Inc. > NASA Software Integration & Visualization Office > Greenbelt, MD > > Doug Hunt wrote: >> Hi John: I just uploaded a new version of PDL-NetCDF that supports >> netcdf 4 to CPAN. Thanks to Heiko Klein for this updated capability! >> >> Regards, >> >> Doug Hunt >> >> [email protected] >> Software Engineer >> UCAR - COSMIC, Tel. (303) 497-2611 >> >> On Wed, 20 May 2009, John D. Evans wrote: >>> Hi Doug, >>> >>> You wrote on Mar. 12: >>>> I've just received a contribution from a user of a patch to >>>> PDL::NetCDF to add netCDF-4 support. I've yet to test it out, >>>> but this will probably mean basic netCDF-4 support will be >>>> available in PDL::NetCDF within a few weeks. >>> I read the above with great interest. Do you have a time >>> estimate for releasing the PDL NetCDF-4 support? >>> >>> Thanks. > _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
