Duplicates a communicator, creating a new communicator with the same processes and ranks as the original. See Clone()()().

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

Syntax

C#
public static int MPI_Comm_dup(
	int comm,
	out int comm_out
)
Visual Basic (Declaration)
Public Shared Function MPI_Comm_dup ( _
	comm As Integer, _
	<OutAttribute> ByRef comm_out As Integer _
) As Integer
Visual C++
public:
static int MPI_Comm_dup(
	int comm, 
	[OutAttribute] int% comm_out
)

Parameters

comm
Type: System..::.Int32
comm_out
Type: System..::.Int32 %

See Also