How to Run CRAB

Current Configurations:

UCSD:

[CRAB]
cfg                             = crab.cfg
jobtype                             = cmssw
scheduler                           = glite

[CMSSW]
datasetpath                         = /MinBias/Summer09-STARTUP3X_V8P_900GeV_Jan29ReReco-v1/GEN-SIM-RECO
pset                                = total_number_of_events              = 500000
number_of_jobs                      = 20
output_file                         = myOutputFile.root
#runselection                        = 132423-132452

[USER]

copy_data                           = 1
storage_element                     = bsrm-1.t2.ucsd.edu
storage_path                        = /srm/v2/server?SFN=/hadoop/cms/store
user_remote_dir                     = /user//iso/randConeTest/mc/pass2
local_stage_out                     = 0
publish_data                        = 0
#publish_data                       = 1
#publish_data_name                       = HiggsSimpleSkim_30.03.2010-v2
#dbs_url_for_publication                      = https://cmsdbsprod.cern.ch:8443/cms_dbs_ph_analysis_02_writer/servlet/DBSServlet
#email                      =@physics.ucsd.edu

[GRID]
proxy_server                        = myproxy.cern.ch
se_white_list                       = ucsd
ce_white_list                       = ucsd
virtual_organization                = cms

[CONDORG]


CERN CAF:

[CRAB]
jobtype                    = cmssw
scheduler                  = caf
server_name                = caf

[CAF]
queue                      = cmscaf1nh

[CMSSW]
datasetpath                = /MinBias/Summer09-STARTUP3X_V8P_900GeV_Jan29ReReco-v1/GEN-SIM-RECO
pset                       = /home//crab/iso/900GeV/mc/mcIsoFurtherSkim.py
output_file                = mcIso900GeVFurtherSkim.root

total_number_of_events     = -1
events_per_job             = 200000
get_edm_output             = 0

[USER]
return_data                = 0
copy_data                  = 1
storage_element            = T2_CH_CAF
user_remote_dir            = iso/900GeV/pass2/mc/small
ui_working_dir             = ./mcIso900GeVFurtherSkim.v1
publish_data               = 0
dbs_url_for_publication    = https://cmsdbsprod.cern.ch:8443/cms_dbs_ph_analysis_02_writer/servlet/DBSServlet
thresholdLevel             = 0
debug_wrapper              = 1
xml_report                 = Report.xml
eMail                      =@cern.ch

[GRID]
rb                         = CERN
proxy_server               = myproxy.cern.ch
role                       = priorityuser
retry_count                = 0

UCSD

glite

  • Setup:
    • None required
    • Haifeng has installed it here: /code/osgcode/ucsdt2/Crab/
  • To run everytime:
source /code/osgcode/ucsdt2/gLite/etc/profile.d/grid_env.sh #newGlite
eval `scramv1 runtime -sh` #ev
source /code/osgcode/ucsdt2/Crab/etc/crab.sh #setCrab
voms-proxy-init -voms=cms #vpi
#One command for: myGlite
condor_g
  • To run everytime:
source /data/vdt/setup.sh #vdtset
eval `scramv1 runtime -sh` #ev
source ~/crab/CRAB_2_3_0/crab.sh #setCrab
voms-proxy-init -voms=cms #vpi

CERN

glite

source /afs/cern.ch/cms/LCG/LCG-2/UI/cms_ui_env.sh
eval `scramv1 runtime -sh`
source /afs/cern.ch/cms/ccs/wm/scripts/Crab/CRAB_1_5_2/crab.sh

To Check Global Queue

  • globus-job-run osg-gw-2.t2.ucsd.edu /condor/release/bin/condor_q # gque 2/4
  • my user id: uscms1658

-- MatthewLeBourgeois - 07 Jul 2008

Topic revision: r8 - 2011/05/22 - 23:07:57 - MatthewLeBourgeois
 
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 TWiki? Send feedback