geopm 3.2.1.dev535+ga96c120fc
GEOPM - Global Extensible Open Power Manager
Loading...
Searching...
No Matches
geopm_pmpi_helper.cpp File Reference
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
#include <climits>
#include "geopm/Environment.hpp"
#include "geopm/Exception.hpp"
#include "geopm/ServiceProxy.hpp"
#include "geopm/Profile.hpp"
#include <mpi.h>
#include "geopm_ctl.h"
#include "geopm_prof.h"
#include "geopm_error.h"
#include "geopm_hint.h"
#include "geopm_pmpi.h"
#include "geopm_sched.h"
#include "geopm_time.h"
#include "geopm_mpi_comm_split.h"
Include dependency graph for geopm_pmpi_helper.cpp:

Macros

#define _GNU_SOURCE

Functions

void geopm_mpi_region_enter (uint64_t func_rid)
 Mark entry of a wrapped MPI region.
void geopm_mpi_region_exit (uint64_t func_rid)
 Mark exit of a wrapped MPI region.
uint64_t geopm_mpi_func_rid (const char *func_name)
 Create a unique region_id from a MPI function name.
MPI_Comm geopm_swap_comm_world (MPI_Comm comm)
MPI_Fint geopm_swap_comm_world_f (MPI_Fint comm)
 Swap out COMM_WORLD with our internally modified comm (fortran only).
int geopm_pmpi_init_thread (int *argc, char **argv[], int required, int *provided)
int geopm_pmpi_finalize (void)

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Function Documentation

◆ 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).