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

Creates a new communicator from a subgroup of the processes in an existing communicator. See Create(Group).

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


public static int MPI_Comm_create(
	int comm,
	int group,
	out int newcomm
Visual Basic (Declaration)
Public Shared Function MPI_Comm_create ( _
	comm As Integer, _
	group As Integer, _
	<OutAttribute> ByRef newcomm As Integer _
) As Integer
Visual C++
static int MPI_Comm_create(
	int comm, 
	int group, 
	[OutAttribute] int% newcomm


Type: System..::.Int32
The existing communicator, from which the new communicator will be created.
Type: System..::.Int32
A group specifying zero or more processes in the communicator comm.
Type: System..::.Int32 %
A pointer that points to the newly-created communicator, which will contain all of the processes in the group. The order of the processes in this new communicator will be the same as the order of those processes in the original communicator.

See Also