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