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

Comparing COMP/CRAB/python/SchedulerLsf.py (file contents):
Revision 1.9 by spiga, Sun May 4 08:45:24 2008 UTC vs.
Revision 1.10 by spiga, Mon May 26 15:43:43 2008 UTC

# Line 17 | Line 17 | class SchedulerLsf(SchedulerLocal) :
17  
18      def __init__(self):
19          Scheduler.__init__(self,"LSF")
20 +        
21 +        self.outputDir = self.cfg_params.get('USER.outputdir' ,common.work_space.resDir())
22  
23          return
24  
# Line 56 | Line 58 | class SchedulerLsf(SchedulerLocal) :
58                  if (self.res): sched_param += ' -R '+self.res +' '
59              pass
60  
61 <        sched_param+='-cwd '+common.work_space.resDir() + ' '
61 >        sched_param+='-cwd '+ str(self.outputDir)  + ' '
62          return sched_param
63  
64      def loggingInfo(self, id):

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines