lcgenv or views
This is for users who need to setup standalone tools from the LCG releases (i.e. outside Athena). These packages are available in the cvmfs sft repository. Note: You need to be careful that you specify the same cmtconfig (platform) value for views or lcgenv as you intend to use for the other tools that you will set up downstream in lsetup (e.g. root).
If you want to find out what is inside each LCG release, look
here
. Click on the LCG release version to see what is included in each version.
views
For usage, type
lsetup views
This will setup an entire LCG release. Since the libraries will be in a few directories, it will work faster than
lcgenv.
lcgenv
For usage, type
lsetup -h lcgenv
lcgenv sets up all the dependencies needed for a package.
This tool is created by the GENSER team. There is a
README
file that describes usage.
Path
lsetup lcgenv will tell you that you need to specify an LCG release; e.g.
$ lsetup "lcgenv"
Error (lcgenv): you need to specify a LCG release with the "-p LCG_<version>" option
Possibilities are:
LCG_78root6
LCG_79
Platform
eg lsetup lcgenv -p LCG_79 will tell you what platforms are available; e.g.
$ lsetup "lcgenv -p LCG_79"
************************************************************************
Requested: lcgenv ...
Setting up lcgenv 1.2 ...
lcgenv -p LCG_79 ...
# Available platforms in '/cvmfs/sft.cern.ch/lcg/releases/LCG_79' are:
# x86_64-slc6-gcc49-dbg
# x86_64-cc7-gcc48-opt
# x86_64-cc7-gcc49-opt
# x86_64-cc7-gcc49-dbg
# x86_64-slc6-gcc48-opt
# x86_64-slc6-gcc49-opt
# x86_64-cc7-gcc48-dbg
# x86_64-slc6-gcc48-dbg
>>>>>>>>>>>>>>>>>>>>>>>>> Information for user <<<<<<<<<<<<<<<<<<<<<<<<<
************************************************************************
Package
To see what packages are available, specify both the path and platform; e.g.
$ lsetup "lcgenv -p LCG_79 x86_64-slc6-gcc48-opt"
************************************************************************
Requested: lcgenv ...
Setting up lcgenv 1.2 ...
lcgenv -p LCG_79 x86_64-slc6-gcc48-opt ...
# Available packages for platform x86_64-slc6-gcc48-opt
# AIDA
# Boost
# CASTOR
# CLHEP
# COOL
...
# xrootd_python
# yamlcpp
# yoda
# lcgenv finished in 0.009 seconds
>>>>>>>>>>>>>>>>>>>>>>>>> Information for user <<<<<<<<<<<<<<<<<<<<<<<<<
************************************************************************
Setup
example:
lsetup "lcgenv -p LCG_79 x86_64-slc6-gcc48-opt pyanalysis"
To setup multiple lcgenv packages on one line:
lsetup "lcgenv -p LCG_79 x86_64-slc6-gcc48-opt pygraphics" "lcgenv -p LCG_79 x86_64-slc6-gcc48-opt pyanalysis"
To setup many things at the same time in the correct order; e.g.:
lsetup "lcgenv -p LCG_79 x86_64-slc6-gcc48-opt pyanalysis" "root 6.02.12-x86_64-slc6-gcc48-opt" rucio