4 #ifndef __KV_CCIN2P3_GE_H
5 #define __KV_CCIN2P3_GE_H
#define ClassDef(name, id)
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.
virtual KVList * GetListOfJobs()
Bool_t fMultiJobs
set to kTRUE if several jobs are to be submitted for the runlist set in fAnalyser
virtual void GetBatchSystemParameterList(KVNameValueList &)
void SetSendMailOnJobEnd()
add option to send mail when job ends
Bool_t MultiJobsMode() const
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 PrintJobs(Option_t *opt="")
Print list of owner's jobs.
void SetJobMemory(const Char_t *h="")
KV_CCIN2P3_GE(const Char_t *name)
KVString fDefJobTime
default job length
void SetJobDisk(const Char_t *h="")
virtual void WriteBatchEnvFile(TEnv *)
virtual void SanitizeJobName() const
virtual void Print(Option_t *="") const
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")
virtual Bool_t CheckJobParameters()
Checks the job and asks for any missing parameters.
void SetSendMailAddress(const char *)
set email address for notifications
const Char_t * GetJobDisk(void) const
returns the parameter string corresponding to the job Disk
virtual void Clear(Option_t *opt="")
Clear previously set parameters in order to create a new job submission command.
void ChooseJobMemory(void)
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
virtual void ChangeDefJobOpt(KVDataAnalyser *)
void SetRunsPerJob(Int_t n)
void SetSendMailOnJobStart()
add option to send mail when job starts
virtual void SetBatchSystemParameters(const KVNameValueList &)
Use the parameters in the list to set all relevant parameters for batch system.
virtual void ReadBatchEnvFile(TEnv *)
void SetMultiJobsMode(Bool_t on=kTRUE)