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
- Useful pages: brew.sh
- Install...
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" $ brew doctor
More packages we will use
- Git https://git-scm.com
- CMake https://cmake.org
- gfortan (part of gcc these days)
- Boost http://www.boost.org
$ 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
- Fork https://github.com/matplo/hepsoft
- Clone and try to follow the installation instructions - note: below we assume things land in
$HOME/devel
- HepMC - note, we will use a 2.X version - not the newest (to be updated)
- Pythia8 Pythia8.2 online documentation
- LHAPDF - note we are also using a rather older version 5.9.1 (this is why we need gfortran)
- FASTJET
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