[Paraview] H5Part patches
Jed Brown
jed at 59A2.org
Sat Jan 9 16:01:59 EST 2010
There is no way for H5PART_HAS_MPI to be set, therefore H5PartTypes.h:
#ifndef H5PART_HAS_MPI
typedef int MPI_Comm;
#endif
conflicts (dangerously) with Open MPI which uses
typedef struct ompi_communicator_t *MPI_Comm;
The first attached patch is a workaround for this (the build system
should also be fixed, but note that mpi.h *will* be included if HDF5 was
built with parallel support, therefore H5Part cannot use the typedef
even when it is not being built with parallel support).
Also, H5Part still relies on HDF5's 1.6 API. The second patch is tested
with with HDF5-1.8, but should work fine with 1.6 as well (it's silly to
rely on globally defining H5_USE_16_API because then nobody will update
their components).
Jed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.h5part_has_mpi.patch
Type: text/x-patch
Size: 560 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100109/86ad85ba/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.h5_use_16_api.patch
Type: text/x-patch
Size: 2213 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100109/86ad85ba/attachment-0001.bin>
More information about the ParaView
mailing list