ATLAS Offline Software
BatchDriver.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 #ifndef EVENT_LOOP_BATCH_DRIVER_HH
9 #define EVENT_LOOP_BATCH_DRIVER_HH
10 
11 #include <EventLoop/Global.h>
12 
13 #include <EventLoop/Driver.h>
14 #include <SampleHandler/Global.h>
15 
16 namespace EL
17 {
22 
23  class BatchDriver : public Driver
24  {
25  //
26  // public interface
27  //
28 
31  public:
32  void testInvariant () const;
33 
34 
38  public:
40 
41 
44  public:
45  std::string shellInit;
46 
47 
48 
49  //
50  // interface inherited from Driver
51  //
52 
53  protected:
56 
57 
58 
59  //
60  // virtual interface
61  //
62 
63 
64 
65  //
66  // private interface
67  //
68 
75  private:
76  std::string defaultReleaseSetup (const Detail::ManagerData& data) const;
77 
82  private:
84  std::size_t njobs) const;
85 
86 
92  private:
94 
95 #pragma GCC diagnostic push
96 #pragma GCC diagnostic ignored "-Wpragmas"
97 #pragma GCC diagnostic ignored "-Wunknown-pragmas"
98 #pragma GCC diagnostic ignored "-Winconsistent-missing-override"
100 #pragma GCC diagnostic pop
101  };
102 }
103 
104 #endif
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
EL::BatchDriver::BatchDriver
BatchDriver()
effects: standard default constructor guarantee: strong failures: low level errors I
Driver.h
LHEonly.njobs
njobs
Definition: LHEonly.py:14
EL::BatchDriver
the base class for all drivers running on batch systems
Definition: BatchDriver.h:24
EL::BatchDriver::doManagerStep
virtual ::StatusCode doManagerStep(Detail::ManagerData &data) const override
EL::BatchDriver::testInvariant
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
EL::BatchDriver::mergeHists
static bool mergeHists(Detail::ManagerData &data)
effects: merge the fetched histograms returns: wether all histograms have been fetched guarantee: str...
EL::BatchDriver::defaultReleaseSetup
std::string defaultReleaseSetup(const Detail::ManagerData &data) const
the code for setting up the release
EL::Driver
the base class for the various EventLoop drivers that allow to run jobs on different backends
Definition: Driver.h:28
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition: AlgorithmWorkerData.h:24
EL::BatchDriver::shellInit
std::string shellInit
description: these shell commands are run verbatim on each worker node before execution
Definition: BatchDriver.h:45
EL::Detail::ManagerData
an internal data structure for passing data between different manager objects anbd step
Definition: ManagerData.h:46
EL::BatchDriver::ClassDef
ClassDef(BatchDriver, 1)
Global.h
Global.h
EL::BatchDriver::makeScript
void makeScript(Detail::ManagerData &data, std::size_t njobs) const
effects: create the run script to be used guarantee: basic, may create a partial script failures: out...