spatial-ecology-accelerate
Installation: Haskell & Accelerate
-
Download the Haskell build tool
stack
-
Install LLVM-8, this is a dependency of Accelerate
- macOS: This can be obtained from via Homebrew:
brew install llvm-hs/llvm/llvm-8
- debian/ubuntu: Available via apt:
apt-get install llvm-8
-
Finally, enter the following command:
stack build
This will download and build everything. It will take a while; go get a coffee and/or delicious pastry while you wait.
Installation: IHaskell/Jupyter (optional)
-
Install Jupyter. The recommended method is to use the Anaconda Distribution, which includes Python and several commonly used packages. Make sure this version of
python3
is the first one on yourPATH
. -
You may need to install a few extra dependencies (for example):
- macOS:
brew install zeromq cairo pango
- debian/ubuntu:*
apt-get install libzmq3-dev libcairo2-dev libpango1.0-dev
-
Build the
ihaskell
toolstack install ihaskell
-
Install IHaskell into Jupyter
ihaskell install --stack
You can now open Haskell-based notebooks through the usual
jupyter notebook
command.
Running
TODO