Returns a recommended configuration for a new Graph communicator. See Map(Intracommunicator, array<array<Int32>[]()[]>[]()[]).

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

Syntax

C#
public static int MPI_Graph_map(
	int comm,
	int nnodes,
	int* index,
	int* edges,
	out int newrank
)
Visual Basic (Declaration)
Public Shared Function MPI_Graph_map ( _
	comm As Integer, _
	nnodes As Integer, _
	index As Integer*, _
	edges As Integer*, _
	<OutAttribute> ByRef newrank As Integer _
) As Integer
Visual C++
public:
static int MPI_Graph_map(
	int comm, 
	int nnodes, 
	int* index, 
	int* edges, 
	[OutAttribute] int% newrank
)

Parameters

comm
Type: System..::.Int32
The existing communicator.
nnodes
Type: System..::.Int32
The number of nodes to assume.
index
Type: System..::.Int32 *
An index array to use (where the semantics is the same as for MPI_Graph_create(Int32, Int32, Int32*, Int32*, Int32, Int32*).
edges
Type: System..::.Int32 *
An array of edges as for the constructor MPI_Graph_create(Int32, Int32, Int32*, Int32*, Int32, Int32*).
newrank
Type: System..::.Int32 %
The new rank of the calling process.

See Also