geopm  3.1.1.dev296+g5916b956
GEOPM - Global Extensible Open Power Manager
Functions
MPICommSplit.cpp File Reference
#include <sys/stat.h>
#include <unistd.h>
#include <sstream>
#include "geopm_mpi_comm_split.h"
#include "geopm/SharedMemory.hpp"
#include "geopm/Environment.hpp"
#include "geopm/Exception.hpp"
#include "Controller.hpp"
#include "Comm.hpp"
#include "MPIComm.hpp"
#include "ApplicationSampler.hpp"
Include dependency graph for MPICommSplit.cpp:

Functions

int geopm_ctl_create (MPI_Comm comm, struct geopm_ctl_c **ctl)
 creates a geopm_ctl_c object, ctl which is an opaque structure that holds the state used to execute the control algorithm with one of the other functions described in this header file. More...
 
int geopm_ctl_create_f (int comm, struct geopm_ctl_c **ctl)
 
int geopm_comm_split_ppn1 (MPI_Comm comm, const char *tag, MPI_Comm *ppn1_comm)
 
int geopm_comm_split_shared (MPI_Comm comm, const char *tag, MPI_Comm *split_comm)
 
int geopm_comm_split (MPI_Comm comm, const char *tag, MPI_Comm *split_comm, int *is_ctl_comm)
 

Function Documentation

◆ geopm_comm_split()

int geopm_comm_split ( MPI_Comm  comm,
const char *  tag,
MPI_Comm *  split_comm,
int *  is_ctl_comm 
)

◆ geopm_comm_split_ppn1()

int geopm_comm_split_ppn1 ( MPI_Comm  comm,
const char *  tag,
MPI_Comm *  ppn1_comm 
)

◆ geopm_comm_split_shared()

int geopm_comm_split_shared ( MPI_Comm  comm,
const char *  tag,
MPI_Comm *  split_comm 
)

◆ geopm_ctl_create()

int geopm_ctl_create ( MPI_Comm  comm,
struct geopm_ctl_c **  ctl 
)

creates a geopm_ctl_c object, ctl which is an opaque structure that holds the state used to execute the control algorithm with one of the other functions described in this header file.

The control algorithm relies on feedback about the application profile.

Parameters
commThe user provides an MPI communicator, which must have at least one process running on every compute node under control.
ctlThe out parameter pointer to the created geopm_ctl_c object

◆ geopm_ctl_create_f()

int geopm_ctl_create_f ( int  comm,
struct geopm_ctl_c **  ctl 
)