diff options
author | Jordan Henderson <jhenderson@hdfgroup.org> | 2019-01-25 21:32:51 (GMT) |
---|---|---|
committer | Jordan Henderson <jhenderson@hdfgroup.org> | 2019-02-12 00:31:23 (GMT) |
commit | 65a820ae8981a84fe7fbac87c48482e9f82b35f4 (patch) | |
tree | 9635dda26035ed3bd9b3531f4b552fb05b44127f /src/H5Dmpio.c | |
parent | dfaf51fda44621fa4c8136575fa6a2a26c9b08cc (diff) | |
download | hdf5-65a820ae8981a84fe7fbac87c48482e9f82b35f4.zip hdf5-65a820ae8981a84fe7fbac87c48482e9f82b35f4.tar.gz hdf5-65a820ae8981a84fe7fbac87c48482e9f82b35f4.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 f5da33d..0423006 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 */ |