Prerequisites


XCode, command line tools and git & github account

  • See here for a step by step instructions for XCode and command line tools
  • Install homebrew and git:

Homebrew

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew doctor

More packages we will use

$ brew update
$ brew install git
$ brew install cmake
$ brew install gcc
$ brew install boost --build-from-source

GitHub

  • Open a free account on https://github.com
  • I recommend installing GUI software for interactions with Git: SourceTree
  • In the next section<user> with yout GitHub username

HepSoft


If you do not have ROOT (including CMake things)

  • ROOT@CERN
  • install_all.sh will install a fixed version of ROOT and FastJet
  • the installed packages land in $HOME/software/hepsoft by default
$ mkdir -p $HOME/devel
$ cd $HOME/devel
$ git clone https://github.com/<user>/hepsoft
$ cd hepsoft
$ ./bin/build.sh --all --download --build --module

OR for the last command (note you can go one by one... better visibility as of what really went ok...):

$ ./bin/build.sh cmake boost cgal hepmc lhapdf fastjet fastjet_contrib root pythia8 --download --build --module

If you do have ROOT

  • Make sure the environment is setup...
$ ./bin/build.sh hepmc lhapdf fastjet fastjet_contrib pythia8 --download --build --module

First steps with PYTHIA + ROOT


  • IF the above works try this