CommSHMEMPI Class Reference

#include <CommSHMEMPI.h>

Inheritance diagram for CommSHMEMPI:

Inheritance graph
[legend]
Collaboration diagram for CommSHMEMPI:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CommSHMEMPI (int &argc, char **&argv, int procs=(-1))
virtual ~CommSHMEMPI (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 30 of file CommSHMEMPI.h.


Constructor & Destructor Documentation

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

Definition at line 62 of file CommSHMEMPI.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:

CommSHMEMPI::~CommSHMEMPI void   )  [virtual]
 

Definition at line 176 of file CommSHMEMPI.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 CommSHMEMPI::cleanupMessage void *   )  [virtual]
 

Reimplemented from Communicate.

Definition at line 408 of file CommSHMEMPI.cpp.

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

Here is the call graph for this function:

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

Reimplemented from Communicate.

Definition at line 399 of file CommSHMEMPI.cpp.

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

Here is the call graph for this function:

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

Reimplemented from Communicate.

Definition at line 329 of file CommSHMEMPI.cpp.

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

Referenced by ~CommSHMEMPI().

Here is the call graph for this function:

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

Reimplemented from Communicate.

Definition at line 250 of file CommSHMEMPI.cpp.

References Communicate::add_msg(), Communicate::freebuffer(), Communicate::makebuffer(), MPI_COMM_WORLD, MPI_Isend(), MPI_Recv(), MPI_Request, MPI_Status, PACKSIZE, 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* CommSHMEMPI::name  )  const [inline, virtual]
 

Reimplemented from Communicate.

Definition at line 42 of file CommSHMEMPI.h.


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