4 #ifndef __KV_CCIN2P3_SLURM_H
5 #define __KV_CCIN2P3_SLURM_H
7 #include "KVBatchSystem.h"
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
Base class for interface to a batch job management system.
Manager class which sets up and runs data analysis tasks.
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Interface to CCIN2P3 Grid Engine batch job management system.
void SetRunsPerJob(Int_t n)
KVString fDefJobTime
default job length
void ChangeDefJobOpt(KVDataAnalyser *) override
void SetMultiJobsMode(Bool_t on=kTRUE)
void SetBatchSystemParameters(const KVNameValueList &) override
Use the parameters in the list to set all relevant parameters for batch system.
void GetBatchSystemParameterList(KVNameValueList &) override
const Char_t * GetJobTime(void) const
returns the parameter string corresponding to the job CPU time
void SetJobMemory(const Char_t *h="")
Bool_t fMultiJobs
set to kTRUE if several jobs are to be submitted for the runlist set in fAnalyser
void Print(Option_t *="") const override
Bool_t CheckJobParameters() override
Checks the job and asks for any missing parameters.
Bool_t MultiJobsMode() const override
void ReadBatchEnvFile(TEnv *) override
const Char_t * GetJobMemory(void) const
returns the parameter string corresponding to the job Memory
void ChooseJobMemory(void)
void Clear(Option_t *opt="") override
Clear previously set parameters in order to create a new job submission command.
void SetJobTime(const Char_t *h="")
void SanitizeJobName() const override
Int_t fRunsPerJob
number of runs per job submitted in multi job mode (default=1)
KVString fDefJobMem
default job memory allocation (with units, e.g. "512M")
Int_t GetRunsPerJob() const
void WriteBatchEnvFile(TEnv *) override
KV_CCIN2P3_Slurm(const Char_t *name)
void PrintJobs(Option_t *opt="") override
Print list of owner's jobs.