[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:
MPIAssembly: MPI (in MPI.dll)
Version: 0.8.0.0 (0.8.0.0)
Syntax
| C# |
|---|
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++ |
|---|
public: static int MPI_Comm_create( int comm, int group, [OutAttribute] int% newcomm ) |
Parameters
- comm
- Type: System..::.Int32
The existing communicator, from which the new communicator will be created.
- group
- Type: System..::.Int32
A group specifying zero or more processes in the communicator comm.
- newcomm
- 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.