GridSubmission withCrab: Difference between revisions

From T2B Wiki
Jump to navigation Jump to search
m (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...")
 
 
(One intermediate revision by the same user not shown)
Line 36: Line 36:
</pre>
</pre>


==== 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 <tt>m0.iihe.ac.be</tt>
**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
**[http://mon.iihe.ac.be/trac/t2b/wiki/Certificates_and_VOs#CMS Instructions]
*This group gives you write access to your personal <tt>/store/user</tt> path on the storage
**at least for IIHE
**everyone else has read access
**you are not able to write to <tt>/pnfs/iihe/cms</tt>
**the location where you should be able to find your data is <tt>/pnfs/iihe/cms/store/user/<username></tt>
*add to <tt>crab.cfg</tt>
*for CRAB2:
<pre>
[GRID]
virtual_organization    = cms
group                  = becms
</pre>
*for CRAB3:
<pre>
config.section_("User")
config.User.voGroup = 'becms'
</pre>
*To create a valid proxy you have to issue the following command
<pre>
voms-proxy-init --voms cms:/cms/becms
</pre>
*If you want to test your access to the storage via the CRAB3 option checkwrite you need to issue the following command:
<pre>
crab checkwrite --site=T2_BE_IIHE --voGroup=becms
</pre>


==== Data Publication ====
==== Data Publication ====

Latest revision as of 16:09, 20 February 2017

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


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