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 73 (modified by Jon Butterworth, 13 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/ then 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/ then 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 ..
    
  3. HepPDT version 2.02.02 from http://lcgapp.cern.ch/project/simu/HepPDT/download/ then 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 ..
    
  4. KtJet version 1.7 from http://www.hepforge.org/downloads/ktjet then 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 ..
    

Then go into the .../local/lib directory and do ln -s libKtEvent.so libKtJet.so.

  1. Rivet latest tarball from 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

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.