ATLAS Offline Software
Loading...
Searching...
No Matches
python.JobRunner Namespace Reference

Classes

class  JobRunner
class  JobRunnerError
class  JobRunnerParameter

Functions

 GetRelease ()

Variables

str __author__ = 'Juerg Beringer'
str __version__ = '$Id: JobRunner.py 747883 2016-05-18 06:58:10Z amorley $'
str scriptTemplate
 t = JobRunner()

Detailed Description

JobRunner is a set of classes aimed at simplifying the running of
(athena) jobs on a set of input files. JobRunner provides each
job with its set of configuration parameters (using a Python
dictonary) and runs it over a sub-sample (or all) of the input files.
Jobs can run interactively, on different batch systems, or on the Grid.

Written by Juerg Beringer (LBNL) in 2008.

Function Documentation

◆ GetRelease()

python.JobRunner.GetRelease ( )

Definition at line 87 of file JobRunner.py.

87def GetRelease():
88 version = os.getenv('AtlasVersion')
89 if not version: # nightly
90 branch = os.getenv('AtlasBuildBranch')
91 stamp = os.getenv('AtlasBuildStamp')
92 version = ','.join([branch, stamp])
93 project = os.getenv('AtlasProject')
94 platform = os.getenv('%s_PLATFORM' % project, os.getenv('CMTCONFIG'))
95 return ','.join([project, version] + platform.split('-'))
96
97# Main JobRunner class

Variable Documentation

◆ __author__

str python.JobRunner.__author__ = 'Juerg Beringer'
private

Definition at line 15 of file JobRunner.py.

◆ __version__

str python.JobRunner.__version__ = '$Id: JobRunner.py 747883 2016-05-18 06:58:10Z amorley $'
private

Definition at line 16 of file JobRunner.py.

◆ scriptTemplate

str python.JobRunner.scriptTemplate

Definition at line 30 of file JobRunner.py.

◆ t

python.JobRunner.t = JobRunner()

Definition at line 537 of file JobRunner.py.