MacOS

The following explains how to get going on MacOS. You need some extra packages to build Bohrium from source.

You need to install the Xcode Developer Tools package, which is found in the App Store.

Install with Homebrew

Start by installing Homebrew as explained on their website

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

Then install Bohrium:

pip install cython # This dependency cannot be installed via brew.
brew tap bh107/bohrium
brew tap homebrew/science # for clblas and the likes
brew install bohrium # you can add additional options, see `brew info bohrium`

Check the current runtime stack:

python -c "import bohrium as bh; print(bh.bh_info.runtime_info())"

Manual install from source

TODO.