Hi Ed,
I think there is a small (but rather important!) error on the quick
install instructions web page:
http://www.unidata.ucar.edu/software/netcdf/netcdf-4/newdocs/netcdf-install/Quick-Instructions-for-Installing-NetCDF-on-Unix.html
When I used the configure command line as per the web page:
$ ./configure --enable-netcdf4 --with-hdf5=/usr/local --prefix=/usr/local
I noticed that my config.log contained the following:
...
configure:2142: checking whether netCDF-4 is to be built
configure:2150: result: no
...
Poking around a bit more I discovered that the command line switch
should be '--enable-netcdf-4' (note dash between f & 4), not
'--enable-netcdf4' as given on this web page. This is actually given
correctly lower down on the page ("Without the –enable-netcdf-4
argument, ...") but I didn't spot that at first.
Changing the command line to:
$ ./configure --enable-netcdf-4 --with-hdf5=/usr/local --prefix=/usr/local
results in the the expected config.log entry:
configure:2142: checking whether netCDF-4 is to be built
configure:2150: result: yes
I wander if others have similarly mis-configured their 'netCDF-4'
install? Turns out I did the same thing with alpha 16 a few weeks back
but didn't notice since I wasn't actually using any netCDF-4 features
(Though, I guess it explains why I didn't seem to have some netCDF-4
function protos (eg nc_def_cmp()) in my netcdf.h?)
Unfortunately I now get tests failing under 'make check' (both alpha16 &
17), but I haven't got to the bottom of that yet -- I'll dig around some
more and send a proper bug report when I've got some more details. In
the meantime I thought you might want to fix up the install page.
cheers
Simon Wood
Ed Hartnett wrote:
Howdy all!
I have just put a new alpha release of netCDF-4.0 on the ftp site,
alpha 17:
ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4/netcdf-4.0-alpha.tar.gz
This release still works with HDF5 1.7.52, which can also be found on
the netCDF-4 ftp site.
NetCDF-4 should be built according to the instructions here:
http://www.unidata.ucar.edu/software/netcdf/netcdf-4/newdocs/netcdf-install/Quick-Instructions-for-Installing-NetCDF-on-Unix.html
Reasonably complete documentation exists for the C API at:
http://www.unidata.ucar.edu/software/netcdf/netcdf-4/newdocs/netcdf-c/
This alpha release fixes some bugs, particularly in the F77 and F90
APIs.
It also adds the capability of controlling the endianness of netCDF-4
variables.
Please let me know if you have any questions.
Thanks,
Ed
--
Simon Wood Meteorology & Remote Sensing
Scientific Programmer NIWA
simon.wood@xxxxxxxxxx http://www.niwa.co.nz
==============================================================================
To unsubscribe netcdf-hdf, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================