14 MPI_Initialized(&flag);
15 if (!flag) MPI_Init(argc, argv);
18 MPI_Comm_dup(MPI_COMM_WORLD, comm);
26 MPI_Barrier(MPI_COMM_WORLD);
int comm_rank
Definition: xmp_data_struct.h:52
int comm_size
Definition: xmp_data_struct.h:48
int attr
Definition: xmp_data_struct.h:49
#define _XMP_N_INT_TRUE
Definition: xmp_constant.h:4
#define _XMP_ENTIRE_NODES
Definition: xmp_constant.h:121
void _XMP_push_nodes(void *nodes)
void * _XMP_alloc(size_t size)
Definition: xmp_util.c:21
_XMP_nodes_t * _XMP_create_nodes_by_comm(int is_member, _XMP_comm_t *comm)
Definition: xmp_nodes.c:1007
int _XMP_world_size
Definition: xmp_world.c:8
int _XMP_world_rank
Definition: xmp_world.c:9
void * _XMP_world_nodes
Definition: xmp_world.c:10