Page MenuHomeHEPForge

Installation
Updated 15 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 8

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 meets the minimum requirements for Herwig 7.3.0:
    • gcc, g++ and gfortran version 8 or higher (we recommend version 9+);
    • python and python-dev or python-devel (compatible with both py2 and py3 — we strongly recommend py3)
    • svn, git and zlib
  1. Prerequisites of the Herwig program: at this stage, you should install whatever dependencies 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
Fri, May 16, 11:23 AM