-- ZihengChen - 2016-09-21

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 https://raw.githubusercontent.com/Homebrew/install/master/install)"

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

This topic: Sandbox > TWikiUsers > ZihengChen > MyDiary > 09212016
Topic revision: r2 - 2016-10-03 - ZihengChen
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