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/"

# Create the scram area with the CMSSW release for that the job should use. This information should be available on 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 (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

Open 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 >"

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

#Check 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"

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