-
Notifications
You must be signed in to change notification settings - Fork 0
Setup
tachukao edited this page Oct 15, 2019
·
7 revisions
The instructions below are currently written for Mac OSX, though procedure should be similar in Linux.
The following procedure will install most packages inside a
utils folder in the home directory.
brew install opam
opam init
eval $(opam env)
opam switch create 4.08.1+flambda
eval $(opam env)
opam install utop merlin brew install openblas
brew install plplot
cd ~
mkdir utils
cd utils
git clone https://github.com/owlbarn/owl
cd owl
opam pin .cd ~/utils
curl -SL https://computing.llnl.gov/projects/sundials/download/sundials-3.1.1.tar.gz | tar -xf - -C .
cd sundials-3.1.1
mkdir sundials-build
cd sundials-build
cmake -Wno-dev ../../sundials-3.1.1
sudo make install
opam install sundialsml
cd ~/utils
git clone https://github.com/owlbarn/owl_ode
cd owl_ode
opam pin .opam install lbfgs
cd ~/utils
git clone https://github.com/owlbarn/owl_opt
cd owl_opt
opam pin .Install jupyter notebook with python package manager pip or conda.
opam install jupyter
jupyter kernelspec install --name ocaml-jupyter ~/.opam/4.08.1+flambda/share/jupyterbrew install gnuplot
cd ~/utils
git clone https://github.com/hennequin-lab/gp
cd gp
opam pin .
cd ~/utils
git clone https://github.com/hennequin-lab/juplot
opam pin .cd ~/utils
git clone https://github.com/Gnuplotting/gnuplot-palettes
echo "set loadpath '~/utils/gnuplot-palette'" >> ~/.gnuplot