rivet is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" (Repository path '/hepforge/hg/rivet/public/rivet' does not exist.). Look in the Trac log for more information.

Version 55 (modified by Lars Sonnenschein, 14 years ago) (diff)

--

Getting started with Rivet

If you are missing one of the programs libtool, autoreconf (autoconf), automake, aclocal be sure to have them installed first, else you can directly proceed to the Rivet Installation instructions.

We also installed our own copy of libtool in ~/Cedar/local to make sure we had the correct version (also had our own autotools and autoconf there, but probably unnecessary). exported the paths to autotools etc

  export AUTOCONF = $HOME/Cedar/local/bin/autoconf
  export AUTOMAKE = $HOME/Cedar/local/bin/automake
  export LIBTOOL = $HOME/Cedar/local/bin/libtool
  export ACLOCAL = $HOME/Cedar/local/bin/aclocal

and just for good measure made sure that $HOME/Cedar/local/bin was also at the front of $PATH

Rivet installation instructions

For local user installations a directory (e.g. named local) has to be created to be supposed to contain the created libraries. (For a global system wide installation the default directory is /usr/local/) Remember also to include the .../local/lib absolute path in your LD_LIBRARY_PATH environment variable.

First Installation of related packages: (some of the packages might already be installed globally system wide.

In this case you don't need to re-install those packages but the path has to be right)

  1. CLHEP version 2.0.3.1 from http://proj-clhep.web.cern.ch/proj-clhep/
    clhep-2.0.3.1.tgz
    do:

tar xvzf clhep-2.0.3.1.tgz
mv 2.0.3.1 clhep2.0.3.1 (optionally)
cd clhep2.0.3.1/CLHEP
./configure (for global system wide installation)
or :
./configure --prefix=[path_to_my_local_directory]
(where [path_to_my_local_directory] could be e.g. ${HOME}/local)
make
make install
cd ../..

  1. HepMC version 2.00.02 from http://lcgapp.cern.ch/project/simu/HepMC/download/
    HepMC-2.00.02.tar.gz
    do:

tar xvzf HepMC-2.00.02.tar.gz
cd HepMC-2.00.02
./configure [--prefix=[path_to_my_local_directory]]
make
make install
cd ..

  1. HepPDT version 2.02.02 from http://lcgapp.cern.ch/project/simu/HepPDT/download/
    HepPDT-2.02.02.tar.gz
    do:

tar xvzf HepPDT-2.02.02.tar.gz
cd HepPDT-2.02.02
./configure [--prefix=[path_to_my_local_directory]]
make
make install
cd ..

  1. KtJet version 1.7 from http://www.hepforge.org/downloads/ktjet
    KtJet-1.07.tar.gz
    do:

tar xvz KtJet-1.07.tar.gz
cd KtJet-1.07
./configure --prefix=/tmp/sonne/local CLHEPPATH=/tmp/sonne/local
make
make install
cd ..

  1. log4cpp version 0.5.3rc3 from http://sourceforge.net/project/downloading.php?group_id=15190&use_mirror=mesh&filename=log4cpp-0.3.5rc3.tar.gz&11773209
    log4cpp-0.3.5rc3.tar.gz
    do:

tar xvzf log4cpp-0.3.5rc3.tar.gz
cd log4cpp-0.3.5rc3

remove superfluous semicolon on line 29 of header file include/log4cpp/Manipulator.hh

./configure --prefix=/tmp/sonne/local
make
make install
cd ..

  1. Rivet (for the time being latest version can be fetched from Subversion:)

svn co http://svn.hepforge.org/rivet/trunk rivet (anonymous user)
svn co svn+ssh://svn.hepforge.org/hepforge/svn/rivet/trunk Rivet (developer)
cd rivet
autoreconf -iv
./configure --prefix=/tmp/sonne/local
make
make install
cd ..

Running Rivet

To run Rivet, you'll need to link to a main program. Within CEDAR we use RivetGun; to see how to get started with this, follow these instructions.