PPL Logo

util/pup_mpi.h File Reference

Go to the source code of this file.

Functions

void pup_checkMPIerr (int mpi_err, const char *file, int line)
int MPI_Incoming_pup (MPI_Datatype dt, int from, int tag, MPI_Comm comm)
 Return the number of dt's in the next MPI message from/tag/comm.
template<class T>
void MPI_Recv_pup (T &t, int from, int tag, MPI_Comm comm)
 MPI_Recv, but using an object T with a pup routine.
template<class T>
void MPI_Send_pup (T &t, int to, int tag, MPI_Comm comm)
 MPI_Send, but using an object T with a pup routine.
template<class T>
void MPI_Bcast_pup (T &t, int root, MPI_Comm comm)
 MPI_Bcast, but using an object T with a pup routine.


Function Documentation

void pup_checkMPIerr ( int  mpi_err,
const char *  file,
int  line 
) [inline]

Definition at line 14 of file pup_mpi.h.

References CmiAbort(), and CmiError().

Here is the call graph for this function:

int MPI_Incoming_pup ( MPI_Datatype  dt,
int  from,
int  tag,
MPI_Comm  comm 
) [inline]

Return the number of dt's in the next MPI message from/tag/comm.

Definition at line 23 of file pup_mpi.h.

References len, and MPI_Probe.

Referenced by FEM_chunk::exchangeGhostLists(), FEMchunk::exchangeGhostLists(), and MPI_Recv_pup().

Here is the caller graph for this function:

template<class T>
void MPI_Recv_pup ( T &  t,
int  from,
int  tag,
MPI_Comm  comm 
) [inline]

MPI_Recv, but using an object T with a pup routine.

Definition at line 32 of file pup_mpi.h.

References buf, PUP::fromMemBuf(), len, and MPI_Incoming_pup().

Referenced by FEM_master_parallel_part(), and FEM_slave_parallel_part().

Here is the call graph for this function:

Here is the caller graph for this function:

template<class T>
void MPI_Send_pup ( T &  t,
int  to,
int  tag,
MPI_Comm  comm 
) [inline]

MPI_Send, but using an object T with a pup routine.

Definition at line 43 of file pup_mpi.h.

References buf, len, PUP::size(), and PUP::toMemBuf().

Referenced by sendBrokenMeshes().

Here is the call graph for this function:

Here is the caller graph for this function:

template<class T>
void MPI_Bcast_pup ( T &  t,
int  root,
MPI_Comm  comm 
) [inline]

MPI_Bcast, but using an object T with a pup routine.

Definition at line 52 of file pup_mpi.h.

References buf, PUP::fromMemBuf(), len, MPI_Bcast, MPI_Comm_rank, PUP::size(), and PUP::toMemBuf().

Referenced by CreateAdaptAdjacencies(), FEM_master_parallel_part(), FEM_slave_parallel_part(), makeGhost(), and ParFUM_createComm().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Mon Sep 21 08:11:52 2020 for Charm++ by  doxygen 1.5.5