ATLAS Offline Software
Public Member Functions | List of all members
python.LSFJobRunner.LSFJobRunner Class Reference
Inheritance diagram for python.LSFJobRunner.LSFJobRunner:
Collaboration diagram for python.LSFJobRunner.LSFJobRunner:

Public Member Functions

def __init__ (self, **params)
 
def submitJob (self, jobConfig)
 

Detailed Description

LSFJobRunner - run jobs using the LSF batch system

Definition at line 20 of file LSFJobRunner.py.

Constructor & Destructor Documentation

◆ __init__()

def python.LSFJobRunner.LSFJobRunner.__init__ (   self,
**  params 
)
Constructor (takes any number of parameters as an argument).

Definition at line 23 of file LSFJobRunner.py.

23  def __init__(self,**params):
24  """Constructor (takes any number of parameters as an argument)."""
25  JobRunner.__init__(self)
26 
27  # Set user-specified parameters only after LSFJobRunner defaults
28  self.setParam('batchqueue','8nm','Batch queue')
29  for k in params.keys():
30  self.setParam(k,params[k])
31  self.checkParams()
32 

Member Function Documentation

◆ submitJob()

def python.LSFJobRunner.LSFJobRunner.submitJob (   self,
  jobConfig 
)
Submit a JobRunner job as a LSF batch job.

Definition at line 33 of file LSFJobRunner.py.

33  def submitJob(self,jobConfig):
34  """Submit a JobRunner job as a LSF batch job."""
35  batchCmd = 'bsub -L /bin/bash -q %(batchqueue)s -J %(jobname)s -o %(logfile)s %(scriptfile)s' % jobConfig
36  print (batchCmd)
37  os.system(batchCmd)
38  return None

The documentation for this class was generated from the following file:
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18