Running CRAB at the LPC cluster

There are many instrucctions and tips around. Watch out, some of them are out of date. In my case this is what I have done in order to be able to submit jobs to the LPC Analysis cluster.

* In case you are beginner, you will need to follow the instruccions at the US CMS site Connect to LPC cluster.


  • Eventhough you will submit directly to a Condor batch queue system, you need to have a valid grid certificate and VO=cms. CRAB will request you to authenticate


  • As instructed in this page, you need to set your personal ~/.profile file (no matter if you use a cshell) with the following command:

echo "source /uscmst1/prod/sw/cms/shrc prod" > ~/.profile

  • Set the CMSSW, Grid and CRAB environment. For this part, I have set these alias inside my .cshrc file:

# individual configuration
alias cmsswEnv 'source /uscmst1/prod/sw/cms/cshrc prod'
alias crabEnv 'source /uscmst1/prod/grid/CRAB/crab.csh'
alias gridEnv 'source /uscmst1/prod/grid/gLite_SL5.csh'

# all at once
alias setAll 'crabEnv; gridEnv; cmsswEnv'


The following is a very basic example of a CRAB configuration file:

pset                    =
datasetpath             = /MinimumBias/Run2012C-HLTPhysics-24Aug2012-v1/RAW-RECO
output_file             = outfile.root
lumis_per_job           = 10
total_number_of_lumis   = 100
# total_number_of_lumis   = -1  # all lumis available

ui_working_dir         =  crab_B
return_data             = 1
copy_data               = 0

scheduler               = condor
jobtype                 = cmssw

Excecution of such job was done under CMSSW_5_3_4.

The data has to be located locally at the LPC. You can check this by going to DAS.

  • Notice that the scheduler is set to condor.
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2013-01-10 - AndresOsorio
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 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