summaryrefslogtreecommitdiffstats
path: root/src/H5VLnative_group.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5VLnative_group.c')
-rw-r--r--src/H5VLnative_group.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/H5VLnative_group.c b/src/H5VLnative_group.c
index 54f8337..08ac2aa 100644
--- a/src/H5VLnative_group.c
+++ b/src/H5VLnative_group.c
@@ -280,6 +280,11 @@ H5VL__native_group_specific(void *obj, H5VL_group_specific_args_t *args, hid_t H
/* H5Gflush */
case H5VL_GROUP_FLUSH: {
+ /* Currently, H5Oflush causes H5Fclose to trigger an assertion failure in metadata cache.
+ * Leave this situation for the future solution */
+ if (H5F_HAS_FEATURE(grp->oloc.file, H5FD_FEAT_HAS_MPI))
+ HGOTO_ERROR(H5E_SYM, H5E_UNSUPPORTED, FAIL, "H5Oflush isn't supported for parallel")
+
if (H5O_flush_common(&grp->oloc, args->args.flush.grp_id) < 0)
HGOTO_ERROR(H5E_SYM, H5E_CANTFLUSH, FAIL, "unable to flush group")