Example #1
0
 def __init__(self, **kwargs):
     super(RunDirac, self).__init__(**kwargs)
     self.table = header.diractable
     self.templ = header.DIRACSCRIPTDEFAULT
     self.runfolder = None
     self.gridw = util.GridWrap()
     self.tarw = util.TarWrap()
Example #2
0
 def __init__(self, prod=False, arcscript=None, **kwargs):
     super(RunArc, self).__init__(**kwargs)
     if not prod:
         self.table = header.arctable
     else:
         self.table = header.arcprodtable
     self.arcbd = header.arcbase
     if arcscript:
         self.templ = arcscript
     else:
         self.templ = header.ARCSCRIPTDEFAULT
     self.runfolder = header.runcardDir
     self.gridw = util.GridWrap()
     self.tarw = util.TarWrap()
Example #3
0
 def __init__(self, act_only_on_done=False):
     from pyHepGrid.src.header import dbname, baseSeed
     self.overwrite_warmup = False
     self.tarw = util.TarWrap()
     self.gridw = util.GridWrap()
     self.dbase = pyHepGrid.src.dbapi.database(dbname, logger=header.logger)
     self.table = None
     self.bSeed = baseSeed
     self.jobtype_get = {
             'P': self._get_data_production,
             'W': self._get_data_warmup,
             'S': self._get_data_warmup
             }
     self.assume_yes = False
     self.act_only_on_done = act_only_on_done
     self.stats_one_line = False