dmwm / CRAB2

CRAB2
2 stars 11 forks source link

support MaxWallTime specification for glidein #843

Closed ericvaandering closed 10 years ago

ericvaandering commented 10 years ago

Original Savannah ticket 99008 reported by belforte on Thu Nov 22 06:18:30 2012.

do it for remoteGlidein at least param is in crab.cfg already, make sure correct string is passed to glidein' JDL Also need to pass limit to watchDog, as done for RSS And set the default to 22h

ericvaandering commented 10 years ago

Comment by belforte on Tue Nov 27 16:53:43 2012

current situation: in crab.cfg, from crab -help [GRID] max_wall_clock_time

glidein wants (from Igor): MaxWallTimeMins

in CRAB/SchedulerGrid.py have

self.EDG_clock_time = cfg_params.get('GRID.max_wall_clock_time',None)

and already

SchedulerRemoteglidein.py: if (self.EDG_clock_time): SchedulerRemoteglidein.py: jobParams += '+MaxWallTimeMins = '+self.EDG_clock_time+'; '

so simply need default plus propagate to crabWatchdog

ericvaandering commented 10 years ago

Comment by belforte on Wed Nov 28 10:06:46 2012

fix tested and committed. More tests are needed to make sure glidein handles things properly etc.

/local/reps/CMSSW/COMP/CRAB/python/cms_cmssw.py,v <-- cms_cmssw.py new revision: 1.391; previous revision: 1.390

/local/reps/CMSSW/COMP/CRAB/python/SchedulerRemoteglidein.py,v <-- SchedulerRemoteglidein.py new revision: 1.9; previous revision: 1.8

ericvaandering commented 10 years ago

Comment by belforte on Wed Dec 12 15:20:40 2012

small fix needed: /local/reps/CMSSW/COMP/CRAB/python/SchedulerRemoteglidein.py,v <-- SchedulerRemoteglidein.py new revision: 1.10; previous revision: 1.9

ericvaandering commented 10 years ago

Comment by belforte on Thu Dec 20 07:54:46 2012

released in CRAB 2_8_4

ericvaandering commented 10 years ago

Closed by belforte on Thu Dec 20 07:54:46 2012