How should netcdf4 configure, how to find hdf5, etc.

Greetings,

This note is to kick off a discussion of how netcdf should configure, in
order to discover hdf5.

The current setup (as of alpha 2) uses h5cc.

I.e., HDF 5 is installed, then in the netcdf4 directory, you

  1. set CC to h5cc or h5pc
  2. ./configure --enable-netcdf-4 [--enable-parallel] [...]

We have encountered problems, apparently due to subtle interactions of
h5cc and automake's generated makefiles.

I libtoolized netcdf4, which fixed some, but not all, of the problems wiht
h5cc.



We need to come up with some way to reliably build netCDF4.

One suggestion has been to abandon h5cc/h5pcc, substituting other methods of discovering which HDF5 to use, what compilers and paths should be used,
etc..

I pose now pose the question:

What is the recommended approach?



--
Robert E. McGrath  (HDF Java Team Leader)
National Center for Supercomputing Applications
University of Illinois, Urbana-Champaign
Champaign, Illinois 61820
(217)-333-6549

mcgrath@xxxxxxxxxxxxx