From a2e93075f2ec86dad367a8aafadc20f6386f9b0e Mon Sep 17 00:00:00 2001 From: "Frank.Willmore" Date: Fri, 30 Sep 2016 11:50:14 -0500 Subject: added test file --- this_is_a_test | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 this_is_a_test diff --git a/this_is_a_test b/this_is_a_test new file mode 100644 index 0000000..e69de29 -- cgit v0.12 From 8f25e21e105c2ed625c60e92f4d24ac4c0965219 Mon Sep 17 00:00:00 2001 From: Frank Willmore Date: Tue, 23 May 2017 10:14:35 -0700 Subject: enabled MPI error handling --- src/H5FDmpi.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/H5FDmpi.c b/src/H5FDmpi.c index fdc4eca..2b10151 100644 --- a/src/H5FDmpi.c +++ b/src/H5FDmpi.c @@ -278,6 +278,11 @@ H5FD_mpi_comm_info_dup(MPI_Comm comm, MPI_Info info, MPI_Comm *comm_new, MPI_Inf info_dup = info; } + /* 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))) + HMPI_GOTO_ERROR(FAIL, "MPI_Errhandler_set failed", mpi_code) + /* copy them to the return arguments */ *comm_new = comm_dup; *info_new = info_dup; -- cgit v0.12 From 364fe58feab9ae7296b204df2ecce388975da57e Mon Sep 17 00:00:00 2001 From: Frank Willmore Date: Tue, 23 May 2017 10:20:37 -0700 Subject: cleanup --- this_is_a_test | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 this_is_a_test diff --git a/this_is_a_test b/this_is_a_test deleted file mode 100644 index e69de29..0000000 -- cgit v0.12 From 1ee90786196c10c2c616a9fb4b8b1f92ebefa1f2 Mon Sep 17 00:00:00 2001 From: Frank Willmore Date: Tue, 23 May 2017 19:01:52 -0700 Subject: updated MPI error handling call for MPICH2 standard --- src/H5FDmpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v0.12