LAM/MPI logo

MPI binding for MPI_OP_CREATE

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just the tutorials

Neutral Binding

MPI_OP_CREATE( function, commute, op)
[ IN function] user defined function (function)
[ IN commute] true if commutative; false otherwise.
[ OUT op] operation (handle)


C Binding

int MPI_Op_create(MPI_User_function *function, int commute, MPI_Op *op)

FORTRAN Binding

MPI_OP_CREATE( FUNCTION, COMMUTE, OP, IERROR)
EXTERNAL FUNCTION
LOGICAL COMMUTE
INTEGER OP, IERROR

C++ Binding
(in the MPI:: namespace)

void Op::Init(User_function* function, bool commute)