diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2022-07-18 17:32:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-18 17:32:09 (GMT) |
commit | ba5385ffc2f75a774e62581f6de13c5987cf3053 (patch) | |
tree | 041e5ef065e45d8f35b19335c0ab59d0930714d8 /src/H5Dmpio.c | |
parent | 69ddcd02f1b0ebba294df59da1b8a93f204433d9 (diff) | |
download | hdf5-ba5385ffc2f75a774e62581f6de13c5987cf3053.zip hdf5-ba5385ffc2f75a774e62581f6de13c5987cf3053.tar.gz hdf5-ba5385ffc2f75a774e62581f6de13c5987cf3053.tar.bz2 |
Fix some hard-coded MPI I/O VFD checks (#1898)
Diffstat (limited to 'src/H5Dmpio.c')
-rw-r--r-- | src/H5Dmpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dmpio.c b/src/H5Dmpio.c index 655d475..9a4bccf 100644 --- a/src/H5Dmpio.c +++ b/src/H5Dmpio.c @@ -1003,7 +1003,7 @@ H5D__contig_collective_read(H5D_io_info_t *io_info, const H5D_type_info_t *type_ FUNC_ENTER_PACKAGE /* Sanity check */ - HDassert(H5FD_MPIO == H5F_DRIVER_ID(io_info->dset->oloc.file)); + HDassert(H5F_HAS_FEATURE(io_info->dset->oloc.file, H5FD_FEAT_HAS_MPI)); /* Call generic internal collective I/O routine */ if (H5D__inter_collective_io(io_info, type_info, file_space, mem_space) < 0) @@ -1042,7 +1042,7 @@ H5D__contig_collective_write(H5D_io_info_t *io_info, const H5D_type_info_t *type FUNC_ENTER_PACKAGE /* Sanity check */ - HDassert(H5FD_MPIO == H5F_DRIVER_ID(io_info->dset->oloc.file)); + HDassert(H5F_HAS_FEATURE(io_info->dset->oloc.file, H5FD_FEAT_HAS_MPI)); /* Call generic internal collective I/O routine */ if (H5D__inter_collective_io(io_info, type_info, file_space, mem_space) < 0) |