GridSubmission withCrab

From T2B Wiki
Revision as of 12:28, 26 August 2015 by Maintenance script (talk | contribs) (Created page with " == CRAB submission to the GRID == === Aim === *This page describes details about the usage of CRAB at the IIHE. This page does not aim to explain CRAB. *For general in...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CRAB submission to the GRID

Aim

  • This page describes details about the usage of CRAB at the IIHE. This page does not aim to explain CRAB.
  • For general information on how to use Crab, we strongly advise you to go to the following link and also this one
  • In case of troubles with CRAB, before sending a mail to the T2 admins or to the "Crab Feedback" Hypernews mailing list, please read this
  • More information on running with crab on the grid can be found in the CMS workbook
  • A list with Frequently Asked Questions can be found here
  • Please subscribe to hn-cms-crabFeedback@cern.ch and to hn-cms-crabDevelopment@cern.ch for staying up to date on problems and developments

Procedure

CMSSW environment

  • CMSSW enviroment is under variable VO_CMS_SW_DIR is the correct release. (This also means that this variable will not have to be set manually anymore)
source $VO_CMS_SW_DIR/cmsset_default.sh
source $VO_CMS_SW_DIR/cmsset_default.csh

Crab environment

CRAB is available under cvmfs

  • For CRAB3
source /cvmfs/cms.cern.ch/crab3/crab.sh
or
source /cvmfs/cms.cern.ch/crab3/crab.csh
  • For CRAB2 (almost deprecated)
source /cvmfs/cms.cern.ch/crab/crab.sh
or
source /cvmfs/cms.cern.ch/crab/crab.csh


becms group

  • becms is a group within the VO CMS.
  • you have a unique account name in CMS. This is your SiteDB account.
    • you also should have an account with that login under the new UIs
    • try m0.iihe.ac.be
    • login is based on rsa keys. Talk to the admins if you can not login.
  • Requirements:
    • Have an account in /cms/becms group and be registered in SiteDB
    • Instructions
  • This group gives you write access to your personal /store/user path on the storage
    • at least for IIHE
    • everyone else has read access
    • you are not able to write to /pnfs/iihe/cms
    • the location where you should be able to find your data is /pnfs/iihe/cms/store/user/<username>
  • add to crab.cfg
  • for CRAB2:
[GRID]
virtual_organization    = cms
group                   = becms
  • for CRAB3:
config.section_("User")
config.User.voGroup = 'becms'
  • To create a valid proxy you have to issue the following command
voms-proxy-init --voms cms:/cms/becms
  • If you want to test your access to the storage via the CRAB3 option checkwrite you need to issue the following command:
crab checkwrite --site=T2_BE_IIHE --voGroup=becms

Data Publication

You'll find all information [here https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideCrabForPublication]

Using the crab server or not: only for CRAB2

  • According to the Crab software guide it is recommended to use the crab server.
  • In most crab tutorials you will see that you are given the choice between using the glite with our without the server. Although there is a 3rd possibility. If you read the crab FAQ you will see a short comparison on using the glite-server or the glidein-server.

Comments and FAQ

  • autocompletion with csh doesn't seem to work
    • actually, is seems to work as intended
    • TAB only completes unambigous prefixes
    • use CTRL-D to list all possible matches
  • as the old /user is not mounted, you will need to recreate the $HOME/.globus directory and copy your usercert.pem and userkey.pem files.
    • don't forget to check the permissions of the files.


Template:TracNotice