PPL Logo

ck-core/init.C File Reference

Go to the source code of this file.

Typedefs

typedef void(* CkFtFn )(const char *, CkArgMsg *)

Functions

void CkRestartMain (const char *dirname)
void calculateTotalHops (int pe1, int pe2, int size)
void printTotalHops ()
 CksvDeclare (UInt, _numInitNodeMsgs)
 Count the number of nodegroups that have been created in mainchares.
 CksvDeclare (int, _triggersSent)
 CkpvDeclare (void *, _currentChare)
 CkpvDeclare (int, _currentChareType)
 CkpvDeclare (CkGroupID, _currentGroup)
 CkpvDeclare (void *, _currentNodeGroupObj)
 CkpvDeclare (CkGroupID, _currentGroupRednMgr)
 CkpvDeclare (GroupTable *, _groupTable)
 CkpvDeclare (GroupIDTable *, _groupIDTable)
 CkpvDeclare (CmiImmediateLockType, _groupTableImmLock)
 CkpvDeclare (UInt, _numGroups)
 CkpvDeclare (CkCoreState *, _coreState)
 CksvDeclare (UInt, _numNodeGroups)
 CksvDeclare (GroupTable *, _nodeGroupTable)
 CksvDeclare (GroupIDTable, _nodeGroupIDTable)
 CksvDeclare (CmiImmediateLockType, _nodeGroupTableImmLock)
 CksvDeclare (CmiNodeLock, _nodeLock)
 CksvStaticDeclare (PtrVec *, _nodeBocInitVec)
 CkpvDeclare (int, _charmEpoch)
 CkpvDeclare (Stats *, _myStats)
 CkpvDeclare (MsgPool *, _msgPool)
 CkpvDeclare (_CkOutStream *, _ckout)
 CkpvDeclare (_CkErrStream *, _ckerr)
 CkpvStaticDeclare (int, _numInitsRecd)
 CkpvStaticDeclare (PtrQ *, _buffQ)
 CkpvStaticDeclare (PtrVec *, _bocInitVec)
void _libExitHandler (envelope *env)
 CpvCExtern (char *, _validProcessors)
 CkpvDeclare (char, startedEvac)
void readKillFile ()
void processRaiseEvacFile (char *raiseEvacFile)
static void _parseCommandLineOpts (char **argv)
static void _bufferHandler (void *msg)
static void _discardHandler (envelope *env)
static void _printStats (void)
static void _sendStats (void)
void _messageLoggingExit ()
 Function to wrap up performance information.
void _skipCldHandler (void *converseMsg)
void _discard_charm_message ()
void _resume_charm_message ()
static void _exitHandler (envelope *env)
static void _processBufferedBocInits (void)
 Create all groups in this processor (not called on processor zero).
static void _processBufferedNodeBocInits (void)
 Create all nodegroups in this node (called only by rank zero, and never on node zero).
static void _processBufferedMsgs (void)
static int _charmLoadEstimator (void)
static void _sendTriggers (void)
 This function is used to send other processors on the same node a signal so they can check if their _initDone can be called: the reason for this is that the check at the end of _initHandler can fail due to a missing message containing a Nodegroup creation.
void _initDone (void)
 This function (not a handler) is called once and only once per processor.
static void _triggerHandler (envelope *env)
 Converse handler receiving a signal from another processors in the same node.
static void _processROMsgMsg (envelope *env)
static void _processRODataMsg (envelope *env)
static void _roRestartHandler (void *msg)
 This is similar to the _initHandler, only that the Groups and Nodegroups are initialized from disk, so only one single message is expected.
static void _initHandler (void *msg, CkCoreState *ck)
 This handler is used only during initialization.
void _CkExit (void)
void CkExit (void)
void EmergencyExit (void)
static void _nullFn (void *, void *)
void _registerLBDatabase (void)
void _registerPathHistory (void)
void _registerControlPoints (void)
void _registerTraceControlPoints ()
void _registerExternalModules (char **argv)
void _ckModuleInit (void)
void _loadbalancerInit ()
void _initChareTables ()
void init_memcheckpt (char **argv)
void initCharmProjections ()
void CmiInitCPUTopology (char **argv)
void CmiInitCPUAffinity (char **argv)
void CmiInitMemAffinity (char **argv)
void CmiInitPxshm (char **argv)
void TopoManager_init ()
void _registerInitCall (CkInitCallFn fn, int isNodeCall)
 CpvCExtern (int, cpdSuspendStartup)
void CpdFreeze (void)
void initQd (char **argv)
void CpdBgInit ()
void CpdBreakPointInit ()
void _initCharm (int unused_argc, char **argv)
 This is the main charm setup routine.
void fmain_ (int *argc, char _argv[][80], int length[])
void registerExitFn (CkExitFn fn)

Variables

TopoManagertmgr = NULL
 Turn on manually if you want to calculate hops from within Charm++ for some application.
double hops = 0
UChar _defaultQueueing = CK_QUEUEING_FIFO
UInt _printCS = 0
UInt _printSS = 0
UInt _numExpectInitMsgs = 0
 This value has the number of total initialization message a processor awaits.
UInt _numInitMsgs = 0
 This number is used only by processor zero to count how many messages it will send out for the initialization process.
int _infoIdx
int _charmHandlerIdx
int _initHandlerIdx
int _roRestartHandlerIdx
int _bocHandlerIdx
int _qdHandlerIdx
int _qdCommHandlerIdx
int _triggerHandlerIdx
int _mainDone = 0
CkOutStream ckout
CkErrStream ckerr
CkInStream ckin
int _libExitHandlerIdx
int _exitHandlerIdx
static Stats ** _allStats = 0
static int _numStatsRecd = 0
static int _exitStarted = 0
static InitCallTable _initCallTable
static CkFtFn faultFunc = NULL
static char * _restartDir
int teamSize = 1
int chkptPeriod = 1000
bool fastRecovery = false
int parallelRecovery = 1
int BUFFER_TIME
int killFlag
char * killFile
int _defaultObjectQ = 0
int _ringexit = 0
int _ringtoken = 8
static int _raiseEvac = 0
static char * _raiseEvacFile
bool useNodeBlkMapping
int index_skipCldHandler
CkQ< CkExitFn_CkExitFnVec
int _dummy_dq


Generated on Sat May 26 08:08:06 2012 for Charm++ by  doxygen 1.5.5