diff options
author | Quincey Koziol <koziol@lbl.gov> | 2021-03-26 20:14:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-26 20:14:09 (GMT) |
commit | cb0a883f6d3ce976f8d485c8e44996d7264fce54 (patch) | |
tree | cd892be63e9adf7ca572aaa74d104ed5663748b8 /src/H5Dmpio.c | |
parent | da5aca29ff8e8e858eda0c030bf48cf64ac95519 (diff) | |
download | hdf5-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.c | 2 |
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 */ |