diff options
author | Jordan Henderson <jhenderson@hdfgroup.org> | 2019-01-25 21:32:51 (GMT) |
---|---|---|
committer | Jordan Henderson <jhenderson@hdfgroup.org> | 2019-02-12 20:38:02 (GMT) |
commit | a4cfd0bfd7be9cba5d9af02825358f898885c5c4 (patch) | |
tree | 7c9933648971055ebc24f7fa1e04285a5a2e13e8 /src/H5Dmpio.c | |
parent | 9f9485a17a87b075f122b654c1f8426d9114a6df (diff) | |
download | hdf5-a4cfd0bfd7be9cba5d9af02825358f898885c5c4.zip hdf5-a4cfd0bfd7be9cba5d9af02825358f898885c5c4.tar.gz hdf5-a4cfd0bfd7be9cba5d9af02825358f898885c5c4.tar.bz2 |
Fix some collective metadata read issues
Diffstat (limited to 'src/H5Dmpio.c')
-rw-r--r-- | src/H5Dmpio.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/H5Dmpio.c b/src/H5Dmpio.c index 7352375..6803b60 100644 --- a/src/H5Dmpio.c +++ b/src/H5Dmpio.c @@ -800,6 +800,10 @@ H5D__chunk_collective_io(H5D_io_info_t *io_info, const H5D_type_info_t *type_inf HDassert(type_info); HDassert(fm); + /* Disable collective metadata reads for chunked dataset I/O operations + * in order to prevent potential hangs */ + H5CX_set_coll_metadata_read(FALSE); + /* Check the optional property list for the collective chunk IO optimization option */ if(H5CX_get_mpio_chunk_opt_mode(&chunk_opt_mode) < 0) HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, FAIL, "couldn't get chunk optimization option") @@ -2313,7 +2317,7 @@ if(H5DEBUG(D)) /* Broadcasting the MPI_IO option info. and chunk address info. */ if(MPI_SUCCESS != (mpi_code = MPI_Bcast(total_chunk_addr_array, (int)(sizeof(haddr_t) * fm->layout->u.chunk.nchunks), MPI_BYTE, (int)0, io_info->comm))) - HMPI_GOTO_ERROR(FAIL, "MPI_BCast failed", mpi_code) + HMPI_GOTO_ERROR(FAIL, "MPI_BCast failed", mpi_code) } /* end if */ /* Start at first node in chunk skip list */ |