Package Ganga :: Package Lib :: Package Batch :: Module Batch'
[hide private]
[frames] | no frames]

Module Batch'

source code

Classes [hide private]
  Batch
This is a Ganga.GPI.Batch implementation class.
  LSF
This is a Ganga.GPI.LSF implementation class.
  PBS
This is a Ganga.GPI.PBS implementation class.
  SGE
This is a Ganga.GPI.SGE implementation class.
Functions [hide private]
 
shell_cmd(cmd, soutfile=None, allowed_exit=[0]) source code
Variables [hide private]
  __package__ = 'Ganga.Lib.Batch'
  config = <Ganga.Utility.Config.Config.PackageConfig instance a...
  logger = <logging.Logger object at 0x39942d0>
  tempstr = '\nenv = os.environ\njobnumid = env["PBS_JOBID"]\nos...
Variables Details [hide private]

config

Value:
<Ganga.Utility.Config.Config.PackageConfig instance at 0x392e758>

tempstr

Value:
'''
env = os.environ
jobnumid = env["PBS_JOBID"]
os.chdir("/tmp/")
os.system("rm -rf /tmp/%s/" %jobnumid) 
'''