Manual installation of the Herwig program

The Herwig tarball can be download and extracted using

wget http://www.hepforge.org/archive/herwig/Herwig-7.0.0.tar.bz2
tar xjf Herwig-7.0.0.tar.bz2

Alternatively advanced users may wish to checkout the code from the Mercurial repository

The code can then be configured using

cd Herwig-7.0.0
./configure --prefix=/where/to/install/herwig --with-thepeg=/where/thepeg/was/installed \
          --with-fastjet=/where/fastjet/was/installed --with-gsl=/where/gsl/was/installed \
          --with-vbfnlo=/where/vbfnlo/was/installed   --with-njet=/where/njet/was/installed \
          --with-gosam=/where/gosam/was/installed --with-openloops=/where/openloops/was/installed \
          --with-madgraph=/where/madgraph/was/installed

or for minimal install without any of the matrix element programs

./configure --prefix=/where/to/install/herwig --with-thepeg=/where/thepeg/was/installed \
          --with-fastjet=/where/fastjet/was/installed --with-gsl=/where/gsl/was/installed

It can then be built using

make -j$(nproc)
make check
make install