![]() |
Pre-compiled versions for the CERN supported platforms are available from
/cvmfs/dphep.cern.ch/cernlib
There is a script available to initialise it, e.g. from lxplus with bash do
. /cvmfs/dphep.cern.ch/cernlib/setup.sh
or in case of (t)csh:
source /cvmfs/dphep.cern.ch/cernlib/setup.csh
This will set a bunch of environment variables and update the search path such that paw and ypatchy are found.
Only decent version of cernlib support xrootd. To use such binaries, make sure that you have xrootd-client installed, in particular XrdPreload.so must be present on your system. To enable xrootd support, use
export CERNLIB_XROOTD=ON
. /cvmfs/dphep.cern.ch/cernlib/setup.sh
for bash/zsh etc or
setenv CERNLIB_XROOTD ON
source /cvmfs/dphep.cern.ch/cernlib/setup.csh
for tcsh, csh etc. Note that you have to set this variable before sourcing the environment, as described above.
| CERN Program Library | Home | Last modified: 22-October-2025 |