MPI_COMM_REMOTE_SIZE, MPI_Comm_remote_size Purpose Returns the size of the remote group of an intercommunicator. C synopsis #include int MPI_Comm_remote_size(MPI_Comm comm,int *size); C++ synopsis #include mpi.h int MPI::Intercomm::Get_remote_size() const; FORTRAN synopsis include 'mpif.h' or use mpi MPI_COMM_REMOTE_SIZE(INTEGER COMM,INTEGER SIZE,INTEGER IERROR) Parameters comm is the intercommunicator (handle) (IN) size is an integer specifying the number of tasks in the remote group of comm. (OUT) IERROR is the FORTRAN return code. It is always the last argument. Description This subroutine is a local operation that returns the size of the remote group of an intercommunicator. Notes To determine the size of the local group of an intercommunicator, use MPI_COMM_SIZE. Errors Invalid communicator Invalid communicator type it must be intercommunicator MPI not initialized MPI already finalized Related information MPI_COMM_SIZE