Skip to content

Installing Accera on MacOS

Installing on MacOS

Install dependencies

Accera requires the following tools and libraries for building the generated code:

  • A C++ compiler, such as clang, which is bundled in XCode
  • Python 3.7 or newer
  • OpenMP 5, if using parallelization

Homebrew is a package manager that makes it easy to install the prerequisites. Homebrew can be downloaded and installed by:

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

If you already have Homebrew installed, update it to the latest version by typing:

brew update

Install the dependencies:

brew install cmake python@3.7

Install the optional dependency if using parallelization:

brew install libomp

Clang

Select the clang compiler from XCode:

xcode-select --install

Install Accera

The accera Python package can be installed from PyPI:

pip install accera

Last update: 2023-04-17