IpplInfo Class Reference

#include <IpplInfo.h>

Collaboration diagram for IpplInfo:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { KEEP = 0, REMOVE = 1 }

Public Member Functions

 IpplInfo (int &, char **&, int removeargs=REMOVE)
 IpplInfo ()
 IpplInfo (const IpplInfo &)
 ~IpplInfo ()
IpplInfooperator= (const IpplInfo &)

Static Public Member Functions

static void abort (const char *=0, int exitcode=(-1))
static void abortAllNodes (const char *=0, bool thisnode=true)
static void exitAllNodes (const char *=0, bool thisnode=true)
static int myNode ()
static int getNodes ()
static int getContexts (int)
static int getProcesses (int, int)
static int getSMPs ()
static int getSMPNodes (unsigned int)
static int mySMP ()
static int mySMPNode ()
static int getArgc ()
static char ** getArgv ()
static bool useChecksums ()
static bool retransmit ()
static int maxFFTNodes ()
static int chunkSize ()
static bool perSMPParallelIO ()
static void printVersion (bool=false)
static const char * version ()
static const char * versionList (unsigned int)
static unsigned int versionListSize ()
static const char * compileArch ()
static const char * compileDate ()
static const char * compileLine ()
static const char * compileMachine ()
static const char * compileOptions ()
static const char * compileUser ()
static void here ()
static void printStatistics (Inform &)

Static Public Attributes

static InformInfo = new Inform("Ippl")
static InformWarn = new Inform("Warning", cerr)
static InformError = new Inform("Error", cerr, INFORM_ALL_NODES)
static InformDebug = new Inform("**DEBUG**", cerr, INFORM_ALL_NODES)
static CommunicateComm = new Communicate()
static IpplStatsStats = new IpplStats()
static bool deferGuardCellFills = false
static bool noFieldCompression = false
static bool offsetStorage = false
static bool extraCompressChecks = false
static bool useDirectIO = false

Detailed Description

Definition at line 71 of file IpplInfo.h.


Member Enumeration Documentation

anonymous enum
 

Enumerator:
KEEP 
REMOVE 

Definition at line 76 of file IpplInfo.h.


Constructor & Destructor Documentation

IpplInfo::IpplInfo int &  ,
char **&  ,
int  removeargs = REMOVE
 

Definition at line 157 of file IpplInfo.cpp.

References endl(), CommCreator::getAllLibraryNames(), KEEP, TAU_PROFILE_INIT, and WARNMSG.

Here is the call graph for this function:

IpplInfo::IpplInfo  ) 
 

Definition at line 556 of file IpplInfo.cpp.

Referenced by abort(), abortAllNodes(), and exitAllNodes().

IpplInfo::IpplInfo const IpplInfo  ) 
 

Definition at line 564 of file IpplInfo.cpp.

IpplInfo::~IpplInfo  ) 
 

Definition at line 572 of file IpplInfo.cpp.

References Comm, INFORM_ALL_NODES, and printStatistics().

Here is the call graph for this function:


Member Function Documentation

void IpplInfo::abort const char *  = 0,
int  exitcode = (-1)
[static]
 

Definition at line 621 of file IpplInfo.cpp.

References Comm, endl(), ERRORMSG, INFORM_ALL_NODES, IpplInfo(), printStatistics(), and TAU_PROFILE_EXIT.

Referenced by abortAllNodes(), assign(), CommACLMPL::CommACLMPL(), CommMPI::CommMPI(), CommPM::CommPM(), CommSHMEMPI::CommSHMEMPI(), DiscConfig::DiscConfig(), DiscMeta::DiscMeta(), for_each(), CommSHMEMPI::myreceive(), CommMPI::myreceive(), DiscField< Dim >::read(), reduce_masked(), BareFieldIterator< T, Dim >::SetCurrentLocation(), and DiscField< Dim >::write().

Here is the call graph for this function:

void IpplInfo::abortAllNodes const char *  = 0,
bool  thisnode = true
[static]
 

Definition at line 656 of file IpplInfo.cpp.

