MPE_FindCliqueFromName
Given a name that is unique to a node, find the ranks of processes on the same node
Synopsis
int MPE_FindCliqueFromName(const char *name, MPI_Comm comm,
int hintSize, int maxSize,
int *cliqueNum, int *cliqueSize, int cliqueRanks[])
Input Parameters
- name
- name of the node on which the process is running
- comm
- communicator
- hintSize
- Used to control initial hash size
- maxSize
- Maximum number of ranks in cliqueRanks
Output Parameters
- cliqueNum
- Id of this clique, starting from zero
- cliqueSize
- Number of processes in this clique
- cliqueRanks
- Ranks of processes in this clique
Note
This is the general routine. A number of convenience routines
are provided to create communicators from cliques, and to return
cliques in a communicator by using the node name.