MPI_Op_commutative − Queries a reduction operation for its commutativity.
#include
<mpi.h>
int MPI_Op_commutative(MPI_Op op, int
*commute)
INCLUDE
’mpif.h’
MPI_Op_commutative(OP, COMMUTE, IERROR)
LOGICAL |
COMMUTE |
|||
INTEGER |
OP, IERROR |
#include
<mpi.h>
bool Op::Is_commutative() const
op |
Operation (handle). |
commute |
True if commutative; false otherwise. |
|||
IERROR |
Fortran only: Error status (integer). |