All HEP software will installed under /usr/local/. Therefore please make sure you have Read&Write permission to the directory, by checking info of the folder.


ruby -e "$(curl -fsSL"

This will create homebrew in /usr/local/. After this installation, install

brew install pcre     # Regular Expressions library
brew install fftw     # Fast Fourier Transform
brew install openssl  # openSSL security cyber-communication library
brew install cmake    # Cross-platform make

Openssl is not nessary and has already been included in the MacOS EL Captain. However, when installing root, libssl.1.0.0.dylib (a higher version than system inbuilt) is required by root 6. Therefore I have to copy the usr/local/Cellar/openssl/lib/libssl.1.0.0.dylib to $ROOTSYS/lib


After download hepMC, a pythia 8 outputing format writer.

/configure --prefix=/usr/local/hepmc --with-momentum=GEV --with-length=MM
make install

anaconda 2

This install anaconda python. Please do anaconda 2, because rootpy so far only support python 2.


$ export INSTALL_DIR=/usr/local/root
$ mkdir $INSTALL_DIR
$ cmake ~/Desktop/root -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -Droofit=ON -Dcocoa=ON -Dpython=ON
$ make -j 4
$ make install
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2016-10-03 - ZihengChen
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback