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:
committed by
Alain Miniussi
parent
4ca9f7266a
commit
ebae825102
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user