English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Launcher: TLoadLevelerCluster.h Source File
Uranie / Launcher  v4.10.0
/* @license-end */
TLoadLevelerCluster.h
Go to the documentation of this file.
1 // Copyright (C) 2013-2024 CEA/DES
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Lesser General Public License as published
6 // by the Free Software Foundation, either version 3 of the License, or any
7 // later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 // $Id$
19 // $Author$
20 // $Date$
21 // $Revision$
22 // $State$
24 
45 #ifndef TLOADLEVELERCLUSTER_H
46 #define TLOADLEVELERCLUSTER_H
47 
48 #include <iostream>
49 #include <sstream>
50 
51 using std::cout;
52 using std::endl;
53 using std::istringstream;
54 using std::string;
55 
56 //ROOT
57 #include "Rtypes.h"
58 
59 // Uranie
60 #include "TCluster.h"
61 
62 namespace URANIE
63 {
64 namespace Launcher
65 {
67 {
68 private:
69  static const char *nodeList();
70 public:
71  static bool eligible();
72 
73  //---------------------------------------------
80  virtual ~TLoadLevelerCluster();
82 
83  //---------------------------------------------
87  virtual void init();
89  virtual void getCommandPrefix(char *, char *);
91 
92  //---------------------------------------------
96  void setLog()
97  {
98  _blog = kTRUE;
99  }
100  void unsetLog()
101  {
102  _blog = kFALSE;
103  }
104  void changeLog()
105  {
106  _blog = _blog ? kFALSE : kTRUE;
107  }
108  Bool_t getLog()
109  {
110  return _blog;
111  }
112  virtual void printLog(Option_t *option = "");
114 
115  ClassDef(URANIE::Launcher::TLoadLevelerCluster, ID_LAUNCHER)
116  //Classe de
117 };
118 
119 } // Fin du namespace Launcher
120 } // Fin du namespace URANIE
121 #endif
Definition: TCluster.h:66
virtual void printLog(Option_t *option="")
virtual ~TLoadLevelerCluster()
Default destructor.
void changeLog()
Definition: TLoadLevelerCluster.h:104
Bool_t getLog()
Definition: TLoadLevelerCluster.h:108
TLoadLevelerCluster()
Default constructor.
virtual void getCommandPrefix(char *, char *)
Description of the class TCluster.
Definition: TCluster.h:70
Bool_t _blog
Boolean to edit the log.
Definition: TCluster.h:73
Interface of the class URANIE::Launcher::TCluster.
void unsetLog()
Definition: TLoadLevelerCluster.h:100
virtual void init()
Construct and return the list of nodes.
void setLog()
Definition: TLoadLevelerCluster.h:96
Description of the class TLoadLevelerCluster.
Definition: TLoadLevelerCluster.h:66