Recent Changes - Search:

Public

Physics

Engineering

Literature
Journal Club
People

MineralPET
DAQ

Computing

Africa


HEP Packages for Scientific Linux

LCG

A collection of ready to use software is published by the Worldwide LHC Computing Grid (WLCG). These releases are catalogued here: https://lcginfo.cern.ch/

They are distributed via the CERN Virtual File System (CVMFS). Some platform specific prerequisites are needed, these are available in a meta-package for most operating systems called HEP_OSlibs.

With CVMFS and HEP_OSlibs set up, releases can be used with e.g.: source /cvmfs/sft.cern.ch/lcg/views/setupViews.sh LCG_104 x86_64-el9-gcc13-opt (Omitting the release and platform triple will print available builds) This is available on the cluster for batch running.

CERNLib

I (Sergio) and Mark have prepared RPM format packages of a few HEP software packages. The packages have been originally derived from those made by Mattias Ellert for NorduGrid:

Compared to Mattias' RPMs, we have upgraded to newer versions of Geant (8.0), CLHEP (1.9.2.2), Root(5.10). I have added postun ldconfig, and /etc/profile scripts for environment variables. Instead I have not yet updated to cernlib-2005, and I'm presently wondering about using the Fedora Extras sources as he does, since they are derived from Debian, that has dropped the non-GPL components like Fluka and PYTHIA.

If you are running Scientific Linux 4.1 or 4.3, you can install them simply by using YUM, otherwise you will have to recompile them. They should recompile fine on Fedora Core 4 and 5;

First rebuild the cernlib:

 nice rpmbuild --rebuild cernlib-2004.xxxx.src.rpm

Please note that you must not be root for it to recompile properly. For root the rm command is aliased to rm -i, so that the build will stop asking whether you want to delete files... I have not found a workaround for this.
If everything goes well, at the end you will see a line like:

 Wrote: /usr/src/redhat/RPMS/i386/cernlib-2004-3.SL4.WITS.i386.rpm

then do

 rpm -ivh /usr/src/redhat/RPMS/i386/cernlib-2004-3.SL4.WITS.i386.rpm

and source the profile script so that the environment ($CERN, $CERN_LEVEL...) is updated:

  . /etc/profile.d/cernlib.sh

(yes, there is a space between . and /).

Now you can build ROOT, which depends on cernlib-devel to build:

 nice rpmbuild --rebuild root-xxxx.src.rpm

You must build and install CLHEP before building Geant4, so

 nice rpmbuild --rebuild clhep-1.9.2.2xxxx.src.rpm

and at the end

 rpm -ivh /usr/src/redhat/RPMS/i386/clhep-1.9.2.2xxxx.i386.rpm

To create RPM packages, see


Related Links

Edit - History - Print - Recent Changes - Search
Page last modified on August 09, 2023, at 12:14 pm