Go to the source code of this file.
◆ GEOPM_PMPI_ENTER_MACRO
#define GEOPM_PMPI_ENTER_MACRO |
( |
|
FUNC | ) |
|
Value: static unsigned is_once = 1; \
static uint64_t func_rid = 0; \
if (is_once || func_rid == 0) { \
is_once = 0; \
} \
geopm_mpi_region_enter(func_rid);
uint64_t geopm_mpi_func_rid(const char *func_name)
Create a unique region_id from a MPI function name.
Definition: geopm_pmpi_helper.cpp:100
◆ GEOPM_PMPI_EXIT_MACRO
◆ geopm_mpi_func_rid()
uint64_t geopm_mpi_func_rid |
( |
const char * |
func_name | ) |
|
Create a unique region_id from a MPI function name.
◆ geopm_mpi_region_enter()
void geopm_mpi_region_enter |
( |
uint64_t |
func_rid | ) |
|
Mark entry of a wrapped MPI region.
◆ geopm_mpi_region_exit()
void geopm_mpi_region_exit |
( |
uint64_t |
func_rid | ) |
|
Mark exit of a wrapped MPI region.
◆ geopm_pmpi_finalize()
int geopm_pmpi_finalize |
( |
void |
| ) |
|
◆ geopm_pmpi_init_thread()
int geopm_pmpi_init_thread |
( |
int * |
argc, |
|
|
char ** |
argv[], |
|
|
int |
required, |
|
|
int * |
provided |
|
) |
| |
◆ geopm_swap_comm_world()
MPI_Comm geopm_swap_comm_world |
( |
MPI_Comm |
comm | ) |
|
◆ geopm_swap_comm_world_f()
MPI_Fint geopm_swap_comm_world_f |
( |
MPI_Fint |
comm | ) |
|
Swap out COMM_WORLD with our internally modified comm (fortran only)