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.10.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, 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()

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

◆ 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.

Member Data Documentation

◆ _bemptyMasterNode

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

Referenced by createHostsList().

◆ _blog

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

Boolean to edit the log.

Referenced by changeLog(), createHostsList(), createJob(), getLog(), setLog(), TLauncherMulti(), and unsetLog().

◆ _bmultidump

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

Referenced by createHostsList(), and createJob().

◆ _edistrib

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

◆ _sworkingDirectory

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

Root of working directories.

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

◆ exe_

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

Referenced by defineJob().

◆ hostslist_

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

Referenced by createHostsList(), and createJob().

◆ 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().

◆ njobs_

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

◆ procsperjob_

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