References abort(), Communicate::broadcast_others(), Comm, endl(), ERRORMSG, getNodes(), INFORM_ALL_NODES, IPPL_ABORT_TAG, IpplInfo(), and printStatistics().

Referenced by TSV_MetaCross< Vektor< T1, D >, Vektor< T2, D > >::apply().

Here is the call graph for this function:

static int IpplInfo::chunkSize  )  [inline, static]
 

Definition at line 231 of file IpplInfo.h.

Referenced by operator<<().

const char * IpplInfo::compileArch  )  [static]
 

Definition at line 825 of file IpplInfo.cpp.

Referenced by printVersion().

const char * IpplInfo::compileDate  )  [static]
 

Definition at line 833 of file IpplInfo.cpp.

Referenced by printVersion().

const char * IpplInfo::compileLine  )  [static]
 

Definition at line 841 of file IpplInfo.cpp.

Referenced by printVersion().

const char * IpplInfo::compileMachine  )  [static]
 

Definition at line 849 of file IpplInfo.cpp.

Referenced by printVersion().

const char * IpplInfo::compileOptions  )  [static]
 

Definition at line 857 of file IpplInfo.cpp.

Referenced by printVersion().

const char * IpplInfo::compileUser  )  [static]
 

Definition at line 865 of file IpplInfo.cpp.

Referenced by printVersion().

void IpplInfo::exitAllNodes const char *  = 0,
bool  thisnode = true
[static]
 

Definition at line 678 of file IpplInfo.cpp.

References Communicate::broadcast_others(), Comm, endl(), ERRORMSG, getNodes(), INFORM_ALL_NODES, IPPL_EXIT_TAG, IpplInfo(), and printStatistics().

Referenced by insist(), and toss_cookies().

Here is the call graph for this function:

static int IpplInfo::getArgc  )  [inline, static]
 

Definition at line 206 of file IpplInfo.h.

Referenced by ACLVISDataConnect::ACLVISDataConnect(), and PawsDataConnect::PawsDataConnect().

static char** IpplInfo::getArgv  )  [inline, static]
 

Definition at line 207 of file IpplInfo.h.

Referenced by ACLVISDataConnect::ACLVISDataConnect(), and PawsDataConnect::PawsDataConnect().

int IpplInfo::getContexts int   )  [static]
 

Definition at line 710 of file IpplInfo.cpp.

References Comm, and Communicate::getContexts().

Here is the call graph for this function:

int IpplInfo::getNodes  )  [static]
 

Definition at line 703 of file IpplInfo.cpp.

Referenced by abortAllNodes(), BareField< T, Dim >::accumGuardCells(), assign(), PawsDataConnect::barrier(), CalcIndexedReceive(), exitAllNodes(), BareField< T, Dim >::fillGuardCells(), FieldDataSource< T, Dim, M, C >::gather_data(), DataConnectCreator::getDefaultNodes(), ParticleSpatialLayout< T, Dim, Mesh >::getEmptyNode(), ParticleSpatialLayout< T, Dim, Mesh >::getNodeCount(), ParticleBase< PLayout >::globalCreate(), IndexedSend(), operator<<(), pap(), ParticleUniformLayout< T, Dim >::ParticleUniformLayout(), PawsDataConnect::PawsDataConnect(), PawsParticleAttribDataSource< T >::PawsParticleAttribDataSource(), IpplTimings::print(), ParticleSpatialLayout< T, Dim, Mesh >::printDebug(), IpplCounter::printIt(), ParticleSpatialLayout< T, Dim, Mesh >::rebuild_neighbor_data(), ParticleBase< PLayout >::resetID(), ParticleSpatialLayout< T, Dim, Mesh >::setup(), spap(), ParticleSpatialLayout< T, Dim, Mesh >::swap_particles(), FFTBase< 1U, T >::transVnodes(), ParticleUniformLayout< T, Dim >::update(), ParticleSpatialLayout< T, Dim, Mesh >::update(), ParticleLayoutFromGrid::update(), ParticleInteractLayout< T, Dim, Mesh >::update(), PawsParticleAttribDataSource< T >::update(), DLRepresentation< D, Dim >::update(), ACLVISParticleBaseDataSource< PLayout >::update(), and FieldLayout< Dim >::write().

