LocalSubmission withCrab

From T2B Wiki
Jump to navigation Jump to search

THIS PAGE IS OBSOLETE.


CRAB submission to local queue on the T2_BE_IIHE cluster

Remark: This kind of crab submission is not supported for 64bit CMSSW releases

Aim

  • This page will explain the procedure and policies to submit jobs to the local queue using CRAB
  • This procedure allows users to submit CMSSW code on the local cluster accessing data in DBS
  • It is useful to use this procedure to not overload the User Interfaces (mX machines).

Procedure

  • The feature of submitting to the local PBS queue at IIHE is available in the customized release /user/cmssoft/crab/CRAB_2_7_7_IIHE.
  • You project must be located in /localgrid/<your_user_name>/.
  • You must create a proxy (it will be needed in case of stage out to the SE maite) :
voms-proxy-init --voms cms:/cms/becms
  • Set your environment as usual, sourcing the customized CRAB release :
cd /localgrid/<your_user_name>/...blablabla.../CMSSW_X_Y_Z/src/
source $VO_CMS_SW_DIR/cmsset_default.(c)sh
cmsenv
source /user/cmssoft/crab/CRAB_2_7_7_IIHE/crab.(c)sh
  • Modify your crab.cfg. It should look like this :
[CRAB]
jobtype                 = cmssw
scheduler               = pbs
use_server              = 0

[CMSSW]
datasetpath = /RelValProdTTbar/JobRobot-MC_3XY_V24_JobRobot-v1/GEN-SIM-DIGI-RECO
pset                    = tutorial.py
events_per_job          = 2
number_of_jobs          = 1
output_file             = outfile.root
ignore_edm_output       = 1

[USER]
copy_data             = 1
storage_element       = T2_BE_IIHE
user_remote_dir       = crabpbstest
publish_data            = 1
publish_data_name       = crabpbstest
dbs_url_for_publication = https://cmsdbsprod.cern.ch:8443/cms_dbs_ph_analysis_02_writer/servlet/DBSServlet

thresholdLevel          = 0
xml_report              = Report.xml

[GRID]
virtual_organization    = cms
group                   = becms

[PBS]
server = cream02.iihe.ac.be
queue = localgrid
  • You may now type the usual CRAB commands.

Comments and FAQ

  • none


Template:TracNotice