ROOT and LHCb software

In order to be able to use the LHCb software, including ROOT, you have to setup your environment.

In order to do this two script are provided “.localrc” and “.bash_profile” provided here.

You need to put these files in your cluster home. (Take care of not overwriting anything!) After you did re-login and the LHCb login should automatically appear. Now you can use the cluster as if you were on lxplus.

For example ROOT can be setup by: lb-run ROOT bash


The only thing that does not directly work is reading from EOS. You have to initialise a proxy as shown below and prepend “root://” to your paths.

export X509_USER_PROXY={Some .txt file where your certificate will be stored (create the file before)}
lhcb-proxy-init -cert $X509_USER_PROXY
chmod 750 $X509_USER_PROXY

The last line makes the certificate file accessible by the cluster nodes.