summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2017-04-09 21:54:51 (GMT)
committerJordan Henderson <jhenderson@hdfgroup.org>2017-04-09 21:54:51 (GMT)
commit8a454e941c2c5b9e5d6a4af6f5464d32018cdd90 (patch)
tree2d86dbf4d7651654bebefc3c5acd6abf999cde6a /src
parentbbc9f1be45539241673942d347beced6da9a5fc5 (diff)
downloadhdf5-8a454e941c2c5b9e5d6a4af6f5464d32018cdd90.zip
hdf5-8a454e941c2c5b9e5d6a4af6f5464d32018cdd90.tar.gz
hdf5-8a454e941c2c5b9e5d6a4af6f5464d32018cdd90.tar.bz2
Correct error with usage of array_gather function
Diffstat (limited to 'src')
-rw-r--r--src/H5Dmpio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Dmpio.c b/src/H5Dmpio.c
index 826407e..287ac25 100644
--- a/src/H5Dmpio.c
+++ b/src/H5Dmpio.c
@@ -1844,7 +1844,7 @@ H5D__multi_chunk_filtered_collective_io(H5D_io_info_t *io_info, const H5D_type_i
/* Gather the new chunk sizes to all processes for a collective re-allocation
* of the chunks in the file
*/
- if (H5D__mpio_array_gatherv(io_info, &chunk_list[i], have_chunk_to_process ? 1 : 0, sizeof(*chunk_list),
+ if (H5D__mpio_array_gatherv(&chunk_list[i], have_chunk_to_process ? 1 : 0, sizeof(*chunk_list),
(void **) &collective_chunk_list, &collective_chunk_list_num_entries, mpi_size,
true, 0, io_info->comm, NULL) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTGATHER, FAIL, "couldn't gather new chunk sizes")
@@ -2635,9 +2635,9 @@ H5D__construct_filtered_io_info_list(const H5D_io_info_t *io_info, const H5D_typ
if (NULL == (mem_iter = (H5S_sel_iter_t *) H5MM_malloc(sizeof(H5S_sel_iter_t))))
HGOTO_ERROR(H5E_DATASET, H5E_CANTALLOC, FAIL, "couldn't allocate memory iterator")
- if (H5D__mpio_array_gather(local_info_array, num_chunks_selected, sizeof(*local_info_array),
+ if (H5D__mpio_array_gatherv(local_info_array, num_chunks_selected, sizeof(*local_info_array),
(void **) &shared_chunks_info_array, &shared_chunks_info_array_num_entries, mpi_size,
- false, 0, H5D__cmp_filtered_collective_io_info_entry) < 0)
+ false, 0, io_info->comm, H5D__cmp_filtered_collective_io_info_entry) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTGATHER, FAIL, "couldn't gather array")
for (i = 0, num_chunks_selected = 0, num_send_requests = 0; i < shared_chunks_info_array_num_entries;) {