netCDF  4.2.1.1
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
Building with Parallel I/O Support

For parallel I/O to work, HDF5 must be installed with –enable-parallel, and an MPI library (and related libraries) must be made available to the HDF5 configure.

This can be accomplished with the mpicc wrapper script, in the case of MPICH2.

The following works to build HDF5 with parallel I/O on our netCDF testing system:

CC=mpicc ./configure --enable-parallel --prefix=/shecky/local_par --with-zlib=/shecky/local_par
make check install

If the HDF5 used by netCDF has been built with parallel I/O, then netCDF will also be built with support for parallel I/O. This allows parallel I/O access to netCDF-4/HDF5 files. (See /ref netcdf_formats for more information about the netCDF format variants.)

If parallel I/O access to netCDF classic and 64-bit offset files is also needed, the parallel-netcdf library should also be installed, (and the replacement pnetcdf.h must be used). Then configure netCDF with the –enable-pnetcdf flag.


Generated on Wed Aug 22 2012 14:39:40 for netCDF. NetCDF is a Unidata library.