tk::QuietCerr class

Chare state Charm++ chare nodegroup class

Instantiations of QuietCerr comprise a processor aware Charm++ chare node group. When instantiated, a new object is created on each compute node and not more (as opposed to individual chares or chare array object elements). See also the Charm++ interface file quietcerr.ci.

Public static functions

static void quiet()
Quiet std::cerr by redirecting its stream state to a stringstream.

Constructors, destructors, conversion operators

~QuietCerr() override
Destructor: restore std::cerr's stream state.

Function documentation

static void tk::QuietCerr::quiet()

Quiet std::cerr by redirecting its stream state to a stringstream.

Section "Initializations at Program Startup" at in the Charm++ manual http://charm.cs.illinois.edu/manuals/html/charm++/manual.html. Since it is executed once every logical node, it is thread-safe.