Setting up a local LHCb environment - CentOS 7
Using a local copy of CentOS 7
- 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:
local:~ $ sudo yum install https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest.noarch.rpm
local:~ $ sudo yum install cvmfs cvmfs-config-default
local:~ $ sudo cvmfs_config setup
Open the file /etc/cvmfs/default.local
and add the lines:
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 also may need uuid on your system:
local:~ $ sudo yum install uuid-devel libuuid-devel
You can run on CentOS 7 using:
local:~ $ source /cvmfs/lhcb.cern.ch/group_login.sh -c x86_64-centos7-gcc62-opt
It is still recommended that you use the Upgrade-hackathon-setup, and you can manually run:
local:upgrade-hackathon-setup $ . setup.sh
from that directory. You can now run make -j1
, along with all the other make commands available to you. See Upgrade-hackathon-setup.