Skip to content
David Ketcheson edited this page Mar 21, 2017 · 8 revisions

Dependencies

  • matplotlib
  • numpy
  • clawpack, including the bleeding edge version of clawpack.riemann
  • jupyter
  • ipywidgets
  • mpl_toolkits
  • equation-numbering nbextension

Installation

First, install a Fortran compiler. Then:

git clone --branch=master --depth=100 --quiet git://github.com/clawpack/clawpack
cd clawpack
git submodule init
git submodule update clawutil visclaw riemann
cd riemann
git checkout master
git pull # get very latest Riemann
cd ..
python setup.py install
cd ..
git clone https://github.com/clawpack/riemann_book
cd riemann_book
pip install -r requirements.txt
jupyter nbextension enable --py widgetsnbextension
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
jupyter nbextension enable equation-numbering/main

You can test your installation by running

python test.py
Clone this wiki locally