ATLAS Offline Software
Loading...
Searching...
No Matches
SlurmDriver.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_SLURM_DRIVER_HH
9#define EVENT_LOOP_SLURM_DRIVER_HH
10
11#include <EventLoop/Global.h>
12
15
16#include <iostream>
17
18namespace EL
19{
21
22 class SlurmDriver final : public BatchDriver
23 {
24 //
25 // public interface
26 //
27
30 public:
31 void testInvariant () const;
32
33
37 public:
39
40 void SetJobName(std::string job_name);
41 void SetAccount(std::string account);
42 void SetPartition(std::string partition);
43 void SetRunTime(std::string run_time);
44 void SetMemory(std::string memory);
45 void SetConstrain(std::string constraint);
46
47
48 std::string m_job_name;
49 std::string m_account;
50 std::string m_partition;
51 std::string m_run_time;
52 std::string m_memory;
53 std::string m_constraint;
54
58
59
60
61 //
62 // interface inherited from BatchDriver
63 //
64
65 protected:
66 virtual ::StatusCode
68
69 //
70 // private interface
71 //
72
73#pragma GCC diagnostic push
74#pragma GCC diagnostic ignored "-Wpragmas"
75#pragma GCC diagnostic ignored "-Wunknown-pragmas"
76#pragma GCC diagnostic ignored "-Winconsistent-missing-override"
78#pragma GCC diagnostic pop
79 };
80}
81
82#endif
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
BatchDriver()
effects: standard default constructor guarantee: strong failures: low level errors I
void SetAccount(std::string account)
void SetPartition(std::string partition)
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
void SetConstrain(std::string constraint)
std::string m_constraint
Definition SlurmDriver.h:53
void SetMemory(std::string memory)
virtual::StatusCode doManagerStep(Detail::ManagerData &data) const override
std::string m_job_name
Definition SlurmDriver.h:48
std::string m_partition
Definition SlurmDriver.h:50
std::string m_account
Definition SlurmDriver.h:49
ClassDef(SlurmDriver, 1)
void SetJobName(std::string job_name)
void SetRunTime(std::string run_time)
SlurmDriver()
effects: standard default constructor guarantee: strong failures: low level errors I
std::string m_memory
Definition SlurmDriver.h:52
std::string m_run_time
Definition SlurmDriver.h:51
This module defines the arguments passed from the BATCH driver to the BATCH worker.
an internal data structure for passing data between different manager objects anbd step
Definition ManagerData.h:46