Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Code specific to the MPI interface
[Communications objects and functions]


Classes

class  cps::MPIRequestManager
 This handles the MPI requests. More...

Functions

void cps::MPISCU::CommsInit ()
 Initialises the MPI communications layer.
void cps::MPISCU::SCUCommsFinalize (void)
void cps::MPISCU::RaiseError (char *errstr)
 Reports an error.
void cps::MPISCU::RaiseError (const char *errstring)
 Reports an error.

Function Documentation

void cps::MPISCU::CommsInit  ) 
 

Initialises the MPI communications layer.

This function finds the parameters relevant for the parallel decomposition of the lattice, sets up the communications layer and defines the grid topology.

It also defines a root node (which is useful for IO) and opens logfiles (if required).

Definition at line 413 of file sysfunc.C.

References cps::Fopen(), cps::MPISCU::fprintf_all(), NDIM, cps::MPISCU::ParseCommsParam(), cps::MPISCU::printf_all(), and cps::MPISCU::RaiseError().

Referenced by cps::MPISCU::ReadSeedFile(), and cps::MPISCU::SCUGlobalSum().

void cps::MPISCU::RaiseError const char *  errstring  ) 
 

Reports an error.

Prints an error message to stdout and causes the program to exit immediately with the value EXIT_FAILURE.

Parameters:
errstr The messsage.

Definition at line 645 of file sysfunc.C.

Referenced by cps::MPISCU::CommsInit(), cps::MPISCU::MPITypeConv(), cps::MPISCU::ParseCommsParam(), cps::MPISCU::ReadSeedFile(), and cps::MPISCU::SCUGlobalSum().

void cps::MPISCU::RaiseError char *  errstr  ) 
 

Reports an error.

Prints an error message to stdout and causes the program to exit immediately with the value EXIT_FAILURE.

Parameters:
errstr The messsage.

Definition at line 625 of file sysfunc.C.

void SCUCommsFinalize void   ) 
 

Definition at line 570 of file sysfunc.C.


Generated on Sat Oct 10 14:11:51 2009 for Columbia Physics System by  doxygen 1.3.9.1