CommPM Class Reference

#include <CommPM.h>

Inheritance diagram for CommPM:

Inheritance graph
[legend]
Collaboration diagram for CommPM:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CommPM (int &argc, char **&argv, int procs=(-1))
virtual ~CommPM (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)

Detailed Description

Definition at line 25 of file CommPM.h.


Constructor & Destructor Documentation

CommPM::CommPM int &  argc,
char **&  argv,
int  procs = (-1)
 

Definition at line 77 of file CommPM.cpp.

References _pm_subnet, _pm_subnet_count, 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:

CommPM::~CommPM void   )  [virtual]
 

Definition at line 195 of file CommPM.cpp.

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

Here is the call graph for this function:


Member Function Documentation

void CommPM::cleanupMessage void *   )  [virtual]
 

Reimplemented from Communicate.

Definition at line 433 of file CommPM.cpp.

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

Here is the call graph for this function:

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

Reimplemented from Communicate.

Definition at line 424 of file CommPM.cpp.

References MPI_Barrier(), MPI_COMM_WORLD, TAU_MESSAGE, and TAU_PROFILE.

Here is the call graph for this function:

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

Reimplemented from Communicate.

Definition at line 381 of file CommPM.cpp.

References _pmPutReceiveBuf(), _pmReceive(), DEBUGMSG, endl(), ERRORMSG, level2(), Communicate::makebuffer(), TAU_MESSAGE, TAU_PROFILE, TAU_TRACE_RECVMSG, Communicate::unpack_message(), and Message::useCommunicate().

Referenced by ~CommPM().

Here is the call graph for this function:

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

Reimplemented from Communicate.

Definition at line 278 of file CommPM.cpp.

References _pmGetSendBuf(), _pmSend(), _pmSendDone(), ERRORMSG, Communicate::fill_msg_buffer(), Communicate::find_msg_length(), Communicate::myHost, TAU_MESSAGE, and TAU_PROFILE.

Here is the call graph for this function:

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

Reimplemented from Communicate.

Definition at line 36 of file CommPM.h.


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