This README guides the user through the installation of Checkmate and outlines how
to check and possibly install updated versions of all the necessary prerequisites.
The program has been tested and will run on both Linux and MacOS.
CheckMATE requires Python 2.7 on your system. Most systems already come with a
Python installation, which you can easily check by typing python
and hitting `enter' in a terminal. If Python is installed, it should start and
immediately tell you the version number. If the installation is too old, too new
(CheckMATE won't work with Python 3) or if there is no Python at all, please install
it either manually from http://www.python.org/download/ or using the software
management of your system.
CheckMATE uses ROOT for a variety of tasks, therefore it is inevitable that
every user has a fully working ROOT installation available on their system.
Furthermore, CheckMATE uses some ROOT packages which are not installed automatically
and which may need to be added. Due to the large size of the ROOT source code, we
refrained from including it in our package and only provide a step-by-step tutorial
for how to install it from scratch or add potentially missing obligatory packages
to an existing installation. Running
whereis root
inside the terminal tells you if there already exists an installation on your system
and determines how to continue with the installation:
You must download the source and install ROOT from scratch. Please do not use the
ROOT precompiled binaries but follow these instructions, since we encountered
internal linking problems with the binary version of ROOT. Start by downloading the
latest version from http://root.cern.ch/drupal/content/downloading-root with:
wget ftp://root.cern.ch/root/root_xyz.source.tar.gz
If you already have ROOT on your system, let us first check if it includes all
necessary packages. In the ROOT base directory, please run the following
commands:
./bin/root-config --has-minuit2
In case you are using the standalone ROOT binaries, beware that we sometimes
encountered problems during the compilation of CheckMATE. Should you find the same
problems, i.e. that all the aforementioned checks were positive but still there are
ROOT linking errors occuring, please consider using a proper installation from
source code as explained above.
Contrary to many other tools, CheckMATE does not have a separate `make install'
routine and will set itself up in the directory you put it. You should therefore
begin the following procedure from within the folder you want CheckMATE to be
located.
Start by downloading the tarball either by hand or from within the terminal
wget http://www.hepforge.org/archive/checkmate/CheckMATE-1.0.0.tar.gz
Extract the tarball and have enter the CheckMATE folder:
tar -xvf CheckMATE-1.0.0.tar.gz
Note for experienced ROOT users: CheckMATE should work even if you haven't set up
$ROOTSYS (and similar) environmental variables since it takes all information from
the --with-rootsys parameter. However in case of any unexpected errors, run
thisroot.(c)sh inside the ROOT binary directory and retry.
To test the installation, run the test parameter file in the bin directory.
cd bin |