MPI_GROUP_SIZE, MPI_Group_size Purpose Returns the number of tasks in a group. C synopsis #include int MPI_Group_size(MPI_Group group,int *size); C++ synopsis #include mpi.h int MPI::Group::Get_size() const; FORTRAN synopsis include 'mpif.h' or use mpi MPI_GROUP_SIZE(INTEGER GROUP,INTEGER SIZE,INTEGER IERROR) Parameters group is the group (handle) (IN) size is the number of tasks in the group (integer) (OUT) IERROR is the FORTRAN return code. It is always the last argument. Description This subroutine returns the number of tasks in a group. This is a local operation and does not require any intertask communication. Errors Invalid group MPI not initialized MPI already finalized Related information