2
0
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:
Alain Miniussi
2014-10-07 00:39:54 +02:00
parent abd82f0eda
commit f2e5edf320
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;
}

View File

@@ -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)