artdaq_mpich_plugin
v1_00_03
|
The MPISentry class initializes and finalizes the MPI context that the artdaq applciations run in. More...
#include <artdaq-mpich-plugin/Application/MPISentry.hh>
Public Member Functions | |
MPISentry (int *argc_ptr, char ***argv_ptr) | |
MPISentry Constructor. More... | |
MPISentry (int *argc_ptr, char ***argv_ptr, int threading_level) | |
MPISentry Constructor. More... | |
MPISentry (int *argc_ptr, char ***argv_ptr, int threading_level, artdaq::TaskType type, MPI_Comm &local_group_comm) | |
MPISentry Constructor. More... | |
~MPISentry () | |
MPISentry Destructor. Calls MPI_Finalize. | |
int | threading_level () const |
Get the actual threading level. More... | |
int | rank () const |
Get the MPI rank of the application. More... | |
int | procs () const |
The number of processes in the MPI context. More... | |
The MPISentry class initializes and finalizes the MPI context that the artdaq applciations run in.
Definition at line 15 of file MPISentry.hh.
artdaq::MPISentry::MPISentry | ( | int * | argc_ptr, |
char *** | argv_ptr | ||
) |
MPISentry Constructor.
argc_ptr | Pointer to the main argc |
argv_ptr | Pointer to the main argv |
Definition at line 10 of file MPISentry.cc.
artdaq::MPISentry::MPISentry | ( | int * | argc_ptr, |
char *** | argv_ptr, | ||
int | threading_level | ||
) |
MPISentry Constructor.
argc_ptr | Pointer to the main argc |
argv_ptr | Pointer to the main argv |
threading_level | Requested MPI threading level |
Definition at line 21 of file MPISentry.cc.
artdaq::MPISentry::MPISentry | ( | int * | argc_ptr, |
char *** | argv_ptr, | ||
int | threading_level, | ||
artdaq::TaskType | type, | ||
MPI_Comm & | local_group_comm | ||
) |
MPISentry Constructor.
argc_ptr | Pointer to the main argc |
argv_ptr | Pointer to the main argv |
threading_level | Requested MPI threading level |
type | The application type of this application. |
local_group_comm | The local communicatior for this application |
Definition at line 49 of file MPISentry.cc.
int artdaq::MPISentry::procs | ( | ) | const |
The number of processes in the MPI context.
Definition at line 120 of file MPISentry.cc.
int artdaq::MPISentry::rank | ( | ) | const |
Get the MPI rank of the application.
Definition at line 113 of file MPISentry.cc.
int artdaq::MPISentry::threading_level | ( | ) | const |
Get the actual threading level.
Definition at line 106 of file MPISentry.cc.