On Mon, Oct 05, 2009 at 12:08:44PM -0800, Constantine Khroulev wrote:
> Hello,
>
> I have a problem: NetCDF 4.0.1 adds the following lines to netcdf.h
> (HDF5 is, in fact, built without parallel I/O support.):
>
> ===
> /* These defs added by netCDF configure because parallel HDF5 is not
> present. */
> #define MPI_Comm int
> #define MPI_Info int
> #define MPI_COMM_WORLD 0
> #define MPI_INFO_NULL 0
> ===
This sounds familiar. Are you having the same problem as I was a few
years back?
http://mailman.unidata.ucar.edu/mailing_lists/archives/netcdf-hdf/2007/msg00106.html
I was trying to compile with MPICH2, not OpenMPI, but I was getting
stuck on redefining MPI_Comm and MPI_Info as well.
==rob
--
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA