MPI_Comm_size - Determines the size of the group
       associated with a communicator


SYNOPSIS

       C:

            #include <mpi.h>

            int MPI_Comm_size ( comm, size )
            MPI_Comm comm;
            int *size;

       C++:

            #include <mpi.h>

            int Comm::Get_size() const

       Fortran:

            INCLUDE "mpif.h" (or USE MPI)

            INTEGER comm, size, ierror

            CALL MPI_COMM_SIZE(comm, size, ierror)


STANDARDS

       This release implements the MPI 1.2 standard, as
       documented by the MPI Forum in the spring 1997 release of
       MPI:  A Message Passing Interface Standard.


DESCRIPTION

       The MPI_Comm_size routine determines the number of
       processes in the group associated with a communicator.
       This routine accepts the following parameters:

       comm      Specifies the communicator (handle)

       size      Returns the number of processes in the group of
                 comm (integer)

       ierror    Specifies the return code value for successful
                 completion, which is in MPI_SUCCESS.
                 MPI_SUCCESS is defined in the mpif.h file.


NOTES

       MPI_COMM_NULL is not considered a valid argument to this
       function.


Man(1) output converted with man2html