lcgenv (lsetup lcgenv)


This is for power users or advanced 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 lcgenv as you intend to use for the other tools that you will set up downstream in lsetup (e.g. root).

For usage, type lsetup -h lcgenv

lcgenv sets up all the dependencies needed for a package. This is unlike lsetup sft where you will have to determine what dependencies are needed and specify them.

This tool is created by the GENSER team. There is a README file as well.

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.

The JIRA project is here.

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

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2017-11-28 - AsokaDeSilva
 
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