OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
types.h
Go to the documentation of this file.
1 #ifndef __COMM_TYPES__
2 #define __COMM_TYPES__
3 
4 #include <vector>
5 
6 #include "mpi.h"
7 
8 namespace Comm {
9 
10  typedef size_t id_t;
11  typedef size_t localId_t;
12 
14  struct Bundle_t {
15  int island_id;
19  MPI_Comm worker;
20  MPI_Comm opt;
21  MPI_Comm coworkers;
22  MPI_Comm world;
23  };
24 }
25 
26 #endif
int island_id
Definition: types.h:15
size_t id_t
Definition: types.h:10
size_t localId_t
Definition: types.h:11
int master_pid
Definition: types.h:17
MPI_Comm world
Definition: types.h:22
MPI_Comm worker
Definition: types.h:19
MPI_Comm coworkers
Definition: types.h:21
int master_local_pid
Definition: types.h:18
MPI_Comm opt
Definition: types.h:20
bundles all communicators for a specific role/pid
Definition: types.h:14
int leader_pid
Definition: types.h:16