#include <stdio.h>
int main(int argc, char**argv)
{
{
fprintf(stderr, "error in nm_launcher_init()\n");
}
int rank = -1,
size = -1;
printf(
"rank = %d; size = %d\n", rank,
size);
return 0;
}
@ NM_ESUCCESS
successful operation
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_exit(void)
Cleans session.
static int nm_launcher_init(int *argc, char **argv)
Initializes nmad.
int nm_session_open(nm_session_t *pp_session, const char *label)
Open a new session, assuming processes are already connected.
int nm_session_close(nm_session_t p_session)
Disconnect and destroy a session.
static nm_session_t p_session
nm_len_t size
size of the onsided data (not incuding target-side completion)