mirror of
https://github.com/boostorg/mpi.git
synced 2026-01-19 04:22:10 +00:00
The version 3 of the MPI standard is out now.
Upgraded really old (1.1) API to 2.x.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ bool timer::time_is_global()
|
||||
int* is_global;
|
||||
int found = 0;
|
||||
|
||||
BOOST_MPI_CHECK_RESULT(MPI_Attr_get,
|
||||
BOOST_MPI_CHECK_RESULT(MPI_Comm_get_attr,
|
||||
(MPI_COMM_WORLD, MPI_WTIME_IS_GLOBAL, &is_global,
|
||||
&found));
|
||||
if (!found)
|
||||
|
||||
Reference in New Issue
Block a user