diff options
Diffstat (limited to 'src/H5F.c')
-rw-r--r-- | src/H5F.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2622,6 +2622,12 @@ H5F_close(H5F_t *f) H5AC_debug(f); H5F_istore_stats(f, FALSE); +#ifdef H5_HAVE_PARALLEL + if(IS_H5FD_MPIO(f)) { + if (SUCCEED!= H5FD_mpio_closing(f->shared->lf)) + HRETURN_ERROR (H5E_IO, H5E_CANTFLUSH, FAIL, "unable to set 'closing' flag"); + } /* end if */ +#endif /* H5_HAVE_PARALLEL */ /* Flush and destroy all caches */ if (H5F_flush(f, H5F_SCOPE_LOCAL, TRUE, FALSE)<0) HGOTO_ERROR(H5E_CACHE, H5E_CANTFLUSH, FAIL, "unable to flush cache"); |