summaryrefslogtreecommitdiffstats
path: root/src/H5FDmpio.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2015-01-20 15:26:45 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2015-01-20 15:26:45 (GMT)
commit1949c40bfddf4bea44345e0cd00baae94597f23a (patch)
treeef28a67a8436ed9f47383d5c22b3d9d7c2c1ba67 /src/H5FDmpio.c
parent234e77b3f94f71c4f3c1529de6aa1d7717128afb (diff)
downloadhdf5-1949c40bfddf4bea44345e0cd00baae94597f23a.zip
hdf5-1949c40bfddf4bea44345e0cd00baae94597f23a.tar.gz
hdf5-1949c40bfddf4bea44345e0cd00baae94597f23a.tar.bz2
[svn-r25983] HDFFV-1125: Eliminate IS_H5FD_MPI() macro use in the library and replace with driver feature flag(s).
Add an MPI atomicity feature flag and remove the macro from the library. tested Parallel on Jam.
Diffstat (limited to 'src/H5FDmpio.c')
-rw-r--r--src/H5FDmpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5FDmpio.c b/src/H5FDmpio.c
index 70cf49a..04ae5da 100644
--- a/src/H5FDmpio.c
+++ b/src/H5FDmpio.c
@@ -1224,6 +1224,7 @@ H5FD_mpio_query(const H5FD_t UNUSED *_file, unsigned long *flags /* out */)
*flags|=H5FD_FEAT_AGGREGATE_METADATA; /* OK to aggregate metadata allocations */
*flags|=H5FD_FEAT_AGGREGATE_SMALLDATA; /* OK to aggregate "small" raw data allocations */
*flags|=H5FD_FEAT_HAS_MPI; /* This driver uses MPI */
+ *flags|=H5FD_FEAT_HAS_MPI_ATOMICITY; /* This driver has MPI atomicity mode */
*flags|=H5FD_FEAT_ALLOCATE_EARLY; /* Allocate space early instead of late */
} /* end if */