FreeNOS
|
MPI (Message Passing Interface) is a standard communication interface for parallel programming. More...
Data Structures | |
class | MpiBackend |
Represents a Message Passing Interface (MPI) implementation backend. More... | |
class | MpiHost |
Implements a MPI backend for the host OS which communicates with mpiproxy servers. More... | |
struct | MPIMessage |
class | MpiTarget |
Implements a Message Passing Interface (MPI) for communication between local cores. More... | |
Typedefs | |
typedef struct MPIMessage | MPIMessage |
Environmental Management | |
C int | MPI_Init (int *argc, char ***argv) |
C int | MPI_Finalize (void) |
Communicator Contexts | |
C int | MPI_Comm_rank (MPI_Comm comm, int *rank) |
C int | MPI_Comm_size (MPI_Comm comm, int *size) |
Point-to-Point Communication | |
| |
C int | MPI_Send (const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) |
C int | MPI_Recv (void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status *status) |
MPI (Message Passing Interface) is a standard communication interface for parallel programming.
typedef uint MPI_Status |
typedef struct MPIMessage MPIMessage |
anonymous enum |
anonymous enum |
MPI Error Codes.
enum MPI_Datatype |
Definition at line 59 of file mpi.cpp.
References assert, MpiBackend::getCommRank(), mpiBackend, and ZERO.
Referenced by MpiPrime::initialize(), and MpiPing::initialize().
Definition at line 66 of file mpi.cpp.
References assert, MpiBackend::getCommSize(), mpiBackend, and ZERO.
Referenced by MpiPing::exec(), and MpiPrime::initialize().
C int MPI_Finalize | ( | void | ) |
Definition at line 30 of file mpi.cpp.
References assert, mpiBackend, MpiBackend::terminate(), and ZERO.
Referenced by MpiPrime::exec(), and MpiPing::exec().
C int MPI_Init | ( | int * | argc, |
char *** | argv | ||
) |
Definition at line 24 of file mpi.cpp.
References assert, MpiBackend::initialize(), mpiBackend, and ZERO.
C int MPI_Recv | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | source, | ||
int | tag, | ||
MPI_Comm | comm, | ||
MPI_Status * | status | ||
) |
Definition at line 47 of file mpi.cpp.
References assert, mpiBackend, MpiBackend::receive(), and ZERO.
Referenced by MpiPrime::collect(), and MpiPing::receiveNumber().
C int MPI_Send | ( | const void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | dest, | ||
int | tag, | ||
MPI_Comm | comm | ||
) |
Definition at line 36 of file mpi.cpp.
References assert, mpiBackend, MpiBackend::send(), and ZERO.
Referenced by MpiPrime::collect(), and MpiPing::sendNumber().