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

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


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

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,

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


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