mcgrid is hosted by Hepforge, IPPP Durham

MCgrid: Interpolation tools for NLO event generators


Installation

OS X (using Homebrew)

Homebrew is a package manager for OS X. We recommend using it to install MCgrid (and other UNIX and HEP tools). When you have Homebrew, all you need to do is to copy the following into the command line:

brew update
brew tap davidchall/hep
brew install mcgrid

This should install MCgrid and all its dependencies using the packages maintained in the Homebrew-hep repository.

Optionally you can now check that you have installed MCgrid correctly by the command brew test mcgrid.

If you want to install MCgrid on OS X manually, try to follow the manual instructions given for GNU/Linux systems below.

GNU/Linux

MCgrid has two dependencies: Rivet (v.2.2.0 or later) and at least one of the following: Applgrid (v.1.5.36 or later) and or fastNLO Toolkit (v.2.3pre–2125 or later). We recommend installing Rivet using the bootstrap script as described on their Getting Started page. You probably want to configure APPLgrid to use Hoppet, by making sure that the binary hoppet-config is in the path before configuring APPLgrid. Although this is not necessary for producing grids, it is a requirement if you want to perform scale variations using these grids.

When the binaries rivet-config and applgrid-config/fnlo-tk-config are in your path, you will be ready to go. Go to the Downloads section and download an MCgrid tarball. Unpack it using tar -xzf mcgrid-<version>.tar.gz. Then change into the unpacked directory (cd mcgrid-<version>) and type in the following commands:

./configure --prefix=/path/to/install
make
make install

This will install MCgrid into the provided prefix directory.

Note: If you want to link against a recent Rivet version (v.2.5 or later), C++11 is required for the compilation. In that case, use

./configure --prefix=/path/to/install CXXFLAGS="-std=c++11 -stdlib=libc++"