Main class
Charm++ main chare for the random number generator test suite executable, rngtest.
Contents
Charm++ main chare for the random walker executable, walker.
Charm++ main chare for the unit test suite executable, unittest.
Note that this object should not be in a namespace.
Constructors, destructors, conversion operators
Public functions
- void finalize()
- Towards normal exit but collect chare state first (if any)
- void quiescence()
- Entry method triggered when quiescence is detected.
- void dumpstate(CkReductionMsg* msg)
- Dump chare state.
- void finalize(bool pass)
- Towards normal exit but collect chare state first (if any)
- void quiescence()
- Entry method triggered when quiescence is detected.
- void dumpstate(CkReductionMsg* msg)
- Dump chare state.
- void execute()
- Execute driver created and initialized by constructor.
- void finalize()
- Towards normal exit but collect chare state first (if any)
- void quiescence()
- Entry method triggered when quiescence is detected.
- void dumpstate(CkReductionMsg* msg)
- Dump chare state.
-
void timestamp(std::string label,
tk::
real stamp) - Add time stamp contributing to final timers output.
Function documentation
Main:: Main(CkArgMsg* msg)
Constructor.
RNGTest's main chare constructor is the entry point of the program, called by the Charm++ runtime system. The constructor does basic initialization steps, e.g., parser the command-line, prints out some useful information to screen (in verbose mode), and instantiates a driver. Since Charm++ is fully asynchronous, the constructor usually spawns asynchronous objects and immediately exits. Thus in the body of the main chare constructor we fire up an 'execute' chare, which then calls back to Main::
Main:: Main(CkArgMsg* msg)
Constructor.
UnitTest's main chare constructor is the entry point of the program, called by the Charm++ runtime system. The constructor does basic initialization steps, e.g., parser the command-line, prints out some useful information to screen (in verbose mode), and instantiates a driver. Since Charm++ is fully asynchronous, the constructor usually spawns asynchronous objects and immediately exits. Thus in the body of the main chare constructor we fire up an 'execute' chare, which then calls back to Main::
Main:: Main(CkArgMsg* msg)
Constructor.
Walker's main chare constructor is the entry point of the program, called by the Charm++ runtime system. The constructor does basic initialization steps, e.g., parser the command-line, prints out some useful information to screen (in verbose mode), and instantiates a driver. Since Charm++ is fully asynchronous, the constructor usually spawns asynchronous objects and immediately exits. Thus in the body of the main chare constructor we fire up an 'execute' chare, which then calls back to Main::