Running Crab
Description
Crab installation
cd /tmp/
wget http://cmsdoc.cern.ch/cms/ccs/wm/scripts/Crab/CRAB_2_3_2.tgz
tar -xvzf CRAB_2_3_2.tgz
cd CRAB_2_3_2
./configure
source crab.sh
mkdir Teste
cd Teste
source /OSG/setup.sh
voms-proxy-init -voms cms
export X509_USER_PROXY=$(voms-proxy-info -path)
source /home/OSG_app/app/cmssoft/cmsset_default.sh
scramv1 project CMSSW CMSSW_2_0_12
cd CMSSW_2_0_12/src
eval `scramv1 runtime -sh`
downloading an already done code:
export CVSROOT=:ext:mafd@cmscvs.cern.ch:/cvs_server/repositories/CMSSW
export CVS_RSH=/usr/bin/ssh
cvs co -r V00-02-02 QCDAnalysis/UEAnalysis
cd QCDAnalysis/UEAnalysis/src
scramv1 b
source /tmp/CRAB_2_3_2/crab.sh
cd ../test/
vim crab.cfg
Creating our crab.cfg with this content:
[CRAB]
jobtype = cmssw
scheduler = condor_g
[CMSSW]
datasetpath = /MinBias/CSA08_CSA08_S43_v1/GEN-SIM-RECO
pset = ueAnalysisRootFileChainOnlyReco.cfg
total_number_of_events = 100
number_of_jobs =10
[USER]
return_data =1
#ui_working_dir =
thresholdLevel = 100
eMail = mdias@ift1.unesp.br
[EDG]
rb = CERN
proxy_server = myproxy.cern.ch
Using the crab to submit jobs
export EDG_WL_LOCATION=/OSG/edg/
crab -create
crab -submit
crab -status
crab -getoutput
--
MarcoAndreFerreiraDias - 29 Jul 2008