2
0
mirror of https://github.com/boostorg/mpi.git synced 2026-02-26 04:42:23 +00:00

Upgrade obsolete C API.

The version 3 of the MPI standard is out now.
Upgraded really old (1.1) API to 2.x.
(cherry picked from commit f2e5edf320)
This commit is contained in:
Alain Miniussi
2014-10-07 00:39:54 +02:00
committed by Alain Miniussi
parent 4ca9f7266a
commit ebae825102
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ communicator::communicator(const MPI_Comm& comm, comm_create_kind kind)
MPI_Comm newcomm;
BOOST_MPI_CHECK_RESULT(MPI_Comm_dup, (comm, &newcomm));
comm_ptr.reset(new MPI_Comm(newcomm), comm_free());
MPI_Errhandler_set(newcomm, MPI_ERRORS_RETURN);
MPI_Comm_set_errhandler(newcomm, MPI_ERRORS_RETURN);
break;
}