OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
#include <CommSplitter.h>
Inherits Strategy_t.
Public Member Functions | |
CommSplitter (CmdArguments_t args, MPI_Comm comm=MPI_COMM_WORLD) | |
virtual | ~CommSplitter () |
bool | isOptimizer () const |
bool | isWorker () const |
bool | isPilot () const |
MPI_Comm | mpiComm () const |
int | globalRank () const |
int | pilotRank () const |
int | getLeader () const |
int | getNrWorkerGroups () const |
Comm::Bundle_t | getBundle () const |
construct comm bundle and return More... | |
Private Attributes | |
MPI_Comm | world_comm_ |
MPI_Group | world_group_ |
int | global_rank_ |
global MPI PID More... | |
MPI_Comm | my_worker_comm_ |
MPI_Comm | my_opt_comm_ |
MPI_Comm | my_coworker_comm_ |
MPI_Comm | my_comm_world_ |
int | poller_local_pid_ |
local (wrt. the communicator group) rank of the master/pilot process More... | |
Definition at line 48 of file CommSplitter.h.
|
inline |
Definition at line 52 of file CommSplitter.h.
References CommSplitter< Strategy_t >::global_rank_, CommSplitter< Strategy_t >::my_comm_world_, CommSplitter< Strategy_t >::my_coworker_comm_, CommSplitter< Strategy_t >::my_opt_comm_, CommSplitter< Strategy_t >::my_worker_comm_, CommSplitter< Strategy_t >::world_comm_, and CommSplitter< Strategy_t >::world_group_.
|
inlinevirtual |
Definition at line 83 of file CommSplitter.h.
References CommSplitter< Strategy_t >::world_comm_, and CommSplitter< Strategy_t >::world_group_.
|
inline |
construct comm bundle and return
Definition at line 102 of file CommSplitter.h.
References Comm::Bundle_t::coworkers, Comm::Bundle_t::island_id, Comm::Bundle_t::leader_pid, Comm::Bundle_t::master_local_pid, Comm::Bundle_t::master_pid, CommSplitter< Strategy_t >::my_comm_world_, CommSplitter< Strategy_t >::my_coworker_comm_, CommSplitter< Strategy_t >::my_opt_comm_, CommSplitter< Strategy_t >::my_worker_comm_, Comm::Bundle_t::opt, Comm::Bundle_t::worker, and Comm::Bundle_t::world.
|
inline |
Definition at line 97 of file CommSplitter.h.
|
inline |
Definition at line 99 of file CommSplitter.h.
|
inline |
Definition at line 95 of file CommSplitter.h.
References CommSplitter< Strategy_t >::global_rank_.
|
inline |
Definition at line 90 of file CommSplitter.h.
References OPTIMIZER.
|
inline |
Definition at line 92 of file CommSplitter.h.
References POLLER.
|
inline |
Definition at line 91 of file CommSplitter.h.
References WORKER.
|
inline |
Definition at line 94 of file CommSplitter.h.
References CommSplitter< Strategy_t >::world_comm_.
|
inline |
Definition at line 96 of file CommSplitter.h.
|
private |
global MPI PID
Definition at line 127 of file CommSplitter.h.
Referenced by CommSplitter< Strategy_t >::CommSplitter(), and CommSplitter< Strategy_t >::globalRank().
|
private |
Definition at line 133 of file CommSplitter.h.
Referenced by CommSplitter< Strategy_t >::CommSplitter(), and CommSplitter< Strategy_t >::getBundle().
|
private |
Definition at line 132 of file CommSplitter.h.
Referenced by CommSplitter< Strategy_t >::CommSplitter(), and CommSplitter< Strategy_t >::getBundle().
|
private |
Definition at line 131 of file CommSplitter.h.
Referenced by CommSplitter< Strategy_t >::CommSplitter(), and CommSplitter< Strategy_t >::getBundle().
|
private |
Definition at line 130 of file CommSplitter.h.
Referenced by CommSplitter< Strategy_t >::CommSplitter(), and CommSplitter< Strategy_t >::getBundle().
|
private |
local (wrt. the communicator group) rank of the master/pilot process
Definition at line 136 of file CommSplitter.h.
|
private |
Definition at line 123 of file CommSplitter.h.
Referenced by CommSplitter< Strategy_t >::CommSplitter(), CommSplitter< Strategy_t >::mpiComm(), and CommSplitter< Strategy_t >::~CommSplitter().
|
private |
Definition at line 124 of file CommSplitter.h.
Referenced by CommSplitter< Strategy_t >::CommSplitter(), and CommSplitter< Strategy_t >::~CommSplitter().