summaryrefslogtreecommitdiffstats
path: root/src/H5Fmpi.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2015-01-21 18:57:55 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2015-01-21 18:57:55 (GMT)
commita24e3e5c8669fd205b75d264ca44e23fc1bfc651 (patch)
tree1f6a540706b4b7325a0d9cdeb895153fd7f0665b /src/H5Fmpi.c
parentde47d219c9be71e36d305994a48ede78b50e4a62 (diff)
downloadhdf5-a24e3e5c8669fd205b75d264ca44e23fc1bfc651.zip
hdf5-a24e3e5c8669fd205b75d264ca44e23fc1bfc651.tar.gz
hdf5-a24e3e5c8669fd205b75d264ca44e23fc1bfc651.tar.bz2
[svn-r25994] revert adding the has_mpi_atomicity feature flag and use the has_mpi
flag instead.
Diffstat (limited to 'src/H5Fmpi.c')
-rw-r--r--src/H5Fmpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Fmpi.c b/src/H5Fmpi.c
index cfb6f3c..39b8dfa 100644
--- a/src/H5Fmpi.c
+++ b/src/H5Fmpi.c
@@ -208,7 +208,7 @@ H5Fset_mpi_atomicity(hid_t file_id, hbool_t flag)
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "not a file ID")
/* Check VFD */
- if(!H5F_HAS_FEATURE(file, H5FD_FEAT_HAS_MPI_ATOMICITY))
+ if(!H5F_HAS_FEATURE(file, H5FD_FEAT_HAS_MPI))
HGOTO_ERROR(H5E_FILE, H5E_BADVALUE, FAIL, "incorrect VFL driver, does not support MPI atomicity mode")
/* set atomicity value */
@@ -248,7 +248,7 @@ H5Fget_mpi_atomicity(hid_t file_id, hbool_t *flag)
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "not a file ID")
/* Check VFD */
- if(!H5F_HAS_FEATURE(file, H5FD_FEAT_HAS_MPI_ATOMICITY))
+ if(!H5F_HAS_FEATURE(file, H5FD_FEAT_HAS_MPI))
HGOTO_ERROR(H5E_FILE, H5E_BADVALUE, FAIL, "incorrect VFL driver, does not support MPI atomicity mode")
/* get atomicity value */