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.14 by spiga, Wed Jun 11 10:03:07 2008 UTC vs.
Revision 1.14.2.1 by fanzago, Tue Jun 24 13:54:11 2008 UTC

# Line 46 | Line 46 | class SchedulerLsf(SchedulerLocal) :
46          """
47          Returns parameter scheduler-specific, to use with BOSS .
48          """
49        index = int(common._db.nJobs()) - 1
49          sched_param= ''
50  
51 <        for i in range(index): # Add loop DS
52 <
53 <            sched_param= ''
55 <            if (self.queue):
56 <                sched_param += '-q '+self.queue +' '
57 <                if (self.res): sched_param += ' -R '+self.res +' '
58 <            pass
51 >        if (self.queue):
52 >            sched_param += '-q '+self.queue +' '
53 >            if (self.res): sched_param += ' -R '+self.res +' '
54  
55          sched_param+='-cwd '+ str(self.outputDir)  + ' '
56          return sched_param

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines