nm_launcher_private.h
Go to the documentation of this file.
void nm_launcher_send(struct nm_data_s *p_data, struct nm_gate_s *p_gate)
void nm_launcher_gates_connect(struct nm_launcher_gates_s *p_gates)
connects the given set of gates
PUK_IFACE_TYPE(NewMad_Launcher, struct nm_launcher_driver_s)
int nm_launcher_get_url(const char **p_local_url)
Finalizes process of driver loading & return local url.
nm_drv_t nm_launcher_add_driver(puk_component_t component, nm_trk_kind_t kind)
Add a driver to the session.
int nm_launcher_connect_wait(nm_gate_t p_gate)
Wait for a given async connection to get ready.
void nm_launcher_gates_init(struct nm_launcher_gates_s *p_gates, int size, int rank)
void nm_launcher_recv(struct nm_data_s *p_data, struct nm_gate_s *p_gate)
void nm_launcher_set_info(const struct nm_launcher_info_s *p_info)
Declare the rank, size & properties of job/launcher.
PUK_HASHTABLE_TYPE(nm_component, puk_component_t, nm_drv_t, &puk_hash_pointer_default_hash, &puk_hash_pointer_default_eq, NULL)
hash nm drivers by component
nm_drv_vect_t(* nm_launcher_selector_t)(const char *url, void *_arg)
Type for 'selector'.
Definition nm_launcher_private.h:99
void nm_launcher_isend(struct nm_req_s *p_req, struct nm_data_s *p_data, struct nm_gate_s *p_gate)
void nm_launcher_gates_destroy(struct nm_launcher_gates_s *p_gates)
int nm_launcher_connect_async(nm_gate_t *pp_gate, const char *remote_url)
Asynchronously start connection establishment for the given gate.
void nm_launcher_irecv(struct nm_req_s *p_req, struct nm_data_s *p_data, struct nm_gate_s *p_gate)
void nm_launcher_set_selector(nm_launcher_selector_t selector, void *_arg)
Declare the selector to use to establish connections.
nm_len_t size
size of the onsided data (not incuding target-side completion)
Definition nm_onesided_private.h:1
enum nm_trk_kind_e nm_trk_kind_t
a data descriptor, used to pack/unpack data from app layout to/from contiguous buffers
Definition nm_data.h:199
Definition nm_launcher_private.h:39
void(* get_topology)(void *_status, struct nm_launcher_rank_vect_s *p_ranks, struct nm_launcher_subgroup_vect_s *p_subgroups, int *n_subgroups)
get the topology of processes
Definition nm_launcher_private.h:47
void(* init)(void *_status, int *argc, char **argv, const char *label)
initialize nmad, establishe connections
Definition nm_launcher_private.h:41
void(* get_gates)(void *_status, nm_gate_t *gates)
get the list of gates
Definition nm_launcher_private.h:45
void(* barrier)(void *_status)
barrier accross all processes, implemented out-of-band of nmad
Definition nm_launcher_private.h:43
a set of gates to manage connection establishment by launcher
Definition nm_launcher_private.h:66