cca-spec-babel  0.8.6-unstable(developer)
Public Member Functions
gov.cca.ports.MPIService Interface Reference
Inheritance diagram for gov.cca.ports.MPIService:
Inheritance graph
[legend]
Collaboration diagram for gov.cca.ports.MPIService:
Collaboration graph
[legend]

List of all members.

Public Member Functions

long getComm () throws gov.cca.CCAException
 Get an mpi communicator with the same scope as the component instance.
void releaseComm (in long comm) throws gov.cca.CCAException
 Let go the communicator.

Member Function Documentation

Get an mpi communicator with the same scope as the component instance.

Won't be mpi_comm_null. The communicator returned will be private to the recipient, which implies an mpicommdup by the provider. Call must be made collectively.

Returns:
The comm produced, in FORTRAN form. C callers use comm_f2c method defined by their mpi implementation, usually MPI_Comm_f2c, to convert result to MPI_Comm.
Exceptions:
CCAExceptionif the service cannot be implemented because MPI is not present.

Let go the communicator.

previously fetched with getComm. Call must be made collectively.

Exceptions:
CCAExceptionif an error is detected.

The documentation for this interface was generated from the following file: