[This is preliminary documentation and is subject to change.]

Returns the rank of the currently executing process within this communicator.

Namespace:  MPI
Assembly:  MPI (in MPI.dll)
Version: (


public int Rank { get; }
Visual Basic (Declaration)
Public ReadOnly Property Rank As Integer
Visual C++
property int Rank {
	int get ();


The rank is a number between 0 and Size-1 that is used to identify this process, e.g., to send messages to it. The value of Rank will differ from one process to the next.

See Also