GithubHelp home page GithubHelp logo

cms_fulllsimulation's Introduction

CMSSW Full Simulation

  1. Copy scripts form McM
    1. Total three scripts for all sequence from gridpack to MiniAOD
  2. Run the scripts to get .py files. When you run the three shell script you will get 4 .py files.
  3. Modify python files for command line inputs.
  4. Alongwith in the first script where the input is gridpack there we have to modify few things:
    1. Modify python files for command line inputs.
    2. make sure number of events is same at all three places.
    3. add random generator. link
    4. also change the number of parameters.
    5. See this patch: link
    6. In line (here: link ) the second parameter is totoal number of events and third parameters is the random number.
    7. Also, add .bkup at last in the name of first .py file.
    8. Make sure that input and output file names remain consistent in going from one step to another.
  5. run all *.py files as cmsRun <configure-file-name>.py inputFiles=_0

How to Run Locally

Step1: release CMSSW 7X and 8X version

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

Step2:

  1. copy file HIG-RunIISummer15wmLHEGS-00157_1_cfg.py.bkup to HIG-RunIISummer15wmLHEGS-00157_1_cfg.py.
  2. Modify the gridpack path in file HIG-RunIISummer15wmLHEGS-00157_1_cfg.py.bkup
  3. Run it using cmsRun HIG-RunIISummer15wmLHEGS-00157_1_cfg.py inputFiles=_0

Step2: Submit CMS Full sim production using condor

  1. Copy here the gridpack

  2. Modify cmssw 7x and 8x path in RunFullSIM_condor.sh

  3. Add gridpack name in RunFullSIM_condor.jdl

  4. Modify gridpack name in SMP-RunIISummer15wmLHEGS-00029_Hadronization_1_cfg.py.bkup

  5. 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.

  6. Submit condor jobs using command:

     condor_submit RunFullSIM_condor.jdl
    

Some Important commands

  1. Find all files larger than 30 MB and delete it.

    find . -type f -size +30M -exec rm {} ;

  2. To ask for each file before delete:

    find . -type f -size +30M -exec rm -i {} ;

Condor commands

  1. To submit condor jobs:

     condor_submit <FileName>.jdl
    
  2. To check how the condor job is proceeding:

     condor_tail <ProcessID>.<jobID> -f
    
  3. To check status of condor jobs:

     condor_q -submitter <username>
    
  4. To kill the condor jobs:

     condor_rm <ProcessID>.<jobID>
    

Crab Commands:

voms-proxy-init
source /cvmfs/cms.cern.ch/crab3/crab.sh
crab status <dir>
crab submit <dir>
crab report <dir>

Full sim chain Ref:

https://cms-pdmv.cern.ch/mcm/chained_requests?contains=SMP-RunIISummer15wmLHEGS-00090&page=0&shown=15

cms_fulllsimulation's People

Contributors

ram1123 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.