NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
On Tue, Oct 06, 2009 at 10:25:01AM -0600, Dennis Heimbigner wrote: > If you write a program that includes > mpi.h then indeed you will get conflicts; > so the question is: why are you including > mpi.h in your netcf programs? Does it work > ok if you remove the '#include <mpi.h>' ? Here's what we do in pnetcdf. Any place that pnetcdf needs MPI data structures, we include <mpi.h> we do not, however, include mpi.h in the pnetcdf.h header file. Because the pnetcdf API uses things like communicators and MPI info values, we force the caller to include mpi.h before including pnetcdf.h Our job is easier because we are always parallel, whereas netcdf-4 might not have parallel I/O support if the underlying HDF5 library does not have it. ==rob -- Rob Latham Mathematics and Computer Science Division Argonne National Lab, IL USA
netcdfgroup
archives: