Follow the instructions in this script. Make sure you have sufficient quota on lxplus before you start and ensure you have a valid proxy before running dirac-install. Your mileage may vary...

# /bin/bash
# follow this instructions to install a CVS version of DIRAC on lxplus

voms-proxy-init --voms lhcb
mkdir DIRAC
cd DIRAC
wget http://cern.ch/lhcbproject/dist/DIRAC3/DIRAC-scripts-HEAD.tar.gz
tar zxvf DIRAC-scripts-HEAD.tar.gz
./scripts/dirac-install
mv DIRAC DIRAC_v3r0
setenv CVSROOT :ext:isscvs.cern.ch:/local/reps/dirac
setenv CVS_RSH ssh
cvs co DIRAC3/DIRAC
ln -s DIRAC3/DIRAC DIRAC
cvs co DIRAC3/LHCbSystem
cd DIRAC3/DIRAC/
rm -rf LHCbSystem/
ln -s ../../DIRAC3/LHCbSystem/
cd ../../
rm -rf WorkflowLib/
cvs co DIRAC3/WorkflowLib
ln -s DIRAC3/WorkflowLib/
cp $LHCBDEV/DIRAC/DIRAC3_v0r4p5/old* .
cp $LHCBDEV/DIRAC/DIRAC3_v0r4p5/etc/dirac.cfg etc/dirac.cfg
vi etc/dirac.cfg # edit path to DIRAC to point to this installation
cd DIRAC3/DIRAC/
ln -s ../../etc/
cd ../../

You can now setup the relevant environemt by running:

. ./ProductionEnv.sh or source ./ProductionEnv.csh

-- GreigCowan - 15 Sep 2008

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2009-02-25 - FlorianFeldhaus
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback