Fix error message mentioning wrong MPI function used

This commit is contained in:
Jordan Henderson 2018-07-13 08:09:48 -05:00
parent ef10aa6211
commit 30d3bc2c91

View File

@ -526,7 +526,7 @@ H5D__mpio_array_gatherv(void *local_array, size_t local_array_num_entries,
else {
if (MPI_SUCCESS != (mpi_code = MPI_Gatherv(local_array, sendcount, MPI_BYTE,
gathered_array, receive_counts_array, displacements_array, MPI_BYTE, root, comm)))
HMPI_GOTO_ERROR(FAIL, "MPI_Allgatherv failed", mpi_code)
HMPI_GOTO_ERROR(FAIL, "MPI_Gatherv failed", mpi_code)
} /* end else */
if (sort_func && (allgather || (mpi_rank == root)))