Let's install CheckMATE! 

We need some tools (like a Python package called scipy) required by CheckMATE. In a browser, navigate to the Anaconda installer at: https://www.anaconda.com/download/#linux . Click on "Download 2.7 Version". Now install in your home directory:

> bash Anaconda2-5.1.0-Linux-x86_64.sh 

Answer all the prompts, and then the installation begins. You will see a prompt:

Do you wish the installer to prepend the Anaconda2 install location
to PATH in your /home/potter/.bashrc ? [yes|no]
[no] >>> yes

Make sure to answer yes. Now logout and log back in. Do:

> python -V
Python 2.7.14 :: Anaconda, Inc.

To verify you have Anaconda python. Now source the following to enable some newer versions of tools:

> source /opt/rh/devtoolset-3/enable 

Now let's grab CheckMATE from the web, unpack it, configure it by letting it know where Root and Delphes are installed, and make (using all four cores):

> wget http://www.hepforge.org/archive/checkmate/CheckMATE-2.0.26.tar.gz
> tar -xvzf CheckMATE-2.0.26.tar.gz
> cd CheckMATE-2.0.26
> ./configure --with-rootsys=$ROOTSYS --with-delphes=/home/potter/Delphes-3.4.1
> make -j4

The make takes a few minutes. We test the installation on a test file provided with the package:

> cd bin
> ./CheckMATE -n example -ev=example_run_cards/auxiliary/testfile.hep -xs="1 fb"

You should get "Result: Allowed". Next week we'll generate a MSSM Higgs spectrum and test it against CheckMATE.