|
NEOCCA bindings Specification
0.2.8
|
Implementation that can be reused by driver writers. More...
#include <MPISetup.hh>

Public Member Functions | |
| MPISetup () | |
| ~MPISetup () | |
| void | initialize (MPI_Comm borrowComm, MPI_Comm dupComm, neo::cca::AbstractFramework *naf) |
| Create and add to the framework MPIService and MPIBorrow support services. More... | |
| void | finalize (bool reclaim) |
| Shutdown the previous mpi-related services. More... | |
Private Attributes | |
| neo::cca::Services * | ms |
| neo::cca::AbstractFramework * | naf |
| neo::cca::ports::MPIService * | mpis |
| neo::cca::ports::MPIBorrow * | mpib |
| neo::cca::ports::ServiceRegistry * | sr |
| bool | finalized |
Implementation that can be reused by driver writers.
Independent of Ccafe internals.
| neo::support::MPISetup::MPISetup | ( | ) |
| neo::support::MPISetup::~MPISetup | ( | ) |
| void neo::support::MPISetup::initialize | ( | MPI_Comm | borrowComm, |
| MPI_Comm | dupComm, | ||
| neo::cca::AbstractFramework * | naf | ||
| ) |
Create and add to the framework MPIService and MPIBorrow support services.
This will appear in the frame as an MPISetup component. MPI_Init must have been called before this is called.
| borrowComm | the shared communicator for those using MPIBorrow. |
| dupComm | the communicator to duplicate for those using MPIService. |
| naf | The frame into which the services will be added. |
| void neo::support::MPISetup::finalize | ( | bool | reclaim | ) |
Shutdown the previous mpi-related services.
| reclaim | if reclaim true, try to release communicator resources allocated in MPIService support. Otherwise, lose them. |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.13