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

Comparing COMP/CRAB/python/SchedulerRemoteglidein.py (file contents):
Revision 1.7 by belforte, Mon Nov 5 19:50:10 2012 UTC vs.
Revision 1.8 by belforte, Thu Nov 8 15:30:21 2012 UTC

# Line 52 | Line 52 | class SchedulerRemoteglidein(SchedulerGr
52          SchedulerGrid.configure(self, cfg_params)
53  
54          self.proxyValid=0
55 <        self.dontCheckProxy=int(cfg_params.get("GRID.dont_check_proxy",0))
55 >        self.dontCheckProxy=int(cfg_params.get("GRID.dont_check_proxy",'0'))
56          self.space_token = cfg_params.get("USER.space_token",None)
57          self.proxyServer= 'myproxy.cern.ch'
58          self.group = cfg_params.get("GRID.group", None)
59          self.role = cfg_params.get("GRID.role", None)
60          self.VO = cfg_params.get('GRID.virtual_organization','cms')
61 <        self.allowOverflow = cfg_params.get('GRID.allow_overflow', 1)
61 >        self.allowOverflow = cfg_params.get('GRID.allow_overflow', '1')
62 >        self.max_rss = cfg_params.get('GRID.max_rss','2300')
63  
64          self.checkProxy()
65  
# Line 124 | Line 125 | class SchedulerRemoteglidein(SchedulerGr
125          by $CRABPYTHON/Scheduler.py
126          """
127  
128 < #SB paste from crab ScheduerGlidein
128 > #SB paste from crab SchedulerGlidein
129  
130          jobParams = ""
131  
# Line 159 | Line 160 | class SchedulerRemoteglidein(SchedulerGr
160          else:
161              jobParams += '+MaxWallTimeMins = %d; ' % (60*24)
162  
163 +        if self.max_rss :
164 +            jobParams += 'request_memory = '+self.max_rss+';'
165 +
166          if self.allowOverflow == "0":
167              jobParams += '+CMS_ALLOW_OVERFLOW = False; '
168  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines