示例#1
0
 def configure(self, cfg_params):
     """
     CAF is just a special queue and resources for LSF at CERN
     """
     SchedulerLsf.configure(self, cfg_params)
     self.queue = cfg_params.get(self.name().upper()+'.queue','cmscaf1nw')
     self.res = cfg_params.get(self.name().upper()+'.resource','"type==SLC6_64"')
     self.group = cfg_params.get(self.name().upper()+'.group', None)
示例#2
0
 def configure(self, cfg_params):
     """
     CAF is just a special queue and resources for LSF at CERN
     """
     SchedulerLsf.configure(self, cfg_params)
     self.queue = cfg_params.get(self.name().upper()+'.queue','cmscaf1nw')
     self.res = cfg_params.get(self.name().upper()+'.resource','"type==SLC5_64 || type==SLC4_64"')
     self.group = cfg_params.get(self.name().upper()+'.group', None)
示例#3
0
 def wsSetupEnvironment(self):
     #Returns part of a job script which does scheduler-specific work.
     txt = SchedulerLsf.wsSetupEnvironment(self)
     txt += '# CAF specific stuff\n'
     txt += 'echo "----- ENV CAF BEFORE sourcing /afs/cern.ch/cms/caf/setup.sh  -----"\n'
     txt += 'echo "CMS_PATH = $CMS_PATH"\n'
     txt += 'echo "STAGE_SVCCLASS = $STAGE_SVCCLASS"\n'
     txt += 'echo "STAGER_TRACE = $STAGER_TRACE"\n' 
     txt += 'source /afs/cern.ch/cms/caf/setup.sh \n'
     txt += '\n'
     txt += 'echo "----- ENV CAF AFTER sourcing /afs/cern.ch/cms/caf/setup.sh  -----"\n'
     txt += 'echo "CMS_PATH = $CMS_PATH"\n'
     txt += 'echo "STAGE_SVCCLASS = $STAGE_SVCCLASS"\n'
     txt += 'echo "STAGER_TRACE = $STAGER_TRACE"\n' 
     txt += '\n'
     return txt
示例#4
0
 def wsSetupEnvironment(self):
     #Returns part of a job script which does scheduler-specific work.
     txt = SchedulerLsf.wsSetupEnvironment(self)
     txt += '# CAF specific stuff\n'
     txt += 'echo "----- ENV CAF BEFORE sourcing /afs/cern.ch/cms/caf/setup.sh  -----"\n'
     txt += 'echo "CMS_PATH = $CMS_PATH"\n'
     txt += 'echo "STAGE_SVCCLASS = $STAGE_SVCCLASS"\n'
     txt += 'echo "STAGER_TRACE = $STAGER_TRACE"\n' 
     txt += 'source /afs/cern.ch/cms/caf/setup.sh \n'
     txt += '\n'
     txt += 'echo "----- ENV CAF AFTER sourcing /afs/cern.ch/cms/caf/setup.sh  -----"\n'
     txt += 'echo "CMS_PATH = $CMS_PATH"\n'
     txt += 'echo "STAGE_SVCCLASS = $STAGE_SVCCLASS"\n'
     txt += 'echo "STAGER_TRACE = $STAGER_TRACE"\n' 
     txt += '\n'
     return txt
示例#5
0
    def __init__(self):
        SchedulerLsf.__init__(self)
        Scheduler.__init__(self,"CAF")
        self.OSBsize = 55*1000*1000  # 55 MB

        return
示例#6
0
    def __init__(self):
        SchedulerLsf.__init__(self)
        Scheduler.__init__(self,"CAF")
        self.OSBsize = 55*1000*1000  # 55 MB

        return