

Go to the source code of this file.
| typedef struct nm_comm_s * | nm_comm_t |
| NewMadeleine communicator opaque type. | |
| nm_comm_t | nm_comm_world (const char *label) |
| create a new global communicator with given label | |
| nm_comm_t | nm_comm_self (const char *label) |
| create a new communicator containing only self, with given label | |
| nm_comm_t | nm_comm_create (nm_comm_t comm, nm_group_t group) |
| create a sub-communicator containing nodes in group- collective on parent communicator | |
| nm_comm_t | nm_comm_create_group (nm_session_t p_session, nm_group_t p_newcomm_group, nm_group_t p_bcast_group) |
| create a new communicator, new communicator group is p_newcomm_group, collectively called from group p_bcast_group using session p_session | |
| void | nm_comm_destroy (nm_comm_t p_comm) |
| destroy a communicator- no synchronization is done | |
| nm_comm_t | nm_comm_dup (nm_comm_t comm) |
| get a duplicate of the given communicator- collective on parent communicator | |
| static int | nm_comm_size (nm_comm_t comm) |
| get the number of nodes in the communicator | |
| static int | nm_comm_rank (nm_comm_t comm) |
| get the rank of self in the given communicator | |
| static nm_gate_t | nm_comm_get_gate (nm_comm_t p_comm, int rank) |
| get the gate for the given rank in communicator numbering | |
| static nm_gate_t | nm_comm_gate_self (nm_comm_t p_comm) |
| get the gate for self in the given communicator | |
| static int | nm_comm_get_dest (nm_comm_t p_comm, nm_gate_t p_gate) |
| get the rank for the given gate, in communicator numbering | |
| static nm_session_t | nm_comm_get_session (nm_comm_t p_comm) |
| get the session attached to the communicator | |
| static nm_group_t | nm_comm_group (nm_comm_t comm) |
| get the group of nodes in the communicator- real group, not a duplicate | |
| nm_comm_t | nm_comm_get_by_session (nm_session_t p_session) |
| get the communicator from the session; may return NULL if no communicator is attached to this session | |