Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable crab to get Histo names from JobReport #34

Closed
ericvaandering opened this issue Oct 31, 2013 · 3 comments
Closed

Enable crab to get Histo names from JobReport #34

ericvaandering opened this issue Oct 31, 2013 · 3 comments
Assignees

Comments

@ericvaandering
Copy link
Member

Original Savannah ticket 6527 reported by slacapra on Sun Mar 2 17:22:49 2008.

In CMSSW_2_0_x, files written by the TFileService (the only reliable and
supported way for users to write histogram files from EDAnalyzers) will
be listed in the Job report.

They will be listed like this:

<AnalysisFile>
<FileName>/uscms/home/ewv/TFileService/CMSSW_2_0_0_pre2/src/PhysicsTools/UtilAlgos/test/histo.root</FileName>
<Source Value="TFileService" />
</AnalysisFile>

With this modification, we can think about adding a CRAB option to add
all files the user is writing to the output file list automatically
rather than relying on the user to spell their filename correctly twice.

@ericvaandering
Copy link
Member Author

Comment by afanfani on Tue Apr 8 07:24:21 2008

This might turnout not to be an entirly trivial change
since the current logic in CRAB (cms_cmssw.py,SchedulerGrid.py,SchedulerCondor_g.py)
rely on knowing the output filename upfront.

I've checked that in CMSSW_2_0_0_pre9 the FWjobreport does
contain the info about the file written with TFileService:

<AnalysisFile>
<FileName>/tmp/afanfani/afanalyzer/histo.root</FileName>
<Source Value="TFileService" />
</AnalysisFile>

however the FwkJobRep code in PRODCOMMON to parse the xml
is not up to date.
For that the files needed on top of the PRODCOMMON HEAD are: /afs/cern.ch/user/a/afanfani/public/CRAB/AnalysisFile/

@ericvaandering
Copy link
Member Author

Comment by slacapra on Wed Jun 11 12:58:22 2008

Done.

If TFileServic is in pset, the output file is automatically added to the list of crab output files.
Case if user already explicitly list the file is dealt with.

Can be turned off by setting
[CMSSW]
skip_TFileService_output = 1

in crab.cfg

@ghost ghost assigned ericvaandering Oct 31, 2013
@ericvaandering
Copy link
Member Author

Closed by slacapra on Wed Jun 11 12:58:22 2008

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants