EvolvingObjects
eo::mpi::Node Class Reference

Global object used to reach boost::mpi::communicator everywhere. More...

#include <eoMpiNode.h>

List of all members.

Static Public Member Functions

static void init (int argc, char **argv)
 Initializes the MPI environment with argc and argv.
static bmpi::communicator & comm ()
 Returns the global boost::mpi::communicator.

Static Protected Attributes

static bmpi::communicator _comm

Detailed Description

Global object used to reach boost::mpi::communicator everywhere.

boost::mpi::communicator is the main object used to send and receive messages between the different hosts of a MPI algorithm.

Definition at line 40 of file eoMpiNode.h.


Member Function Documentation

static void eo::mpi::Node::init ( int  argc,
char **  argv 
) [inline, static]

Initializes the MPI environment with argc and argv.

Should be called at the beginning of every parallel program.

Parameters:
argcMain's argc
argvMain's argv

Definition at line 52 of file eoMpiNode.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Friends