CERNLIB

The CERN Program Library consists of a number of independent Fortran and C callable libraries and a collection of complete programs.

Please see http://cernlib.web.cern.ch/cernlib/libraries.html for more information.

To use CERNLIB please set the following environment variables:

Under tcsh

32-bit:
        setenv CERNLIB /usr/local/cernlib/2006/slc4_ia32_gcc4
        setenv PATH ${CERNLIB}/bin:${PATH}
        setenv LD_LIBRARY_PATH ::${CERNLIB}/lib
64-bit:
        setenv CERNLIB /usr/local/cernlib/2006/slc4_amd64_gcc4
        setenv PATH ${CERNLIB}/bin:${PATH}
        setenv LD_LIBRARY_PATH ::${CERNLIB}/lib

Under bash

32-bit:
        export CERNLIB=/usr/local/cernlib/2006/slc4_ia32_gcc4
        export PATH=${CERNLIB}/bin:${PATH}
        export LD_LIBRARY_PATH=::${CERNLIB}/lib
64-bit:
        export CERNLIB=/usr/local/cernlib/2006/slc4_amd64_gcc4
        export PATH=${CERNLIB}/bin:${PATH}
        export LD_LIBRARY_PATH=::${CERNLIB}/lib