LAM/MPI logo

MPI binding for MPI_INTERCOMM_CREATE

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just the tutorials

Neutral Binding

MPI_INTERCOMM_CREATE(local_comm, local_leader, peer_comm, remote_leader, tag,
newintercomm)
[ IN local_comm ] local intra-communicator (handle)
[ IN local_leader] rank of local group leader in local_comm (integer)
[ IN peer_comm] ``peer'' communicator; significant only at the local_leader (handle)
[ IN remote_leader] rank of remote group leader in peer_comm; significant only at the local_leader (integer)
[ IN tag] ``safe'' tag (integer)
[ OUT newintercomm ] new inter-communicator (handle)


C Binding

int MPI_Intercomm_create(MPI_Comm local_comm, int local_leader, MPI_Comm peer_comm, int remote_leader, int tag, MPI_Comm *newintercomm)

FORTRAN Binding

MPI_INTERCOMM_CREATE(LOCAL_COMM, LOCAL_LEADER, PEER_COMM, REMOTE_LEADER, TAG, NEWINTERCOMM, IERROR)
INTEGER LOCAL_COMM, LOCAL_LEADER, PEER_COMM, REMOTE_LEADER, TAG, NEWINTERCOMM, IERROR

C++ Binding
(in the MPI:: namespace)

Intercomm Intracomm::Create_intercomm(int local_leader, const Comm& peer_comm, int remote_leader, int tag) const