CommMPI Class Reference

#include <CommMPI.h>

Inheritance diagram for CommMPI:

Inheritance graph
[legend]
Collaboration diagram for CommMPI:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CommMPI (int &argc, char **&argv, int procs=(-1), bool mpiinit=true)
virtual ~CommMPI (void)
virtual const char * name () const
virtual void cleanupMessage (void *)

Protected Member Functions

virtual bool mysend (Message *, int node, int utag, int etag)
virtual Messagemyreceive (int &node, int &tag, int etag)
virtual void mybarrier (void)
virtual bool resend (void *buf, int size, int node, int etag)

Detailed Description

Definition at line 26 of file CommMPI.h.


Constructor & Destructor Documentation

CommMPI::CommMPI int &  argc,
char **&  argv,
int  procs = (-1),
bool  mpiinit = true
 

Definition at line 71 of file CommMPI.cpp.

References IpplInfo::abort(), Communicate::COMM_HOSTS_TAG, endl(), ERRORMSG, INFOMSG, MPI_Comm_rank(), MPI_Comm_size(), MPI_COMM_WORLD, MPI_Init(), MPI_INT, MPI_Recv(), MPI_Send(), MPI_Status, Communicate::myHost, strdup(), TAU_MESSAGE, TAU_PROFILE, TAU_TRACE_RECVMSG, TAU_TRACE_SENDMSG, and Communicate::TotalNodes.

Here is the call graph for this function:

CommMPI::~CommMPI void   )  [virtual]
 

Definition at line 189 of file CommMPI.cpp.

References Communicate::COMM_ANY_NODE, Communicate::COMM_ANY_TAG, Communicate::COMM_SEND_TAG, endl(), IPPL_ABORT_TAG, IPPL_EXIT_TAG, MPI_Status, myreceive(), TAU_MESSAGE, TAU_PROFILE, Communicate::TotalNodes, and WARNMSG.

Here is the call graph for this function:


Member Function Documentation

void CommMPI::cleanupMessage void *   )  [virtual]
 

Reimplemented from Communicate.

Definition at line 487 of file CommMPI.cpp.

References Communicate::freebuffer(), TAU_MESSAGE, and TAU_PROFILE.

Referenced by myreceive(), and mysend().

Here is the call graph for this function:

void CommMPI::mybarrier void   )  [protected, virtual]
 

Reimplemented from Communicate.

Definition at line 446 of file CommMPI.cpp.

References MPI_Barrier(), TAU_MESSAGE, and TAU_PROFILE.

Here is the call graph for this function:

Message * CommMPI::myreceive int &  node,
int &  tag,
int  etag
[protected, virtual]
 

Reimplemented from Communicate.

Definition at line 368 of file CommMPI.cpp.

References IpplInfo::abort(), cleanupMessage(), DEBUGMSG, endl(), ERRORMSG, level2(), Communicate::makebuffer(), MAX_MPI_ERRS, MPI_Recv(), MPI_Status, TAU_MESSAGE, TAU_PROFILE, TAU_TRACE_RECVMSG, Communicate::TotalNodes, Communicate::unpack_message(), and Message::useCommunicate().

Referenced by ~CommMPI().

Here is the call graph for this function:

bool CommMPI::mysend Message ,
int  node,
int  utag,
int  etag
[protected, virtual]
 

Reimplemented from Communicate.

Definition at line 275 of file CommMPI.cpp.

References Communicate::add_msg(), cleanupMessage(), Communicate::freebuffer(), INFORM_ALL_NODES, Communicate::makebuffer(), MPI_Isend(), MPI_Recv(), MPI_Request, MPI_Status, PACKSIZE, IpplInfo::retransmit(), Message::size(), TAU_MESSAGE, TAU_PROFILE, TAU_TRACE_RECVMSG, TAU_TRACE_SENDMSG, Communicate::unpack_message(), and Message::useCommunicate().

Here is the call graph for this function:

virtual const char* CommMPI::name  )  const [inline, virtual]
 

Reimplemented from Communicate.

Definition at line 37 of file CommMPI.h.

bool CommMPI::resend void *  buf,
int  size,
int  node,
int  etag
[protected, virtual]
 

Reimplemented from Communicate.

Definition at line 456 of file CommMPI.cpp.

References MPI_Isend(), MPI_Request, MPI_Status, Communicate::myNode(), PInsist, TAU_MESSAGE, TAU_PROFILE, and TAU_TRACE_SENDMSG.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Jan 16 14:35:29 2006 for IPPL by  doxygen 1.4.6