Documentation / Manuel développeur
Modules disponibles
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  
Uranie / Launcher v4.9.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, Int_t delay, bool dumpmulti=false) | |
~TLauncherMulti () | |
void | createHostsList (Option_t *option) |
void | defineJob (const char *exe, int njobs, int nprocs) |
void | waitForProcs () |
void | createJob (int iteration) |
void | run (TCode *code, Option_t *option) |
void | waitAll () |
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. | |
Bool_t | _bemptyMasterNode |
Bool_t | _bmultidump |
TString | _sworkingDirectory |
Root of working directories. | |
int | njobs_ |
TString | exe_ |
int | procsperjob_ |
int | nb_avail_procs_ |
int | nb_total_procs_ |
int | delay_ |
list< string > | hostslist_ |
list< job > | runningjobs_ |
pid_t | _masterpid |
Pid of the master. | |
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, | ||
Int_t | delay, | ||
bool | dumpmulti = false |
||
) |
References _blog, _edistrib, and createHostsList().
◆ ~TLauncherMulti()
URANIE::Launcher::TLauncherMulti::~TLauncherMulti | ( | ) |
References _edistrib.
Member Function Documentation
◆ changeLog()
|
inline |
References _blog.
◆ createHostsList()
void URANIE::Launcher::TLauncherMulti::createHostsList | ( | Option_t * | option | ) |
References _bemptyMasterNode, _blog, _bmultidump, _edistrib, _masterpid, URANIE::Launcher::TLoadLevelerCluster::eligible(), URANIE::Launcher::TLSFCluster::eligible(), URANIE::Launcher::TSGECluster::eligible(), URANIE::Launcher::TSlurmCluster::eligible(), URANIE::Launcher::TLocalHostCluster::eligible(), URANIE::Launcher::TCluster::getListOfNodes(), hostslist_, nb_avail_procs_, nb_total_procs_, and URANIE::Launcher::TCluster::setLog().
Referenced by TLauncherMulti(), and TLauncherMulti().
◆ createJob()
void URANIE::Launcher::TLauncherMulti::createJob | ( | int | iteration | ) |
References _blog, _bmultidump, _edistrib, _masterpid, delay_, exe_, URANIE::Launcher::TCluster::getCommandPrefix(), URANIE::Launcher::job::hostlist, hostslist_, nb_avail_procs_, nb_total_procs_, njobs_, URANIE::Launcher::job::pid, procsperjob_, runningjobs_, URANIE::Launcher::job::testnumber, and waitForProcs().
◆ 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_.
◆ run()
void URANIE::Launcher::TLauncherMulti::run | ( | TCode * | code, |
Option_t * | option | ||
) |
◆ setLog()
|
inline |
References _blog.
◆ setWorkingDir()
|
inline |
References _sworkingDirectory.
◆ unsetLog()
|
inline |
References _blog.
◆ waitAll()
void URANIE::Launcher::TLauncherMulti::waitAll | ( | ) |
References _masterpid, URANIE::Launcher::job::pid, and runningjobs_.
◆ waitForProcs()
void URANIE::Launcher::TLauncherMulti::waitForProcs | ( | ) |
References _blog, URANIE::Launcher::job::hostlist, hostslist_, nb_avail_procs_, URANIE::Launcher::job::pid, procsperjob_, and runningjobs_.
Referenced by createJob().
Member Data Documentation
◆ _bemptyMasterNode
|
private |
Referenced by createHostsList().
◆ _blog
|
private |
Boolean to edit the log.
Referenced by changeLog(), createHostsList(), createJob(), getLog(), setLog(), TLauncherMulti(), TLauncherMulti(), unsetLog(), and waitForProcs().
◆ _bmultidump
|
private |
Referenced by createHostsList(), createJob(), and run().
◆ _edistrib
|
private |
Referenced by createHostsList(), createJob(), printLog(), TLauncherMulti(), TLauncherMulti(), and ~TLauncherMulti().
◆ _masterpid
|
private |
Pid of the master.
Referenced by createHostsList(), createJob(), and waitAll().
◆ _sworkingDirectory
|
private |
Root of working directories.
Referenced by display(), mergeAll(), printLog(), and setWorkingDir().
◆ delay_
|
private |
Referenced by createJob().
◆ exe_
|
private |
Referenced by createJob(), defineJob(), and run().
◆ hostslist_
|
private |
Referenced by createHostsList(), createJob(), and waitForProcs().
◆ nb_avail_procs_
|
private |
Referenced by createHostsList(), createJob(), defineJob(), getAvailableProcs(), printLog(), and waitForProcs().
◆ nb_total_procs_
|
private |
Referenced by createHostsList(), and createJob().
◆ njobs_
|
private |
Referenced by createJob(), defineJob(), getJobsNumber(), and printLog().
◆ procsperjob_
|
private |
Referenced by createJob(), defineJob(), and waitForProcs().
◆ runningjobs_
|
private |
Referenced by createJob(), waitAll(), and waitForProcs().