AQUAgpusph 5.0.4
Loading...
Searching...
No Matches
Aqua::MPI Namespace Reference

Functions

void error_handler (MPI_Comm UNUSED_PARAM *comm, int *err,...)
std::string error_str (int errorcode)
 Wrapper for MPI_Error_string()
void init (int *argc, char ***argv)
 Wrapper for MPI_Init()
void finalize ()
 Wrapper for MPI_Finalize()
int rank (MPI_Comm comm)
 Wrapper for MPI_Comm_rank()
int size (MPI_Comm comm)
 Wrapper for MPI_Comm_size()
void barrier (MPI_Comm comm)
 Wrapper for MPI_Barrier()
void send (const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm)
 Wrapper for MPI_Send()
MPI_Request isend (const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm)
 Wrapper for MPI_Isend()
MPI_Status recv (void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm)
 Wrapper for MPI_Recv()
MPI_Request irecv (void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm)
 Wrapper for MPI_Irecv()
MPI_Status wait (MPI_Request *request)
 Wrapper for MPI_Wait()

Function Documentation

◆ barrier()

DECLDIR void Aqua::MPI::barrier ( MPI_Comm comm)

Wrapper for MPI_Barrier()

Parameters
commCommunicator
Exceptions
std::runtime_errorIf MPI errors are detected
Here is the call graph for this function:

◆ error_handler()

void Aqua::MPI::error_handler ( MPI_Comm UNUSED_PARAM * comm,
int * err,
... )
Here is the call graph for this function:

◆ error_str()

std::string Aqua::MPI::error_str ( int errorcode)

Wrapper for MPI_Error_string()

Parameters
errorcodeError code returned by an MPI routine or an MPI error class
Returns
Text that corresponds to the errorcode

◆ finalize()

DECLDIR void Aqua::MPI::finalize ( )

Wrapper for MPI_Finalize()

Exceptions
std::runtime_errorIf MPI errors are detected
Here is the call graph for this function:

◆ init()

DECLDIR void Aqua::MPI::init ( int * argc,
char *** argv )

Wrapper for MPI_Init()

Parameters
argcPointer to the number of arguments
argvArgument vector
Exceptions
std::runtime_errorIf MPI errors are detected
Here is the call graph for this function:

◆ irecv()

MPI_Request Aqua::MPI::irecv ( void * buf,
int count,
MPI_Datatype datatype,
int source,
int tag,
MPI_Comm comm )

Wrapper for MPI_Irecv()

Parameters
bufInitial address of receive buffer
countNumber of elements in receive buffer
datatypeDatatype of each receive buffer element
sourceRank of source
tagMessage tag
commCommunicator
Returns
Communication request
Exceptions
std::runtime_errorIf MPI errors are detected
Here is the call graph for this function:

◆ isend()

MPI_Request Aqua::MPI::isend ( const void * buf,
int count,
MPI_Datatype datatype,
int dest,
int tag,
MPI_Comm comm )

Wrapper for MPI_Isend()

Parameters
bufInitial address of send buffer
countNumber of elements in send buffer
datatypeDatatype of each send buffer element
destRank of destination
tagMessage tag
commCommunicator
Returns
Communication request
Exceptions
std::runtime_errorIf MPI errors are detected
Here is the call graph for this function:

◆ rank()

int Aqua::MPI::rank ( MPI_Comm comm)

Wrapper for MPI_Comm_rank()

Parameters
commCommunicator
Returns
Rank of the calling process in group of comm
Exceptions
std::runtime_errorIf MPI errors are detected
Here is the call graph for this function:

◆ recv()

MPI_Status Aqua::MPI::recv ( void * buf,
int count,
MPI_Datatype datatype,
int source,
int tag,
MPI_Comm comm )

Wrapper for MPI_Recv()

Parameters
bufInitial address of receive buffer
countNumber of elements in receive buffer
datatypeDatatype of each receive buffer element
sourceRank of source
tagMessage tag
commCommunicator
Returns
Status object
Exceptions
std::runtime_errorIf MPI errors are detected
Here is the call graph for this function:

◆ send()

void Aqua::MPI::send ( const void * buf,
int count,
MPI_Datatype datatype,
int dest,
int tag,
MPI_Comm comm )

Wrapper for MPI_Send()

Parameters
bufInitial address of send buffer
countNumber of elements in send buffer
datatypeDatatype of each send buffer element
destRank of destination
tagMessage tag
commCommunicator
Exceptions
std::runtime_errorIf MPI errors are detected
Here is the call graph for this function:

◆ size()

int Aqua::MPI::size ( MPI_Comm comm)

Wrapper for MPI_Comm_size()

Parameters
commCommunicator
Returns
Number of processes in the group of comm
Exceptions
std::runtime_errorIf MPI errors are detected
Here is the call graph for this function:

◆ wait()

MPI_Status Aqua::MPI::wait ( MPI_Request * request)

Wrapper for MPI_Wait()

Parameters
requestRequest
Returns
Status object
Exceptions
std::runtime_errorIf MPI errors are detected
Here is the call graph for this function: