diff options
author | Frank Willmore <frank.willmore@hdfgroup.org> | 2017-05-24 02:01:52 (GMT) |
---|---|---|
committer | Frank Willmore <frank.willmore@hdfgroup.org> | 2017-05-24 02:01:52 (GMT) |
commit | 1ee90786196c10c2c616a9fb4b8b1f92ebefa1f2 (patch) | |
tree | eba36903f340c41e7846ce3fa099403e86db5aee /src/H5FDmpi.c | |
parent | 364fe58feab9ae7296b204df2ecce388975da57e (diff) | |
download | hdf5-1ee90786196c10c2c616a9fb4b8b1f92ebefa1f2.zip hdf5-1ee90786196c10c2c616a9fb4b8b1f92ebefa1f2.tar.gz hdf5-1ee90786196c10c2c616a9fb4b8b1f92ebefa1f2.tar.bz2 |
updated MPI error handling call for MPICH2 standard
Diffstat (limited to 'src/H5FDmpi.c')
-rw-r--r-- | src/H5FDmpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDmpi.c b/src/H5FDmpi.c index 2b10151..3f0160e 100644 --- a/src/H5FDmpi.c +++ b/src/H5FDmpi.c @@ -280,7 +280,7 @@ H5FD_mpi_comm_info_dup(MPI_Comm comm, MPI_Info info, MPI_Comm *comm_new, MPI_Inf /* Set MPI_ERRORS_RETURN on comm_dup so that MPI failures are not fatal, and return codes can be checked and handled. May 23, 2017 FTW */ - if (MPI_SUCCESS != (mpi_code = MPI_Errhandler_set(comm_dup, MPI_ERRORS_RETURN))) + if (MPI_SUCCESS != (mpi_code = MPI_Comm_set_errhandler(comm_dup, MPI_ERRORS_RETURN))) HMPI_GOTO_ERROR(FAIL, "MPI_Errhandler_set failed", mpi_code) /* copy them to the return arguments */ |