int IpplInfo::getProcesses int  ,
int 
[static]
 

Definition at line 717 of file IpplInfo.cpp.

References Comm, and Communicate::getProcesses().

Here is the call graph for this function:

int IpplInfo::getSMPNodes unsigned  int  )  [static]
 

Definition at line 739 of file IpplInfo.cpp.

Referenced by operator<<().

int IpplInfo::getSMPs  )  [static]
 

Definition at line 732 of file IpplInfo.cpp.

Referenced by operator<<().

void IpplInfo::here  )  [static]
 

Definition at line 789 of file IpplInfo.cpp.

static int IpplInfo::maxFFTNodes  )  [inline, static]
 

Definition at line 224 of file IpplInfo.h.

Referenced by FFTBase< 1U, T >::transVnodes().

int IpplInfo::myNode  )  [static]
 

Definition at line 724 of file IpplInfo.cpp.

Referenced by PawsDataConnect::barrier(), DiscMeta::DiscMeta(), FieldDataSource< T, Dim, M, C >::gather_data(), FieldLayout< Dim >::getLocalNDIndex(), ParticleBase< PLayout >::globalCreate(), Inform::Inform(), DataConnect::onConnectNode(), operator<<(), Inform::outputMessage(), pap(), PawsDataConnect::PawsDataConnect(), DiscConfig::printDebug(), DiscField< Dim >::query(), DiscField< Dim >::read(), FieldLayout< Dim >::read(), ParticleSpatialLayout< T, Dim, Mesh >::rebuild_neighbor_data(), ParticleBase< PLayout >::resetID(), spap(), ParticleSpatialLayout< T, Dim, Mesh >::swap_particles(), Communicate::unpack_message(), ParticleUniformLayout< T, Dim >::update(), ParticleSpatialLayout< T, Dim, Mesh >::update(), ParticleLayoutFromGrid::update(), ParticleInteractLayout< T, Dim, Mesh >::update(), PawsParticleAttribDataSource< T >::update(), DLRepresentation< D, Dim >::update(), ACLVISParticleBaseDataSource< PLayout >::update(), DiscParticle::write(), DiscField< Dim >::write(), FieldLayout< Dim >::write(), and BareField< T, Dim >::write().

int IpplInfo::mySMP  )  [static]
 

Definition at line 754 of file IpplInfo.cpp.

Referenced by operator<<().

int IpplInfo::mySMPNode  )  [static]
 

Definition at line 761 of file IpplInfo.cpp.

Referenced by operator<<().

IpplInfo & IpplInfo::operator= const IpplInfo  ) 
 

Definition at line 610 of file IpplInfo.cpp.

static bool IpplInfo::perSMPParallelIO  )  [inline, static]
 

Definition at line 236 of file IpplInfo.h.

Referenced by operator<<().

void IpplInfo::printStatistics Inform  )  [static]
 

Definition at line 795 of file IpplInfo.cpp.

References IpplStats::print(), and Stats.

Referenced by abort(), abortAllNodes(), exitAllNodes(), and ~IpplInfo().

Here is the call graph for this function:

void IpplInfo::printVersion bool  = false  )  [static]
 

Definition at line 769 of file IpplInfo.cpp.

References compileArch(), compileDate(), compileLine(), compileMachine(), compileOptions(), compileUser(), endl(), INFOMSG, version(), versionList(), and versionListSize().

Here is the call graph for this function:

static bool IpplInfo::retransmit  )  [inline, static]
 

Definition at line 213 of file IpplInfo.h.

Referenced by CommMPI::mysend(), operator<<(), Communicate::receive_block(), and Communicate::unpack_message().

static bool IpplInfo::useChecksums  )  [inline, static]
 

Definition at line 210 of file IpplInfo.h.

Referenced by Communicate::fill_msg_buffer(), Communicate::find_msg_length(), operator<<(), and Communicate::unpack_message().

const char * IpplInfo::version  )  [static]
 

Definition at line 801 of file IpplInfo.cpp.

