dmwm / CRAB2

CRAB2
2 stars 11 forks source link

make crab -status update exit code for remoteGlidein #841

Closed ericvaandering closed 10 years ago

ericvaandering commented 10 years ago

Original Savannah ticket 98955 reported by belforte on Tue Nov 20 08:23:33 2012.

w/o need for crab -get, do the needed lookup of the xml on submit node side

ericvaandering commented 10 years ago

Comment by belforte on Mon Dec 10 02:06:52 2012

will wait for this to be available via condor_history see https://htcondor-wiki.cs.wisc.edu/index.cgi/tktview?tn=3353,0

ericvaandering commented 10 years ago

Comment by belforte on Fri Jan 18 11:42:48 2013

put in submit host a small "getexitcode" command that takes as input the path and the jobid ?

ericvaandering commented 10 years ago

Comment by belforte on Mon Jan 21 09:12:41 2013

nope. on submit host side only has condor cluster.job and no way to connect to crab jobId, the info is in crab db on client side

While waiting for condor solution, only possible hack is to pull back a summary file with exit code from all fjr files and use that in crab client.

ericvaandering commented 10 years ago

Comment by belforte on Mon Jan 21 10:47:24 2013

crab -peekCode ?

ericvaandering commented 10 years ago

Comment by belforte on Mon Jan 21 11:15:11 2013

so in the end I gave up in making crab -status mess with exit code in local DB. Too much work for little gain, better worry about speeding up getoutput, if needed.

ericvaandering commented 10 years ago

Closed by belforte on Mon Jan 21 11:15:11 2013

ericvaandering commented 10 years ago

Open by belforte on Tue Jan 22 11:36:41 2013

ericvaandering commented 10 years ago

Comment by belforte on Tue Jan 22 11:36:41 2013

I found a way to do this in BossLite/ScheduerRemoteGlidein

need to cleanup my code before committing but it seems to work

ericvaandering commented 10 years ago

Comment by belforte on Thu Jan 24 05:30:35 2013

committed as BossLite/Scheduler/SchedulerRemoteglidein.py revision 1.22

ericvaandering commented 10 years ago

Comment by belforte on Thu Jan 24 15:36:39 2013

so this requires a new ProdCommon tag: PRODCOMMON_0_12_18_CRAB_52

now in the tarball: /local/reps/CMSSW/COMP/CRAB/python/PrepareTarBall.sh,v <-- PrepareTarBall.sh new revision: 1.192; previous revision: 1.191

ericvaandering commented 10 years ago

Comment by belforte on Tue Jan 29 06:39:45 2013

releases in CRAB_2_8_5

ericvaandering commented 10 years ago

Closed by belforte on Tue Jan 29 06:39:45 2013