- Copy scripts form McM
- Total three scripts for all sequence from gridpack to MiniAOD
- Run the scripts to get
.py
files. When you run the three shell script you will get 4.py
files. - Modify python files for command line inputs.
- Alongwith in the first script where the input is gridpack there we have to modify few things:
- Modify python files for command line inputs.
- make sure number of events is same at all three places.
- add random generator. link
- also change the number of parameters.
- See this patch: link
- In line (here: link ) the second parameter is totoal number of events and third parameters is the random number.
- Also, add
.bkup
at last in the name of first.py
file. - Make sure that input and output file names remain consistent in going from one step to another.
- run all
*.py
files ascmsRun <configure-file-name>.py inputFiles=_0
cmsrel CMSSW_7_1_21_patch2
cd CMSSW_7_1_21_patch2/src
cmsenv
cd ../../
cmsrel CMSSW_8_0_21
cd CMSSW_8_0_21/src
cmsenv
cd ../../
cd FullSim
- copy file
HIG-RunIISummer15wmLHEGS-00157_1_cfg.py.bkup
toHIG-RunIISummer15wmLHEGS-00157_1_cfg.py
. - Modify the gridpack path in file
HIG-RunIISummer15wmLHEGS-00157_1_cfg.py.bkup
- Run it using
cmsRun HIG-RunIISummer15wmLHEGS-00157_1_cfg.py inputFiles=_0
-
Copy here the gridpack
-
Modify cmssw 7x and 8x path in RunFullSIM_condor.sh
-
Add gridpack name in RunFullSIM_condor.jdl
-
Modify gridpack name in SMP-RunIISummer15wmLHEGS-00029_Hadronization_1_cfg.py.bkup
-
Modify store area path where the output will be saved in file: RunFullSIM_condor.sh. You have to add path at two places. One for saving LHE (edm format) files and another for MiniAOD files.
-
Submit condor jobs using command:
condor_submit RunFullSIM_condor.jdl
-
Find all files larger than 30 MB and delete it.
find . -type f -size +30M -exec rm {} ;
-
To ask for each file before delete:
find . -type f -size +30M -exec rm -i {} ;
-
To submit condor jobs:
condor_submit <FileName>.jdl
-
To check how the condor job is proceeding:
condor_tail <ProcessID>.<jobID> -f
-
To check status of condor jobs:
condor_q -submitter <username>
-
To kill the condor jobs:
condor_rm <ProcessID>.<jobID>
voms-proxy-init
source /cvmfs/cms.cern.ch/crab3/crab.sh
crab status <dir>
crab submit <dir>
crab report <dir>
https://cms-pdmv.cern.ch/mcm/chained_requests?contains=SMP-RunIISummer15wmLHEGS-00090&page=0&shown=15