Communicators
An MPI communicator specifies the communication context for a communication operation. In particular, it specifies the set of processes which share the context, and assigns each each process a unique rank (see MPI.Comm_rank) taking an integer value in 0:n-1, where n is the number of processes in the communicator (see MPI.Comm_size.
Types
MPI.Comm — Type.MPI.CommAn MPI Communicator object.
Constants
MPI.COMM_WORLD — Constant.MPI.COMM_WORLDA communicator containing all processes with which the local rank can communicate at initialization. In a typical "static-process" model, this will be all processes.
MPI.COMM_SELF — Constant.MPI.COMM_SELFA communicator containing only the local process.
Functions
Accessors
MPI.Comm_size — Function.Comm_size(comm::Comm)The number of processes involved in communicator.
See also
External links
MPI.Comm_rank — Function.Comm_rank(comm::Comm)The rank of the process in the particular communicator's group.
Returns an integer in the range 0:MPI.Comm_size()-1.
See also
External links
Constructors
MPI.Comm_dup — Function.MPI.Comm_get_parent — Function.MPI.Comm_spawn — Function.MPI.Comm_split — Function.MPI.Comm_split_type — Function.MPI.Intercomm_merge — Function.Miscellaneous
MPI.universe_size