ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/SchedulerCaf.py
(Generate patch)

Comparing COMP/CRAB/python/SchedulerCaf.py (file contents):
Revision 1.8 by fanzago, Tue Jul 1 15:03:48 2008 UTC vs.
Revision 1.11 by spiga, Mon Apr 20 19:55:48 2009 UTC

# Line 25 | Line 25 | class SchedulerCaf(SchedulerLsf) :
25          CAF is just a special queue and resources for LSF at CERN
26          """
27          SchedulerLsf.configure(self, cfg_params)
28 <        self.queue = cfg_params.get(self.name().upper()+'.queue','cmscaf')
28 >        self.queue = cfg_params.get(self.name().upper()+'.queue','cmscaf1nw')
29          self.res = cfg_params.get(self.name().upper()+'.resource','cmscaf')
30 +        self.pool = cfg_params.get('USER.storage_pool','cmscafuser')
31 +
32      def wsSetupEnvironment(self):
33          """
34          Returns part of a job script which does scheduler-specific work.
35          """
36          txt = SchedulerLsf.wsSetupEnvironment(self)
37          txt += '# CAF specific stuff\n'
38 <        txt += 'export STAGE_SVCCLASS=cmscaf \n'
39 <
38 >        #txt += 'export STAGE_SVCCLASS=cmscaf \n'
39 >        txt += '\n'
40          return txt
41  
42 +    def wsCopyOutput(self):
43 +        ### default is the name of the storage pool
44 +        ### where users can copy job outputs  
45 +        txt=self.wsCopyOutput_comm(self.pool)
46 +        return txt

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines