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:
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
If you want to install MCgrid on OS X manually, try to follow the manual instructions given for GNU/Linux systems below.
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
When the binaries
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