English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Launcher: URANIE::Launcher::TLauncherMulti Class Reference
Uranie / Launcher v4.9.0
/* @license-end */
URANIE::Launcher::TLauncherMulti Class Reference

Description of the class TLauncherMulti. More...

#include <TLauncherMulti.h>

Inheritance diagram for URANIE::Launcher::TLauncherMulti:
Collaboration diagram for URANIE::Launcher::TLauncherMulti:

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< jobrunningjobs_
 
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()

void URANIE::Launcher::TLauncherMulti::changeLog ( )
inline

References _blog.

◆ createHostsList()

◆ createJob()

◆ defineJob()

void URANIE::Launcher::TLauncherMulti::defineJob ( const char *  exe,
int  njobs,
int  nprocs 
)

◆ display()

void URANIE::Launcher::TLauncherMulti::display ( )

References _sworkingDirectory.

◆ getAvailableProcs()

int URANIE::Launcher::TLauncherMulti::getAvailableProcs ( )
inline

References nb_avail_procs_.

◆ getJobsNumber()

int URANIE::Launcher::TLauncherMulti::getJobsNumber ( )
inline

References njobs_.

◆ getLog()

Bool_t URANIE::Launcher::TLauncherMulti::getLog ( )
inline

References _blog.

◆ mergeAll()

void URANIE::Launcher::TLauncherMulti::mergeAll ( const int  niteration)

References _sworkingDirectory.

◆ printLog()

void URANIE::Launcher::TLauncherMulti::printLog ( Option_t *  option = "")
virtual

◆ run()

void URANIE::Launcher::TLauncherMulti::run ( TCode code,
Option_t *  option 
)

◆ setLog()

void URANIE::Launcher::TLauncherMulti::setLog ( )
inline

References _blog.

◆ setWorkingDir()

void URANIE::Launcher::TLauncherMulti::setWorkingDir ( TString  sdir)
inline

References _sworkingDirectory.

◆ unsetLog()

void URANIE::Launcher::TLauncherMulti::unsetLog ( )
inline

References _blog.

◆ waitAll()

void URANIE::Launcher::TLauncherMulti::waitAll ( )

◆ waitForProcs()

void URANIE::Launcher::TLauncherMulti::waitForProcs ( )

Member Data Documentation

◆ _bemptyMasterNode

Bool_t URANIE::Launcher::TLauncherMulti::_bemptyMasterNode
private

Referenced by createHostsList().

◆ _blog

Bool_t URANIE::Launcher::TLauncherMulti::_blog
private

◆ _bmultidump

Bool_t URANIE::Launcher::TLauncherMulti::_bmultidump
private

Referenced by createHostsList(), createJob(), and run().

◆ _edistrib

TCluster* URANIE::Launcher::TLauncherMulti::_edistrib
private

◆ _masterpid

pid_t URANIE::Launcher::TLauncherMulti::_masterpid
private

Pid of the master.

Referenced by createHostsList(), createJob(), and waitAll().

◆ _sworkingDirectory

TString URANIE::Launcher::TLauncherMulti::_sworkingDirectory
private

Root of working directories.

Referenced by display(), mergeAll(), printLog(), and setWorkingDir().

◆ delay_

int URANIE::Launcher::TLauncherMulti::delay_
private

Referenced by createJob().

◆ exe_

TString URANIE::Launcher::TLauncherMulti::exe_
private

Referenced by createJob(), defineJob(), and run().

◆ hostslist_

list<string> URANIE::Launcher::TLauncherMulti::hostslist_
private

◆ nb_avail_procs_

int URANIE::Launcher::TLauncherMulti::nb_avail_procs_
private

◆ nb_total_procs_

int URANIE::Launcher::TLauncherMulti::nb_total_procs_
private

Referenced by createHostsList(), and createJob().

◆ njobs_

int URANIE::Launcher::TLauncherMulti::njobs_
private

◆ procsperjob_

int URANIE::Launcher::TLauncherMulti::procsperjob_
private

Referenced by createJob(), defineJob(), and waitForProcs().

◆ runningjobs_

list<job> URANIE::Launcher::TLauncherMulti::runningjobs_
private

Referenced by createJob(), waitAll(), and waitForProcs().