GEM Simulation Production guide

If you already dont have a grid account https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideRunningGridPrerequisites?redirectedfrom=CMS.SWGuideRunningGridPrerequisites#Grid_certificate

You will need a https://github.com/ account then link it to your cern account http://cms-sw.github.io/cmssw/faq.html

In shell

git config --global user.github <your github username>
git config --global user.name <your name> <your last name>
git config --global user.email <your e-mail>

cmsrel CMSSW_6_2_0_SLHC1
cd CMSSW_6_2_0_SLHC1/src
cmsenv
git init
git remote add official-cmssw git://github.com/cms-sw/cmssw
git remote add gem-cmssw git://github.com/gem-sw/cmssw.git
git cms-merge-topic gem-cmssw:CMSSW_6_2_X_SLHC
git submodule add git://github.com/gem-sw/GEMCode.git

scram b -j8

cmsDriver.py MinBias_TuneZ2star_14TeV_pythia6_cff \
-s GEN,SIM \
--conditions auto:upgrade2019 \
--customise SLHCUpgradeSimulations/Configuration/combinedCustoms.cust_2019WithGem \
--magField 38T_PostLS1 \
--datatier GEN-SIM \
--geometry Extended2019 \
--eventcontent FEVTDEBUG \
--evt_type GEMCode/GEMPhysics/MinBias_TuneZ2star_14TeV_pythia6_cff \
-n 1000 \
--no_exec \
--fileout out_sim.root

#test MinBias_TuneZ2star_14TeV_pythia6_cff_GEN_SIM.py to see if everything is fine
cmsRun MinBias_TuneZ2star_14TeV_pythia6_cff_GEN_SIM.py

Submitting crab jobs, edit the attached crab.cfg file (change the email)

# create a crab job with
crab -create

# submit the crab job
crab -submit
# or use the attached bash script to submit the jobs
./forbash.sh

# check status
crab -status

# get job information
crab -get

# or you can use the attached crabresub.sh script to do all in one step

Status of jobs are shown in http://dashb-cms-job-task.cern.ch/dashboard/request.py/taskmonitoring

-- JasonLee - 21 Oct 2013

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatcfg crab.cfg r1 manage 1.4 K 2013-10-21 - 07:55 UnknownUser  
Unix shell scriptsh crabresub.sh r1 manage 0.1 K 2013-10-21 - 07:57 UnknownUser  
Unix shell scriptsh forbash.sh r1 manage 0.1 K 2013-10-21 - 07:55 UnknownUser  
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2014-04-21 - GunwooHeo
 
KOREA-CMS
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding KoreaCmsWiki? Send feedback