wiki:mpich/MPI_Comm_size
close Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_core.so: cannot map zero-fill pages: Cannot allocate memory). Look in the Trac log for more information.

MPI_Comm_size

Determines the size of the group associated with a communictor

Synopsis

  #include "mpi.h"
  int MPI_Comm_size ( MPI_Comm comm, int *size )

Input Parameter

  comm  communicator (handle) 

Output Parameter

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

Notes

MPI_COMM_NULL is not considered a valid argument to this function.

Example

mpich/point_to_point/demo1

Last modified 17 years ago Last modified on Apr 2, 2008, 3:19:03 PM