NewMadeleine

Documentation

« back to PM2 home.
nm_launcher_interface.h File Reference
#include <nm_public.h>
#include <nm_session_interface.h>
Include dependency graph for nm_launcher_interface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int nm_launcher_init_nocheck (int *argc, char **argv)
 
static nm_gate_t nm_launcher_self_gate (void)
 shortcut to get the gate to self
 
void nm_launcher_print_drivers_strategy (nm_core_t p_core)
 print on stderr loaded drivers and the selected strategy
 
int nm_launcher_homogeneous_network (void)
 Checks whether the networks are homogeneous across all nodes.
 
 PUK_VECT_TYPE (nm_launcher_rank, int)
 
 PUK_VECT_TYPE (nm_launcher_subgroup, int)
 
static int nm_launcher_init (int *argc, char **argv)
 Initializes nmad.
 
int nm_launcher_exit (void)
 Cleans session.
 
int nm_launcher_get_rank (int *rank)
 Returns process rank.
 
int nm_launcher_get_size (int *size)
 Returns the number of nodes.
 
int nm_launcher_get_gate (int dest, nm_gate_t *gate)
 Returns the gate for the process dest.
 
int nm_launcher_get_dest (nm_gate_t p_gate, int *dest)
 Returns the dest rank for the given gate.
 
int nm_launcher_get_topology (struct nm_launcher_rank_vect_s *p_ranks, struct nm_launcher_subgroup_vect_s *p_subgroups, int *n_subgroups)
 Returns topology.
 
void nm_launcher_abort (int rc)
 Abort all processes.
 

Function Documentation

◆ nm_launcher_homogeneous_network()

int nm_launcher_homogeneous_network ( void  )

Checks whether the networks are homogeneous across all nodes.

◆ nm_launcher_init_nocheck()

int nm_launcher_init_nocheck ( int *  argc,
char **  argv 
)

init launcher with ABI check

Referenced by nm_launcher_init().

◆ nm_launcher_print_drivers_strategy()

void nm_launcher_print_drivers_strategy ( nm_core_t  p_core)

print on stderr loaded drivers and the selected strategy

◆ nm_launcher_self_gate()

static nm_gate_t nm_launcher_self_gate ( void  )
inlinestatic

shortcut to get the gate to self

Definition at line 81 of file nm_launcher_interface.h.

References nm_launcher_get_gate(), nm_launcher_get_rank(), and p_gate.

Here is the call graph for this function: