summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-09-27 21:25:04 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-10-11 02:47:02 (GMT)
commitc3da9fe70ecf5e3fa11a54702b2ea9884d2d68ef (patch)
tree65eeeb25da72e9856d15b88caa362067094a7972
parent71f36b343ac758029de343c0afa2d6269eb56468 (diff)
downloadhdf5-c3da9fe70ecf5e3fa11a54702b2ea9884d2d68ef.zip
hdf5-c3da9fe70ecf5e3fa11a54702b2ea9884d2d68ef.tar.gz
hdf5-c3da9fe70ecf5e3fa11a54702b2ea9884d2d68ef.tar.bz2
Corrected missing parallel #ifdefs.
-rw-r--r--src/H5VLnative_file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5VLnative_file.c b/src/H5VLnative_file.c
index 81cb507..63574c6 100644
--- a/src/H5VLnative_file.c
+++ b/src/H5VLnative_file.c
@@ -800,6 +800,7 @@ H5VL__native_file_optional(void *obj, hid_t H5_ATTR_UNUSED dxpl_id, void H5_ATTR
break;
}
+#ifdef H5_HAVE_PARALLEL
/* H5Fget_mpi_atomicity */
case H5VL_NATIVE_FILE_GET_MPI_ATOMICITY:
{
@@ -817,6 +818,7 @@ H5VL__native_file_optional(void *obj, hid_t H5_ATTR_UNUSED dxpl_id, void H5_ATTR
HGOTO_ERROR(H5E_FILE, H5E_CANTSET, FAIL, "cannot set MPI atomicity");
break;
}
+#endif /* H5_HAVE_PARALLEL */
default:
HGOTO_ERROR(H5E_VOL, H5E_UNSUPPORTED, FAIL, "invalid optional operation")