DevelopKit

Setting up a local LHCb environment - Scientific Linux 6

Overview

Teaching: 30 min
Exercises: 90 min
Questions
  • Do you already have an SL6 system or VM?

Objectives
  • Get and configure the LHCb stack.

On CentOS 7, the following steps allow you to build the LHCb software:

First, mount CVMFS. It is obtainable through yum with:

sudo yum install https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest.noarch.rpm
sudo yum install cvmfs cvmfs-config-default
sudo cvmfs_config setup

Open the file /etc/cvmfs/default.local and add the lines:

CVMFS_REPOSITORIES=lhcb.cern.ch,lhcbdev.cern.ch
CVMFS_HTTP_PROXY=DIRECT
CVMFS_QUOTA_LIMIT=25000

Verify these are available with cvmfs_config probe. If not, restart with sudo service autofs restart.

You can run on CentOS 7 using:

source /cvmfs/lhcb.cern.ch/group_login.sh -c x86_64-centos7-gcc62-opt

But other than Gaudi, not a lot will be available for lb-run. (And Gaudi will need to be run with lb-run Gaudi/latest). You can build here, through.

If you want to use the other packages, you can use a Docker VM.

Key Points