Go to the source code of this file.
◆ check_rc
Value:
{ \
fprintf(stderr, "Error %d (%s) in %s line %d\n", \
abort(); \
}
const char * nm_strerror(int rc)
@ NM_ESUCCESS
successful operation
Definition at line 159 of file nm_examples_helper.h.
◆ nm_example_topo_e
Enumerator |
---|
NM_EXAMPLES_TOPO_RING | |
NM_EXAMPLES_TOPO_PAIRS | |
NM_EXAMPLES_TOPO_STAR | |
Definition at line 32 of file nm_examples_helper.h.
◆ _next()
◆ buffer_content()
static char buffer_content |
( |
nm_len_t |
offset | ) |
|
|
inlinestatic |
◆ clear_buffer()
static void clear_buffer |
( |
char * |
buffer, |
|
|
nm_len_t |
len |
|
) |
| |
|
static |
◆ compute()
static void compute |
( |
unsigned |
usec | ) |
|
|
inlinestatic |
◆ control_buffer()
static void control_buffer |
( |
const char * |
buffer, |
|
|
nm_len_t |
len |
|
) |
| |
|
static |
◆ fill_buffer()
static void fill_buffer |
( |
char * |
buffer, |
|
|
nm_len_t |
len |
|
) |
| |
|
static |
◆ nm_examples_barrier()
static void nm_examples_barrier |
( |
nm_tag_t |
tag | ) |
|
|
inlinestatic |
◆ nm_examples_exit()
static void nm_examples_exit |
( |
void |
| ) |
|
|
inlinestatic |
- Examples
- nm_mcast_basic.c, nm_onesided_queues.c, nm_onesided_simple.c, nm_pack_headers.c, nm_sr_hello.c, and nm_sr_peek.c.
Definition at line 84 of file nm_examples_helper.h.
References nm_comm_destroy(), nm_examples_barrier(), nm_launcher_exit(), nm_session_close(), p_comm, and p_session.
◆ nm_examples_init()
static void nm_examples_init |
( |
int * |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
inlinestatic |
◆ nm_examples_init_topo()
static void nm_examples_init_topo |
( |
int * |
argc, |
|
|
char * |
argv[], |
|
|
enum nm_example_topo_e |
topo |
|
) |
| |
|
static |
- Examples
- nm_mcast_basic.c, and nm_sr_hello.c.
Definition at line 39 of file nm_examples_helper.h.
References is_server, nm_comm_world(), NM_EXAMPLES_TOPO_PAIRS, NM_EXAMPLES_TOPO_RING, NM_EXAMPLES_TOPO_STAR, nm_launcher_get_gate(), nm_launcher_get_rank(), nm_launcher_get_size(), nm_launcher_init(), nm_session_open(), p_comm, p_gate, p_session, and size.
Referenced by nm_examples_init().
◆ data_tag
◆ is_server
◆ p_comm
◆ p_gate
- Examples
- nm_onesided_queues.c, nm_onesided_simple.c, nm_pack_headers.c, nm_rpc_hello.c, nm_sr_hello.c, and nm_sr_peek.c.
Definition at line 26 of file nm_examples_helper.h.
Referenced by nm_coll_tree_issend(), nm_coll_tree_recv(), nm_coll_tree_send(), nm_comm_get_dest(), nm_core_post_ack(), nm_core_post_msg(), nm_core_post_rtr(), nm_examples_init_topo(), nm_gate_is_in_active_list(), nm_gate_isactive(), nm_gate_set_active(), nm_gate_trk_get(), nm_launcher_self_gate(), nm_matching_gsession_bytag(), nm_mpi_communicator_get_dest(), nm_pw_assign(), nm_rpc_get_source(), nm_rpc_send(), nm_sr_irecv(), nm_sr_irecv_data(), nm_sr_irecv_iov(), nm_sr_irecv_iov_with_ref(), nm_sr_irecv_with_ref(), nm_sr_isend(), nm_sr_isend_data(), nm_sr_isend_iov(), nm_sr_isend_iov_with_ref(), nm_sr_isend_with_ref(), nm_sr_issend(), nm_sr_recv(), nm_sr_recv_irecv(), nm_sr_recv_match(), nm_sr_rsend(), nm_sr_send(), nm_sr_send_dest(), nm_sr_send_isend(), nm_sr_send_issend(), nm_sr_send_rsend(), nm_strat_gate_schedule(), nm_strat_pack_ctrl(), nm_strat_rdv_accept(), nm_strat_schedule(), nm_strat_submit_req_chunk(), nm_sync_clocks_recv(), nm_sync_clocks_send(), nm_tactic_pack_ctrl(), and nm_trk_get_by_index().
◆ p_session
- Examples
- nm_launcher_mini.c, nm_onesided_queues.c, nm_onesided_simple.c, nm_pack_headers.c, nm_rpc_hello.c, nm_sr_custom_data.c, nm_sr_hello.c, and nm_sr_peek.c.
Definition at line 25 of file nm_examples_helper.h.
Referenced by nm_coll_tree_status_init(), nm_examples_exit(), nm_examples_init_topo(), nm_sr_irecv(), nm_sr_irecv_data(), nm_sr_irecv_iov(), nm_sr_irecv_iov_with_ref(), nm_sr_irecv_with_ref(), nm_sr_isend(), nm_sr_isend_data(), nm_sr_isend_iov(), nm_sr_isend_iov_with_ref(), nm_sr_isend_with_ref(), nm_sr_issend(), nm_sr_recv(), nm_sr_recv_data_test(), nm_sr_recv_init(), nm_sr_recv_irecv(), nm_sr_recv_match(), nm_sr_recv_unpack_contiguous(), nm_sr_recv_unpack_iov(), nm_sr_rsend(), nm_sr_send(), nm_sr_send_dest(), nm_sr_send_init(), nm_sr_send_isend(), nm_sr_send_issend(), nm_sr_send_pack_contiguous(), nm_sr_send_pack_iov(), nm_sr_send_rsend(), nm_sync_clocks_recv(), and nm_sync_clocks_send().
◆ sync_tag