Page MenuHomeHEPForge

Installation
Updated 1,954 Days AgoPublic

Automated installation (recommended)

Performing a complete installation of Herwig can be done using the following commands:

mkdir Herwig
cd Herwig
export LOC_HERWIG=$PWD
wget https://herwig.hepforge.org/downloads/herwig-bootstrap
chmod +x herwig-bootstrap
./herwig-bootstrap $LOC_HERWIG -j 4

with "4" being the number of processors that can be tasked with this installation. Afterward, the installation can be checked by:

source $LOC_HERWIG/bin/activate
cd $LOC_HERWIG/share/Herwig
Herwig read LHC-Matchbox.in
Herwig run LHC_Matchbox.run -N 100

Manual installation

  1. System requirements: please check that your machine has access to the minimum requirements of Herwig 7.1.
    • gcc, g++ and gfortran at least version 4.9 (we recommend version 6.5 or higher)
    • python and python-dev or python-devel
    • svn, git and zlib
  1. Prerequisites of the Herwig program: at this stage, you should install whatever dependencies that you may require while working with Herwig.
    • BOOST
    • GSL
    • FastJet
    • RIVET
    • LHAPDF
    • ThePEG
    • MadGraph
    • OpenLoops
    • GoSam

You can find a complete list of these dependencies alongside their installation methods here.

  1. Manual installation of the Herwig program: which can be done either via a tarball or by cloning from the Mercurial repository. The details are presented here.
Last Author
aidin
Last Edited
Jul 16 2019, 4:21 PM

Event Timeline

aidin edited the content of this document. (Show Details)