<!-- keep this as a security measure: #uncomment if the subject should only be modifiable by the listed groups # * Set ALLOWTOPICCHANGE = Main.TWikiAdminGroup,Main.CMSAdminGroup # * Set ALLOWTOPICRENAME = Main.TWikiAdminGroup,Main.CMSAdminGroup #uncomment this if you want the page only be viewable by the listed groups # * Set ALLOWTOPICVIEW = Main.TWikiAdminGroup,Main.CMSAdminGroup --> ---+ Crab Installation <strike>*NOTE: PROBABLY IN PART OBSOLETE*</strike> The installation mostly follows the [[https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideCrabHowTo#Use_CRAB_outside_CERN][instructions from the CERN wiki]]. Take a look there to see whether the installation instructions have been changed. *Important:* always check the [[https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideCrab?redirectedfrom=CMS.SWGuideCrab#CRAB_Releases_Notes][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. <strike>It is best done directly on the nfs server</strike> 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 <pre>cd /swshare/CRAB && CRABVERSION=CRAB_X_Y_Z && tar -xvzf $CRABVERSION.tgz</pre> * We have a couple of customizations for out T3 scheduler. Patched versions and patches are stored in the =patchedT3= directory. So: <verbatim> mv $CRABVERSION patchedT3 cd patchedT3/$CRABVERSION cp ../*.patch ./ for F in *.patch; do patch -p1 < $F; done </verbatim> <verbatim> * 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 </verbatim> * Run the configure file found in /swshare/CRAB/patchedT3/$CRABVERSION <pre>cd /swshare/CRAB/patchedT3/$CRABVERSION && ./configure </pre> 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 : <verbatim> cd /swshare/CRAB ln -s patchedT3/$CRABVERSION rm CRAB && ln -s patchedT3/$CRABVERSION CRAB </verbatim> * 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
Copyright © 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