MPE_CreateSMPComm

Create a communicator for the processes on the same node

Synopsis

int MPE_CreateSMPComm( MPI_Comm comm, 
                      MPI_Comm *localComm, MPI_Comm *rootComm, int *nnodes )

Input Parameter

comm
Communicator of processes

Output Parameters

localComm
Communicator of processes on the same node
rootComm
Communicator of leaders on the different nodes
nnodes
My node number