MPI_GROUP_RANK, MPI_Group_rank Purpose Returns the rank of the local task with respect to group. C synopsis #include int MPI_Group_rank(MPI_Group group,int *rank); C++ synopsis #include mpi.h int MPI::Group::Get_rank() const; FORTRAN synopsis include 'mpif.h' or use mpi MPI_GROUP_RANK(INTEGER GROUP,INTEGER RANK,INTEGER IERROR) Parameters group is the group (handle) (IN) rank is an integer that specifies the rank of the calling task in group or MPI_UNDEFINED if the task is not a member. (OUT) IERROR is the FORTRAN return code. It is always the last argument. Description This subroutine returns the rank of the local task with respect to group. This local operation does not require any intertask communication. Errors Invalid group MPI not initialized MPI already finalized Related information