na-group.c
Go to the documentation of this file.
143 struct na_group_barrier_s*barrier = na_group_barrier_hashtable_lookup(&na_group.barriers, group_name);
167 struct na_group_barrier_s*barrier = na_group_barrier_hashtable_lookup(&na_group.barriers, group_name);
218 padico_trace("storing group %s nodes=%zd\n", g->group_id, padico_topo_node_vect_size(g->nodes));
assert(slab_size > 0)
Internal definitions for PadicoControl.
static void padico_control_send_oneway(padico_topo_node_t node, const char *msg)
Send a "one way" message on the control channel.
Definition PadicoControl.h:102
static padico_req_t padico_control_send(padico_topo_node_t node, const char *cmd)
Send a blocking request on the control channel.
Definition PadicoControl.h:116
const char * padico_topo_node_getname(padico_topo_node_t node)
Get the canonical name of a node.
Definition topology.c:1917
padico_topo_host_t padico_topo_node_gethost(padico_topo_node_t node)
Get the host hosting a node.
Definition topology.c:1927
typdef struct padico_topo_host_vect_s * padico_topo_host_vect_t
Definition Topology.h:86
typdef struct padico_topo_node_vect_s * padico_topo_node_vect_t
Definition Topology.h:84
padico_topo_uuid_t padico_topo_node_getuuid(padico_topo_node_t node)
Get the UUID of a node.
Definition topology.c:1912
void padico_group_publish(padico_group_t group)
Publishes a group to its members.
Definition na-group.c:295
static void group_barrier_stage2_end_handler(puk_parse_entity_t e)
Definition na-group.c:163
padico_rc_t padico_group_wait_all(padico_group_t group, padico_group_req_t greq)
Definition na-group.c:455
static struct puk_tag_action_s group_barrier_stage2_action
Definition na-group.c:173
static struct puk_tag_action_s group_barrier_stage1_action
Definition na-group.c:155
padico_group_t padico_group_dup(padico_group_t g, const char *new_name)
Definition na-group.c:245
padico_group_t padico_group_topology(padico_group_t g, const char *distrib)
create a new group with nodes sorted according to given topology
Definition na-group.c:343
static void killgroup_end_handler(puk_parse_entity_t e)
Definition na-group.c:122
padico_topo_node_t padico_group_node(padico_group_t g, int rank)
Definition na-group.c:278
static void group_barrier_stage1_end_handler(puk_parse_entity_t e)
Definition na-group.c:139
void padico_group_node_add(padico_group_t g, padico_topo_node_t node)
Definition na-group.c:233
padico_group_req_t padico_group_send_to_all(padico_group_t group, const char *cmd)
Sends a command to each member of a group (except self)
Definition na-group.c:436
int padico_group_rank(padico_group_t g, padico_topo_node_t node)
Rank of the given node in the group.
Definition na-group.c:262
static void na_group_destructor(const char *label, struct padico_group_s *group)
Definition na-group.c:80
void padico_group_kill(padico_group_t group, int rc)
kill all nodes in group
Definition na-group.c:318
static void group_host_table_destructor(padico_topo_host_t host, padico_topo_node_vect_t v)
Definition na-group.c:334
static struct @45 na_group
Definition na-group.c:341
Definition na-group.c:65
const char * group_id
group name; not group pointer, because it may not be created yet when receiving stage1 msgs
Definition na-group.c:60
int count
on node0: number of ready nodes; on other nodes, whether stage2 has been received
Definition na-group.c:61
Definition na-group.c:70