Instructions for submitting crab jobs

log in to lxplus

ssh username@lxplus.cern.ch
setup your bash shell
export SHELL=/bin/bash
export SCRAM_ARCH=slc6_amd64_gcc491

setup crab environment

source /cvmfs/cms.cern.ch/crab3/crab.sh

setup proxy

voms-proxy-init --voms cms --valid 168:00

Now everything is setup, lets check write permissions at T2 site(T2_IN_TIFR for IISER HEX)

crab checkwrite --site=T2_IN_TIFR
If the response is positive you are good to go, otherwise contact T2_IN_TIFR for write permissions

Setup CMSSW (it can be any release prefrably >=74x)

cmsrel CMSSW_7_4_3 
cmsenv

MC generation from a LHE file using crab

From /afs/cern.ch/user/a/akapoor/public/For_Shubh_Crab/ copy files crabConfig_new.py, Ntrilepton.13TeV.M.50GeV.lhe, step0_LHEtoGENSIM.py your CMSSW_7_4_x/src directory.

You can check input file name etc in crabConfig_new.py. Other import parameter are

config.General.requestName = 'June2015_MC_generation'
config.General.workArea = 'crab_projects'
This will tell you where to locate your local log for the particular crab submission

Submit your job as

crab submit -c crabConfig_new.py

check status of crab job

crab status -d crab_projects/June2015_MC_generation/
it can also be monitored using online monitoring toool

This was jus GEN-SIM step that we ran, you can use the following config file to run next steps. Its actually same as running any other analysis on MC sample.

Here are CMSSW configuration files for FastSim and remaining FullSim steps []

-- ShubhanshuChauhan - 2015-06-24

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2015-06-24 - ShubhanshuChauhan
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback