Difference: GEMSimProduction (1 vs. 3)

Revision 32014-04-21 - GunwooHeo

 

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

META FILEATTACHMENT attachment="crab.cfg" attr="" comment="" date="1382342126" name="crab.cfg" path="crab.cfg" size="1472" stream="crab.cfg" user="Main.JasonLee" version="1"
META FILEATTACHMENT attachment="forbash.sh" attr="" comment="" date="1382342144" name="forbash.sh" path="forbash.sh" size="102" stream="forbash.sh" user="Main.JasonLee" version="1"
META FILEATTACHMENT attachment="crabresub.sh" attr="" comment="" date="1382342263" name="crabresub.sh" path="crabresub.sh" size="74" stream="crabresub.sh" user="Main.JasonLee" version="1"
META TOPICMOVED by="JasonLee" date="1382960888" from="UOS.GEMSimProduction" to="GEM.GEMSimProduction"

Revision 22013-10-28 - JasonLee

 

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

META FILEATTACHMENT attachment="crab.cfg" attr="" comment="" date="1382342126" name="crab.cfg" path="crab.cfg" size="1472" stream="crab.cfg" user="Main.JasonLee" version="1"
META FILEATTACHMENT attachment="forbash.sh" attr="" comment="" date="1382342144" name="forbash.sh" path="forbash.sh" size="102" stream="forbash.sh" user="Main.JasonLee" version="1"
META FILEATTACHMENT attachment="crabresub.sh" attr="" comment="" date="1382342263" name="crabresub.sh" path="crabresub.sh" size="74" stream="crabresub.sh" user="Main.JasonLee" version="1"
Added:
>
>
META TOPICMOVED by="JasonLee" date="1382960888" from="UOS.GEMSimProduction" to="GEM.GEMSimProduction"
 

Revision 12013-10-21 - JasonLee

 

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

META FILEATTACHMENT attachment="crab.cfg" attr="" comment="" date="1382342126" name="crab.cfg" path="crab.cfg" size="1472" stream="crab.cfg" user="Main.JasonLee" version="1"
META FILEATTACHMENT attachment="forbash.sh" attr="" comment="" date="1382342144" name="forbash.sh" path="forbash.sh" size="102" stream="forbash.sh" user="Main.JasonLee" version="1"
META FILEATTACHMENT attachment="crabresub.sh" attr="" comment="" date="1382342263" name="crabresub.sh" path="crabresub.sh" size="74" stream="crabresub.sh" user="Main.JasonLee" version="1"
 
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