Referenced by printVersion().

const char * IpplInfo::versionList unsigned  int  )  [static]
 

Definition at line 809 of file IpplInfo.cpp.

Referenced by printVersion().

unsigned int IpplInfo::versionListSize  )  [static]
 

Definition at line 817 of file IpplInfo.cpp.

Referenced by printVersion().


Member Data Documentation

Communicate * IpplInfo::Comm = new Communicate() [static]
 

Definition at line 91 of file IpplInfo.h.

Referenced by abort(), abortAllNodes(), ConejoBalancer::addMaterial(), assign(), PawsDataConnect::barrier(), CalcBinaryRepartition(), exitAllNodes(), FieldBlock< T, Dim, Mesh, Centering >::FieldBlock(), FieldLayout< Dim >::FieldLayout(), FieldView< T, Dim, Mesh, Centering >::FieldView(), FieldDataSource< T, Dim, M, C >::gather_data(), getContexts(), getProcesses(), IndexedReceive(), operator<<(), pap(), FieldDebugPrint< T, Dim >::print(), FieldBlock< T, Dim, Mesh, Centering >::read(), DiscField< Dim >::read(), FieldLayout< Dim >::read(), ParticleSpatialLayout< T, Dim, Mesh >::rebuild_layout(), ConejoBalancer::redistribute(), reduce(), reduce_masked(), ParticleBase< PLayout >::resetID(), scatter(), ParticleBase< PLayout >::singleInitNode(), spap(), ParticleSpatialLayout< T, Dim, Mesh >::swap_particles(), ParticleUniformLayout< T, Dim >::update(), ParticleSpatialLayout< T, Dim, Mesh >::update(), ParticleInteractLayout< T, Dim, Mesh >::update(), ACLVISParticleBaseDataSource< PLayout >::update(), VnodeMultiRepartition(), FieldView< T, Dim, Mesh, Centering >::void_view(), FieldBlock< T, Dim, Mesh, Centering >::write(), DiscParticle::write(), DiscField< Dim >::write(), BareField< T, Dim >::write(), and ~IpplInfo().

Inform * IpplInfo::Debug = new Inform("**DEBUG**", cerr, INFORM_ALL_NODES) [static]
 

Definition at line 88 of file IpplInfo.h.

bool IpplInfo::deferGuardCellFills = false [static]
 

Definition at line 284 of file IpplInfo.h.

Referenced by operator<<(), and BareField< T, Dim >::setDirtyFlag().

Inform * IpplInfo::Error = new Inform("Error", cerr, INFORM_ALL_NODES) [static]
 

Definition at line 87 of file IpplInfo.h.

bool IpplInfo::extraCompressChecks = false [static]
 

Definition at line 295 of file IpplInfo.h.

Referenced by assign(), LField< T, Dim >::CanCompress(), and operator<<().

Inform * IpplInfo::Info = new Inform("Ippl") [static]
 

Definition at line 85 of file IpplInfo.h.

Referenced by agfp1(), agfp2(), agfp3(), fp1(), fp2(), ggfp1(), ggfp2(), sfp1(), sfp2(), and sfp3().

bool IpplInfo::noFieldCompression = false [static]
 

Definition at line 287 of file IpplInfo.h.

Referenced by LField< T, Dim >::CanCompress(), LField< T, Dim >::Compress(), LField< T, Dim >::LField(), operator<<(), BareField< T, Dim >::setCompression(), LField< T, Dim >::TryCompress(), and TryCompressLHS().

bool IpplInfo::offsetStorage = false [static]
 

Definition at line 291 of file IpplInfo.h.

Referenced by operator<<().

IpplStats * IpplInfo::Stats = new IpplStats() [static]
 

Definition at line 94 of file IpplInfo.h.

Referenced by operator<<(), and printStatistics().

bool IpplInfo::useDirectIO = false [static]
 

Definition at line 300 of file IpplInfo.h.

Referenced by operator<<().

Inform * IpplInfo::Warn = new Inform("Warning", cerr) [static]
 

Definition at line 86 of file IpplInfo.h.


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