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 72 (modified by Jon Butterworth, 14 years ago) (diff)

--

Getting started with Rivet

These instructions are aimed at users who want to install a release of Rivet. GettingStartedForDevelopers has some additional or replacement steps for people wishing to check out the development version from the repository and build from there.

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.

Rivet installation instructions

Create a directory (e.g. named $HOME/cedar/local) to contain the created libraries. Remember also to include the $HOME/cedar/local/lib absolute path in your LD_LIBRARY_PATH environment variable. Question from Jon - is this really needed?

First install the related packages: (if they are installed already on your system, you can use them as long as you tell the Rivet configuration whee they are).

  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}/cedar/local)
           make
           make install
           cd ../..
    
  2. 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=[path_to_my_local_directory] CLHEPPATH=[path_to_my_local_directory]
make
make install
cd ..
go into the .../local/lib directory and do ln -s libKtEvent.so libKtJet.so

  1. log4cpp (not needed anymore for Rivet head versions checked out after 11/April/2007)
    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=[path_to_my_local_directory]
make
make install
cd ..

  1. Rivet (users can get the latest tarball from the web):

http://www.hepforge.org/downloads/rivet
(Repository access for developers/contributers:)
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
go to [path_to_my_local_directory]/lib and do ln -s libKtEvent.so libKtJet.so.
Then go back to the Rivet directory.
autoreconf -iv
./configure --prefix=[path_to_my_local_directory]
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.