Skip to content
Randall J. LeVeque edited this page Mar 13, 2018 · 8 revisions

Dependencies

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

Additional dependencies to create the pdf version:

  • bookbook
  • jupyter_contrib_nbextensions

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