Scripted HTML version of Foils prepared 11 November 1996

Foil 13 MPI_Comm_size -- Environment Inquiry

From CPS615-Initial Lecture on MPI ending with discussion of basic MPI_SEND Delivered Lectures of CPS615 Basic Simulation Track for Computational Science -- 31 October 96. by Geoffrey C. Fox *
Secs 24.4
This returns in integer size number of processes in given communicator comm (remember this specifies processor group)
For C: int MPI_Comm_size(MPI_Comm comm,int *size)
For Fortran: call MPI_COMM_SIZE (comm,size,mpierr)
  • where comm, size, mpierr are integers
  • comm is input; size mpierr returned



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Fri Aug 15 1997