CRAB Submission

1) Source CRAB-

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

2) Create proxy-

voms-proxy-init -voms cms

Example CRAB config to process on pre-existing sample in DAS-

from CRABClient.UserUtilities import config, getUsernameFromSiteDB
config = config()
config.General.requestName = 'tau_tmp3'
config.General.workArea = 'crab_projects'
config.General.transferOutputs = True
config.General.transferLogs = False
config.JobType.pluginName = 'Analysis'
config.JobType.psetName = '/afs/cern.ch/user/p/psolanki/private/TauAnalysisV1/CMSSW_New/CMSSW_9_4_10/src/DesyTauAnalyses/NTupleMaker/test/TreeProducerFromMiniAOD_94x_MC.py'
config.JobType.numCores = 4
config.JobType.maxMemoryMB = 4000
config.Data.inputDataset = '/DYJetsToLL_M-50_TuneCP5_13TeV-madgraphMLM-pythia8/RunIIFall17MiniAOD-RECOSIMstep_94X_mc2017_realistic_v10-v1/MINIAODSIM'
config.Data.inputDBS = 'global'

config.Data.splitting = 'FileBased'
config.Data.unitsPerJob = 1
NJOBS = 10= # This is not a configuration parameter, but an auxiliary variable that we use in the next line.
config.Data.totalUnits = config.Data.unitsPerJob * NJOBS
config.Data.outLFNDirBase = '/store/user/psolanki/'
config.Data.publication = True
config.Data.outputDatasetTag = 'tau_tmp3'
config.Data.ignoreLocality = True
config.Site.storageSite = 'T2_IN_TIFR'
config.Site.whitelist = ['T2_US_MIT','T2_US_Nebraska','T3_TW_NCU','T2_DE_DESY','T2_CH_CERN','T2_BE_IIHE']
config.Site.blacklist = ['T2_US_Florida','T3_US_UMiss']


Submit CRAB jobs using -

crab submit -c crabConfig.py

-- PrabhatSolanki - 2019-01-25

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2019-01-25 - PrabhatSolanki
 
    • 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