Go to the documentation of this file.
18 #ifndef __LIB_LIBMPI_MPIBACKEND_H
19 #define __LIB_LIBMPI_MPIBACKEND_H
uint MPI_Comm
Communicator identifier.
Abstract Factory pattern providing a creation function declaration.
uint MPI_Status
Status holder.
virtual Result getCommSize(MPI_Comm comm, int *size)=0
Retrieve communication size (total cores)
virtual Result terminate()=0
Terminate the backend.
virtual Result getCommRank(MPI_Comm comm, int *rank)=0
Retrieve communication rank (core id)
virtual Result initialize(int *argc, char ***argv)=0
Initialize the backend.
MPI_Datatype
Named Predefined Datatypes.
Represents a Message Passing Interface (MPI) implementation backend.
virtual Result receive(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status *status)=0
Synchronous receive data.
virtual Result send(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm)=0
Synchronous send data.