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)
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)
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
def __init__(self): SchedulerLsf.__init__(self) Scheduler.__init__(self,"CAF") self.OSBsize = 55*1000*1000 # 55 MB return