MpiComm Class Reference
[PEARL.mpi]

Stores information related to an MPI communicator. More...

#include <MpiComm.h>

Inheritance diagram for MpiComm:

Group IdObject

List of all members.

Public Member Functions

Constructors & destructor
 MpiComm (ident_t id, const process_group &processes)
virtual ~MpiComm ()
Get communicator information
MPI_Comm get_comm () const


Detailed Description

Instances of the MpiComm class provide information about MPI communicators. In addition to the functionality of the base class Group, they also provide a "real" MPI communicator resembling the one used in the target application.

Constructor & Destructor Documentation

MpiComm ( ident_t  id,
const process_group processes 
)

Creates a new instance and initializes the data with the given values id and group, respectively.

Parameters:
id Communicator identifier
processes List of processes defining the communicator

~MpiComm (  )  [virtual]

Destructor. Destroys the instance.


Member Function Documentation

MPI_Comm get_comm (  )  const

Returns a "real" MPI communicator resembling the one used in the target application.

Returns:
MPI communicator


SCALASCA    Copyright © 1998–2009 Forschungszentrum Jülich, Jülich Supercomputing Centre