16#ifndef NM_LAUNCHER_INTERFACE_H
17#define NM_LAUNCHER_INTERFACE_H
int nm_launcher_get_rank(int *rank)
Returns process rank.
int nm_launcher_get_size(int *size)
Returns the number of nodes.
void nm_launcher_abort(int rc)
Abort all processes.
int nm_launcher_exit(void)
Cleans session.
int nm_launcher_get_gate(int dest, nm_gate_t *gate)
Returns the gate for the process dest.
static int nm_launcher_init(int *argc, char **argv)
Initializes nmad.
int nm_launcher_get_dest(nm_gate_t p_gate, int *dest)
Returns the dest rank for the given gate.
void nm_launcher_print_drivers_strategy(nm_core_t p_core)
print on stderr loaded drivers and the selected strategy
int nm_launcher_init_checked(int *argc, char **argv, const struct nm_abi_config_s *p_nm_abi_config)
int nm_launcher_homogeneous_network(void)
Checks whether the networks are homogeneous across all nodes.
static nm_gate_t nm_launcher_self_gate(void)
shortcut to get the gate to self
nm_gate_t gate
gate of the destination or the source node
nm_len_t size
size of the onsided data (not incuding target-side completion)
This is the common public header for NewMad.
static void nm_abi_config_capture(struct nm_abi_config_s *p_nm_abi_config)
Capture ABI config parameters in current context.
config options that impact nmad ABI (content of structures exposed in API or used in inline code)
Core NewMadeleine structure.
Connection to another process.