diff options
author | Jordan Henderson <jhenderson@hdfgroup.org> | 2018-08-26 03:54:30 (GMT) |
---|---|---|
committer | Jordan Henderson <jhenderson@hdfgroup.org> | 2018-08-26 03:54:30 (GMT) |
commit | 4cd10fa88e5089c4e5eba091222c4c39db9c64e5 (patch) | |
tree | 808c2ead749f66a758b96931b2911bc2122d6164 /src/H5Dmpio.c | |
parent | cb9797f49785ac0481cd428924e4bf7fb4fef775 (diff) | |
download | hdf5-4cd10fa88e5089c4e5eba091222c4c39db9c64e5.zip hdf5-4cd10fa88e5089c4e5eba091222c4c39db9c64e5.tar.gz hdf5-4cd10fa88e5089c4e5eba091222c4c39db9c64e5.tar.bz2 |
Add fix for HDFFV-10501
Add test for HDFFV-10501 fix
Add release note for HDFFV-10501 fix
Diffstat (limited to 'src/H5Dmpio.c')
-rw-r--r-- | src/H5Dmpio.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/H5Dmpio.c b/src/H5Dmpio.c index 5ebdc06..4a7c5ac 100644 --- a/src/H5Dmpio.c +++ b/src/H5Dmpio.c @@ -1146,20 +1146,7 @@ if(H5DEBUG(D)) mpi_buf_count = (hsize_t)1; } /* end if */ else { /* no selection at all for this process */ - /* Allocate chunking information */ - if(NULL == (total_chunk_addr_array = (haddr_t *)H5MM_malloc(sizeof(haddr_t) * total_chunks))) - HGOTO_ERROR(H5E_DATASET, H5E_CANTALLOC, FAIL, "couldn't allocate total chunk address arraybuffer") - - /* Retrieve chunk address map */ - if(H5D__chunk_addrmap(io_info, total_chunk_addr_array) < 0) - HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, FAIL, "can't get chunk address") - - /* Get chunk with lowest address */ - ctg_store.contig.dset_addr = HADDR_MAX; - for(u = 0; u < total_chunks; u++) - if(total_chunk_addr_array[u] < ctg_store.contig.dset_addr) - ctg_store.contig.dset_addr = total_chunk_addr_array[u]; - HDassert(ctg_store.contig.dset_addr != HADDR_MAX); + ctg_store.contig.dset_addr = 0; /* Set the MPI datatype */ chunk_final_ftype = MPI_BYTE; |