Basic HTML version of Foils prepared 10 Oct 1995

Foil 13 MPI_Comm_size -- Environment Inquiry

From Fox Presentation Fall 1995 CPS615 Basic Simulation Track for Computational Science -- Fall Semester 95. by Geoffrey C. Fox


1 This returns in integer size number of processes in given communicator comm (remember this specifies processor group)
2 For C: int MPI_Comm_size(MPI_Comm comm,int *size)
3 For Fortran: call MPI_COMM_SIZE (comm,size,mpierr)
  • where comm, size, mpierr are integers
  • comm is input; size mpierr returned

in Table To:


© on Tue Oct 7 1997