Reharvest one DQM job with its log file

This task can be done by following this procedure on an lxplus machine:

1) Get the tarball of the DQMIO you want to run (you can obtain it from the webpage EOSCMSWEB or by obtaining its LFN from WMStats or from condor logs and then adding /eos/cms at the beginning of it)

2) Untar it (i.e.:)

$ tar -zxvf 68d93c9c-db7e-11e3-a585-00221959e789-46-0-logArchive.tar.gz

3) Create your proxy (if needed, most of the times it is not required), then create the scram area:

# Create a valid proxy

" $ voms-proxy-init -voms cms"

# Source CMSSW environment

"$ source /cvmfs/cms.cern.ch/cmsset_default.sh"

# Create the scram area with the CMSSW release for that the job should use. This information should be available on https://cmsweb.cern.ch/t0wmadatasvc/prod/reco_config?run=#runnumber where you replace the "#runnumber" with the corresponding number of the job’s run.

"$ scramv1 project CMSSW CMSSW_7_4_0"

4) Go to src area in the CMSSW directory you created, then copy the PSet.pkl and PSet.py (from the untared job)

# Go to the src area

"$ cd CMSSW_7_4_0/src/"

Do eval the project

"$ eval `scramv1 runtime -sh`"

5) Modify PSet.py

Open Pset.py with a text editor and add "print process.dumpPython()" as a last command, then run it using python and send it to a file named cmssw_config

"$ python PSet.py > cmssw_config.py"

6) Check cmssw_config.py to find if its input files are on disk or needs transfer

#Check cmssw_config.py and on the first lines you will find a list of the input files required for this job, locate them on DAS to verify if they are on disk or needs to be transferred from tape. If some files are not available on disk, transfer them by using Phedex or Rucio when it becomes the transfer service. When you have all the inputs on disk save your file and use it as input for cmsRun and run this:

"$ cmsRun cmssw_config.py"

This process will create some Root files with this format: "./324785_Singlemuon/CMSSW_10_2_5_patch1/src/DQM_V0001_R000324785_SingleMuonRun2018D-PromptReco-v2_DQMIO.root” that can be uploaded to DQMGUI by DQM team. The DQM team have access to the public folder so these files should be copied there.

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2019-03-26 - AndresFelipeQuinteroParra
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback