LAM/MPI logo

MPI binding for MPI_COMM_COMPARE

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

Neutral Binding

MPI_COMM_COMPARE(comm1, comm2, result)
[ IN comm1] first communicator (handle)
[ IN comm2] second communicator (handle)
[ OUT result] result (integer)


C Binding

int MPI_Comm_compare(MPI_Comm comm1,MPI_Comm comm2, int *result)

FORTRAN Binding

MPI_COMM_COMPARE(COMM1, COMM2, RESULT, IERROR)
INTEGER COMM1, COMM2, RESULT, IERROR

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

static int Comm::Compare(const Comm& comm1, const Comm& comm2)