Difference: SoftwareInstallation (21 vs. 22)

Revision 222017-10-23 - MarcoCattaneo

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"

LHCb software installation

This page describes the steps needed to make a standalone LHCb software installation on a local or shared filesystem.
Line: 18 to 18
  See also these user recipes for hints on installing on non-supported platforms.
Changed:
<
<
If you find problems with these instructions, or with the install_project.py script, please report them to the install_project category of the LNCORE Jira tracker.
>
>
If you find problems with these instructions, or with the install_project.py script, please report them to the install_project category of the LBCORE Jira tracker.
 

Installation procedure

Line: 94 to 94
 setenv MYSITEROOT /scratch/Install setenv CMTCONFIG x86_64-slc5-gcc43-opt source $MYSITEROOT/LbLogin.csh ! this is essential to set all _release_area environment variables
Deleted:
<
<
SetupProject DaVinci v20r3 ! this configures all of the environment variables for DaVinci v20r3 gaudirun.py $DAVINCIROOT/options/DaVinci.py
 
Added:
>
>
Then use lb-run, see SoftwareEnvTools#Runtime
  To save a few lines of typing you can place the first three lines in a local script and source that instead. These need to be executed, one way or another, for each new terminal you start.
Line: 112 to 111
 

Accessing specific packages

Changed:
<
<
You can add packages and modify existing packages to a program, see examples below

The LHCb tool to access a specific package (for example theDaVinci package) and add it to the your local area is getpack. See the instructions on accessing SVN software which explains how to set up getpack to download a package from CERN.

>
>
You should use Git. See Git4LHCb
 

Running DaVinci after downloading using a private version

Line: 125 to 121
 setenv CMTCONFIG x86_64-slc5-gcc43-opt setenv User_release_area $HOME/cmtuser source $MYSITEROOT/LbLogin.csh ! this is essential to set all _release_area environment variables
Deleted:
<
<
SetupProject DaVinci v20r3 --build-env ! this adds the directory DaVinci_v20r3 to $User_release_area and sets up CMT getpack Phys/DaVinci v20r3 ! Get the package Phys/DaVinci into your area SetupProject DaVinci v20r3 ! this configures all of the environment variables for DaVinci v20r3 in your new area cd Phys/DaVinci/cmt make gaudirun.py $DAVINCIROOT/options/DaVinci.py
 
Added:
>
>
Then use lb-dev, see SoftwareEnvTools#Development
  You can also add any other package to DaVinci at the getpack step. See the LHCbSoftwareTutorials for examples of adding packages to DaVinci.
Deleted:
<
<

Downloading source only and compiling locally

setenv MYSITEROOT /scratch/Install
cd $MYSITEROOT
setenv CMTCONFIG x86_64-slc5-gcc43-opt
python install_project.py DaVinci v20r3 
SetupProject DaVinci v20r3
cd $DAVINCIROOT/cmt
cmt broadcast -global cmt config
cmt broadcast -global cmt make      ! if you have a  multi-core processor machine add the option -jX to the end to compile X files at once (X = 2,3,4 etc...)

You must also compile any Gaudi packages not already explicitly complied already by running "cmt broadcast -global cmt config && cmt broadcast -global make" in the cmt directory of the GaudiRelease package you can find in the $Gaudi_release_area tree.

Browsing the projects available directly

You can browse the distribution tarballs directly at http://lhcbproject.web.cern.ch/lhcbproject/dist/distribution.html, which is sometimes useful to see what is available etc.

 

Special Case for LHCbDirac

 
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