summaryrefslogtreecommitdiffstats
path: root/src/H5Dmpio.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2021-03-26 20:14:09 (GMT)
committerGitHub <noreply@github.com>2021-03-26 20:14:09 (GMT)
commitcb0a883f6d3ce976f8d485c8e44996d7264fce54 (patch)
treecd892be63e9adf7ca572aaa74d104ed5663748b8 /src/H5Dmpio.c
parentda5aca29ff8e8e858eda0c030bf48cf64ac95519 (diff)
downloadhdf5-cb0a883f6d3ce976f8d485c8e44996d7264fce54.zip
hdf5-cb0a883f6d3ce976f8d485c8e44996d7264fce54.tar.gz
hdf5-cb0a883f6d3ce976f8d485c8e44996d7264fce54.tar.bz2
Minor parallel improvements (#519)
* Improve MPI error reporting, handled failed operations in parallel tests more nicely, and clean up MPI_Allreduce for determining whether to break collective I/O * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/H5Dmpio.c')
-rw-r--r--src/H5Dmpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dmpio.c b/src/H5Dmpio.c
index 5f8a586..448e92d 100644
--- a/src/H5Dmpio.c
+++ b/src/H5Dmpio.c
@@ -413,7 +413,7 @@ H5D__mpio_opt_possible(const H5D_io_info_t *io_info, const H5S_t *file_space, co
* collective I/O
*/
if (MPI_SUCCESS !=
- (mpi_code = MPI_Allreduce(&local_cause, &global_cause, 2, MPI_UNSIGNED, MPI_BOR, io_info->comm)))
+ (mpi_code = MPI_Allreduce(local_cause, global_cause, 2, MPI_UNSIGNED, MPI_BOR, io_info->comm)))
HMPI_GOTO_ERROR(FAIL, "MPI_Allreduce failed", mpi_code)
} /* end else */