Skip to content

Installation

Julian Berengut edited this page Oct 19, 2017 · 1 revision

Installing on Mac OSX

We recommend using the homebrew package manager. In the standard XCode installation gcc defaults to clang and does not support OpenMP. To support OpenMP, you can use gcc 7+. The boost library should be built with this compiler, as shown below.

  1. Install homebrew.
  2. brew install gcc
  3. brew install boost --c++11 --cc=gcc-7
  4. Navigate to the AMBiT root directory type 'cp config_template.ini config.ini'
  5. Change the CXX compiler from g++ to g++-7
  6. Type 'scons'
Clone this wiki locally