CRAB
Current version: CRAB_1_0_2
CRAB webpage
- How to install CRAB_1_0_x on a lxplus account:
- source /afs/cern.ch/cms/LCG/LCG-2/UI/cms_ui_env.csh
- source $CMS_PATH/ccs/wm/scripts/Crab/crab.csh
- edit crab.cfg
- eval `scram runtime -csh`
- crab.py -create all -submit all
- to check the jobs status: crab.py -status
- to get the jobs outputs: crab.py -getoutput
- to resend aborted jobs: crab.py -resubmit
- to cancel jobs: crab.py -kill [range]
- to have informations on crashed jobs: crab.py -postMortem
[range]
If you want to store data on CASTOR:
- Perform the command rfchmod 777 /castor/cern.ch/user/... in order to give any user the write permission on your destination directory
- uncomment copy_data = 1
- (comment return_data = 1 if you don't want a local copy of the output)
- uncomment storage_element = castorgrid.cern.ch
- uncomment storage_path = /castor/cern.ch/user/... with the right path
How to know what are the ORCA versions on the worker node: look here or type lcg-info --vo cms --list-ce --attr Tag
CRAB FAQ
Before using CRAB, you need a GRID certificate; follow these instructions.
If you already have a certificate (as a .p12 file) install it on the UI (e.g. lxplus.cern.ch) this way:
- mkdir ~/.globus
- openssl pkcs12 -nocerts -in mycert.p12 -out ~/.globus/userkey.pem
- openssl pkcs12 -clcerts -nokeys -in mycert.p12 -out ~/.globus/usercert.pem
- chmod 0400 ~/.globus/userkey.pem
- chmod 0600 ~/.globus/usercert.pem