libxmp/libxmpf in Omni Compiler
1.3.4
|
#include "mpi.h"
#include "xmp_internal.h"
◆ MPI_PORTABLE_PLATFORM_H
#define MPI_PORTABLE_PLATFORM_H |
◆ _XMP_finalize_world()
void _XMP_finalize_world |
( |
bool |
isFinalize | ) |
|
30 MPI_Barrier(MPI_COMM_WORLD);
◆ _XMP_init_world()
void _XMP_init_world |
( |
int * |
argc, |
|
|
char *** |
argv |
|
) |
| |
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);
◆ _XMP_split_world_by_color()
int _XMP_split_world_by_color |
( |
int |
color | ) |
|
46 MPI_Comm_rank(new_comm, &new_comm_rank);
47 MPI_Comm_free(&new_comm);
◆ _XMP_world_nodes
◆ _XMP_world_rank
◆ _XMP_world_size
int comm_size
Definition: xmp_data_struct.h:48
void * _XMP_alloc(size_t size)
Definition: xmp_util.c:21
void _XMP_finalize_nodes(void *nodes)
int comm_rank
Definition: xmp_data_struct.h:52
#define _XMP_ENTIRE_NODES
Definition: xmp_constant.h:121
_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
void * _XMP_world_nodes
Definition: xmp_world.c:10
void _XMP_push_nodes(void *nodes)
int _XMP_world_rank
Definition: xmp_world.c:9
int attr
Definition: xmp_data_struct.h:49
Definition: xmp_data_struct.h:40
#define _XMP_N_INT_TRUE
Definition: xmp_constant.h:4
void * _XMP_get_execution_nodes(void)
Definition: xmp_nodes_stack.c:46