LAM/MPI logo

MPI binding for MPI_COMM_SIZE

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

Neutral Binding

MPI_COMM_SIZE(comm, size)
[ IN comm] communicator (handle)
[ OUT size] number of processes in the group of comm (integer)


C Binding

int MPI_Comm_size(MPI_Comm comm, int *size)

FORTRAN Binding

MPI_COMM_SIZE(COMM, SIZE, IERROR)
INTEGER COMM, SIZE, IERROR

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

int Comm::Get_size() const