Next: Caching
Up: Groups, Contexts and Communicators
Previous: Motivating Examples
Contents
boolean Comm.Test_inter()
| returns: |
true if this is an inter-communicator,
false otherwise |
Test if this communicator is an inter-communicator.
Java binding of the MPI operation MPI_COMM_TEST_INTER.
int Intercomm.Remote_size()
| returns: |
number of process in remote group of this communicator |
Size of remote group.
Java binding of the MPI operation MPI_COMM_REMOTE_SIZE.
Group Intercomm.Remote_Group()
| returns: |
remote group of this communicator |
Return the remote group.
Java binding of the MPI operation MPI_COMM_REMOTE_GROUP.
Intercomm Comm.Create_intercomm(Comm local_comm, int local_leader,
int remote_leader, int tag)
| local_comm |
local intra-communicator |
| local_leader |
rank of local group leader in localComm |
| remote_leader |
rank of remote group leader in this communictor |
| tag |
``safe'' tag |
| |
|
| returns: |
new inter-communicator |
Create an inter-communicator.
Java binding of the MPI operation MPI_INTERCOMM_CREATE.
- Rationale. This operation is defined as a method on the ``peer communicator'',
making it analogous to a Send or Recv communication with the
remote group leader.(End of rationale.)
Intracomm Intercomm.Merge(boolean high)
| high |
true if the local group has higher ranks in combined group |
| |
|
| returns: |
new intra-communicator |
Create an intra-communicator from the union of the two groups in
the inter-communicator.
Java binding of the MPI operation MPI_INTERCOMM_MERGE.
Next: Caching
Up: Groups, Contexts and Communicators
Previous: Motivating Examples
Contents
Bryan Carpenter
2002-07-12