Crab Installation

*NOTE: PROBABLY IN PART OBSOLETE*

The installation mostly follows the instructions from the CERN wiki. Take a look there to see whether the installation instructions have been changed.

Important: always check the release notes to see if the updated version is back compatible (see point 6. ).

A good suggestion: when a new release is out, before installing it it is always better to wait a couple of days after it has been made the default on LXPLUS. Big bugs usually show themselves in that period.

  • The installation is done as user cmssgm into the /swshare/CRAB area. It is best done directly on the nfs server You can do it from a UI.
  • Download the desired CRAB version from http://cmsdoc.cern.ch/cms/ccs/wm/scripts/Crab/
  • Unpack the tar file directly into the target area
    cd /swshare/CRAB && CRABVERSION=CRAB_X_Y_Z && tar -xvzf $CRABVERSION.tgz
  • We have a couple of customizations for out T3 scheduler. Patched versions and patches are stored in the patchedT3 directory. So:
mv $CRABVERSION patchedT3
cd patchedT3/$CRABVERSION
cp ../*.patch ./
for F in *.patch; do patch -p1 < $F; done

  * patch crab_T3_ProdCommon.patch    # patch for running touch on untarred directories to prevent them from being deleted by tmpwatch
  * patch crab_T3_Scheduler.patch     # patch selecting all.q by default
  • Run the configure file found in /swshare/CRAB/patchedT3/$CRABVERSION
    cd /swshare/CRAB/patchedT3/$CRABVERSION && ./configure 
    This will configure the installation and create the crab.(c)sh environment file.
  • Decide when it can be made the default (if it's backward compatible, even just after the installation) and link it :
   cd /swshare/CRAB
   ln -s patchedT3/$CRABVERSION
   rm CRAB && ln -s patchedT3/$CRABVERSION CRAB
  • Send an email to the user MList containing the new version installed and when it will be the default


This topic: CmsTier3 > WebHome > AdminArea > CrabInstallation
Topic revision: r11 - 2013-01-07 - DanielMeister
 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback