Interface for the MPIClusterSvc, which manages internode communications in AthenaMPI.
More...
#include <IMPIClusterSvc.h>
|
| | DeclareInterfaceID (IMPIClusterSvc, 1, 0) |
| | InterfaceID.
|
| virtual int | numRanks () const =0 |
| | Number of ranks.
|
| virtual int | rank () const =0 |
| | MPI rank.
|
| virtual void | barrier ()=0 |
| | MPI Barrier.
|
| virtual void | abort ()=0 |
| | MPI Abort – For use if there's an error during initialization.
|
| virtual void | sendMessage (int destRank, ClusterMessage message, ClusterComm communicator=ClusterComm::Default)=0 |
| | Send a message.
|
| virtual ClusterMessage | waitReceiveMessage (ClusterComm communicator=ClusterComm::Default)=0 |
| | Wait to receive a message.
|
| virtual boost::mpi3::communicator & | data_communicator ()=0 |
| | Provide the MPI3 data communicator.
|
| virtual void | log_addEvent (int eventIdx, std::int64_t run_number, std::int64_t event_number, std::int64_t request_time_ns, std::size_t slot)=0 |
| | Run at start of event to add it to the log.
|
| virtual void | log_completeEvent (std::int64_t run_number, std::int64_t event_number, std::int64_t status)=0 |
| | Run at end of event to complete it in the log.
|
Interface for the MPIClusterSvc, which manages internode communications in AthenaMPI.
Definition at line 22 of file IMPIClusterSvc.h.
◆ abort()
| virtual void IMPIClusterSvc::abort |
( |
| ) |
|
|
pure virtual |
MPI Abort – For use if there's an error during initialization.
◆ barrier()
| virtual void IMPIClusterSvc::barrier |
( |
| ) |
|
|
pure virtual |
◆ data_communicator()
| virtual boost::mpi3::communicator & IMPIClusterSvc::data_communicator |
( |
| ) |
|
|
pure virtual |
Provide the MPI3 data communicator.
◆ DeclareInterfaceID()
◆ log_addEvent()
| virtual void IMPIClusterSvc::log_addEvent |
( |
int | eventIdx, |
|
|
std::int64_t | run_number, |
|
|
std::int64_t | event_number, |
|
|
std::int64_t | request_time_ns, |
|
|
std::size_t | slot ) |
|
pure virtual |
Run at start of event to add it to the log.
◆ log_completeEvent()
| virtual void IMPIClusterSvc::log_completeEvent |
( |
std::int64_t | run_number, |
|
|
std::int64_t | event_number, |
|
|
std::int64_t | status ) |
|
pure virtual |
Run at end of event to complete it in the log.
◆ numRanks()
| virtual int IMPIClusterSvc::numRanks |
( |
| ) |
const |
|
pure virtual |
◆ rank()
| virtual int IMPIClusterSvc::rank |
( |
| ) |
const |
|
pure virtual |
◆ sendMessage()
◆ waitReceiveMessage()
Wait to receive a message.
The documentation for this class was generated from the following file: