summaryrefslogtreecommitdiffstats
path: root/src/H5Dcontig.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2015-01-21 21:00:22 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2015-01-21 21:00:22 (GMT)
commit4b9ee6b88b3415baa684c9a2d0fb9379f7687768 (patch)
treee0542599f2be5c9f804108fabeb7d1c4d05322e3 /src/H5Dcontig.c
parente8e06cbca06eba0ff1107caf7f4cbeb1f0f835c6 (diff)
downloadhdf5-4b9ee6b88b3415baa684c9a2d0fb9379f7687768.zip
hdf5-4b9ee6b88b3415baa684c9a2d0fb9379f7687768.tar.gz
hdf5-4b9ee6b88b3415baa684c9a2d0fb9379f7687768.tar.bz2
[svn-r25996] - merge changes from trunk to eliminate usage of IS_H5FD_MPI Macro.
- add 2 missing feature flags for VFDs: H5FD_FEAT_HAS_MPI & H5FD_FEAT_ALLOCATE_EARLY and use them as appropriate. tested with h5commitest
Diffstat (limited to 'src/H5Dcontig.c')
-rw-r--r--src/H5Dcontig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dcontig.c b/src/H5Dcontig.c
index e5012ca..8d4cd02 100644
--- a/src/H5Dcontig.c
+++ b/src/H5Dcontig.c
@@ -225,7 +225,7 @@ H5D__contig_fill(const H5D_t *dset, hid_t dxpl_id)
#ifdef H5_HAVE_PARALLEL
/* Retrieve MPI parameters */
- if(IS_H5FD_MPI(dset->oloc.file)) {
+ if(H5F_HAS_FEATURE(dset->oloc.file, H5FD_FEAT_HAS_MPI)) {
/* Get the MPI communicator */
if(MPI_COMM_NULL == (mpi_comm = H5F_mpi_get_comm(dset->oloc.file)))
HGOTO_ERROR(H5E_INTERNAL, H5E_MPI, FAIL, "Can't retrieve MPI communicator")