4 #ifndef __KV_CCIN2P3_GE_H
5 #define __KV_CCIN2P3_GE_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.
Extended TList class which owns its objects by default.
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.
Bool_t fMultiJobs
set to kTRUE if several jobs are to be submitted for the runlist set in fAnalyser
void SetSendMailOnJobEnd()
add option to send mail when job ends
const Char_t * GetJobTime(void) const
returns the parameter string corresponding to the job CPU time
Int_t fRunsPerJob
number of runs per job submitted in multi job mode (default=1)
void SetJobMemory(const Char_t *h="")
Bool_t CheckJobParameters() override
Checks the job and asks for any missing parameters.
KV_CCIN2P3_GE(const Char_t *name)
KVString fDefJobTime
default job length
void GetBatchSystemParameterList(KVNameValueList &) override
void SetJobDisk(const Char_t *h="")
void PrintJobs(Option_t *opt="") override
Print list of owner's jobs.
KVList * GetListOfJobs() override
virtual ~ KV_CCIN2P3_GE()
KVString fDefJobDisk
default job disk space (with units, e.g. "1G")
KVString fDefJobMem
default job memory allocation (with units, e.g. "512M")
void SanitizeJobName() const override
void SetSendMailAddress(const char *)
set email address for notifications
Bool_t MultiJobsMode() const override
void Clear(Option_t *opt="") override
Clear previously set parameters in order to create a new job submission command.
const Char_t * GetJobDisk(void) const
returns the parameter string corresponding to the job Disk
void ChooseJobMemory(void)
void ReadBatchEnvFile(TEnv *) override
void SetJobTime(const Char_t *h="")
Int_t GetRunsPerJob() const
const Char_t * GetJobMemory(void) const
returns the parameter string corresponding to the job Memory
void Print(Option_t *="") const override
void SetRunsPerJob(Int_t n)
void SetSendMailOnJobStart()
add option to send mail when job starts
void SetMultiJobsMode(Bool_t on=kTRUE)
void ChangeDefJobOpt(KVDataAnalyser *) override
void SetBatchSystemParameters(const KVNameValueList &) override
Use the parameters in the list to set all relevant parameters for batch system.
void WriteBatchEnvFile(TEnv *) override