Documentation / Developer's manual
Available modules
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  ![]() |
Uranie / Launcher
v4.10.0
|
Description of the class TLauncherMulti. More...
#include <TLauncherMulti.h>


Public Member Functions | |
TLauncherMulti () | |
TLauncherMulti (const char *name, const char *title, Option_t *option, Bool_t emptyMasterNode, bool dumpmulti=false) | |
~TLauncherMulti () | |
void | createHostsList (Option_t *option) |
void | defineJob (const char *exe, int njobs, int nprocs) |
bool | availableRessource () |
void | createJob (forkcode *cur, TCode *code) |
int | getJobsNumber () |
int | getAvailableProcs () |
void | setWorkingDir (TString sdir) |
void | mergeAll (const int niteration) |
void | display () |
Printing Log | |
void | setLog () |
void | unsetLog () |
void | changeLog () |
Bool_t | getLog () |
virtual void | printLog (Option_t *option="") |
Private Attributes | |
TCluster * | _edistrib |
Bool_t | _blog |
Boolean to edit the log. More... | |
Bool_t | _bemptyMasterNode |
Bool_t | _bmultidump |
TString | _sworkingDirectory |
Root of working directories. More... | |
int | njobs_ |
TString | exe_ |
int | procsperjob_ |
int | nb_avail_procs_ |
int | nb_total_procs_ |
list< string > | hostslist_ |
Detailed Description
Description of the class TLauncherMulti.
To be written by the developper.
Constructor & Destructor Documentation
◆ TLauncherMulti() [1/2]
URANIE::Launcher::TLauncherMulti::TLauncherMulti | ( | ) |
References _blog, _edistrib, and createHostsList().
◆ TLauncherMulti() [2/2]
URANIE::Launcher::TLauncherMulti::TLauncherMulti | ( | const char * | name, |
const char * | title, | ||
Option_t * | option, | ||
Bool_t | emptyMasterNode, | ||
bool | dumpmulti = false |
||
) |
References _blog, _edistrib, and createHostsList().
◆ ~TLauncherMulti()
URANIE::Launcher::TLauncherMulti::~TLauncherMulti | ( | ) |
References _edistrib.
Member Function Documentation
◆ availableRessource()
bool URANIE::Launcher::TLauncherMulti::availableRessource | ( | ) |
References nb_avail_procs_, and procsperjob_.
◆ changeLog()
|
inline |
References _blog.
◆ createHostsList()
void URANIE::Launcher::TLauncherMulti::createHostsList | ( | Option_t * | option | ) |
References _bemptyMasterNode, _blog, _bmultidump, _edistrib, URANIE::Launcher::TLSFCluster::eligible(), URANIE::Launcher::TSlurmCluster::eligible(), URANIE::Launcher::TLoadLevelerCluster::eligible(), URANIE::Launcher::TLocalHostCluster::eligible(), URANIE::Launcher::TSGECluster::eligible(), URANIE::Launcher::TCluster::getListOfNodes(), hostslist_, nb_avail_procs_, nb_total_procs_, and URANIE::Launcher::TCluster::setLog().
Referenced by TLauncherMulti().
◆ createJob()
◆ defineJob()
void URANIE::Launcher::TLauncherMulti::defineJob | ( | const char * | exe, |
int | njobs, | ||
int | nprocs | ||
) |
References exe_, nb_avail_procs_, njobs_, and procsperjob_.
◆ display()
void URANIE::Launcher::TLauncherMulti::display | ( | ) |
References _sworkingDirectory.
◆ getAvailableProcs()
|
inline |
References nb_avail_procs_.
◆ getJobsNumber()
|
inline |
References njobs_.
◆ getLog()
|
inline |
References _blog.
◆ mergeAll()
void URANIE::Launcher::TLauncherMulti::mergeAll | ( | const int | niteration | ) |
References _sworkingDirectory.
◆ printLog()
|
virtual |
References _edistrib, _sworkingDirectory, nb_avail_procs_, and njobs_.
◆ setLog()
|
inline |
References _blog.
◆ setWorkingDir()
|
inline |
References _sworkingDirectory.
◆ unsetLog()
|
inline |
References _blog.
Member Data Documentation
◆ _bemptyMasterNode
|
private |
Referenced by createHostsList().
◆ _blog
|
private |
Boolean to edit the log.
Referenced by changeLog(), createHostsList(), createJob(), getLog(), setLog(), TLauncherMulti(), and unsetLog().
◆ _bmultidump
|
private |
Referenced by createHostsList(), and createJob().
◆ _edistrib
|
private |
Referenced by createHostsList(), createJob(), printLog(), TLauncherMulti(), and ~TLauncherMulti().
◆ _sworkingDirectory
|
private |
Root of working directories.
Referenced by display(), mergeAll(), printLog(), and setWorkingDir().
◆ exe_
|
private |
Referenced by defineJob().
◆ hostslist_
|
private |
Referenced by createHostsList(), and createJob().
◆ nb_avail_procs_
|
private |
Referenced by availableRessource(), createHostsList(), createJob(), defineJob(), getAvailableProcs(), and printLog().
◆ nb_total_procs_
|
private |
Referenced by createHostsList().
◆ njobs_
|
private |
Referenced by createJob(), defineJob(), getJobsNumber(), and printLog().
◆ procsperjob_
|
private |
Referenced by availableRessource(), createJob(), and defineJob().