Skip to content
Randall J. LeVeque edited this page Jul 5, 2020 · 8 revisions

Dependencies

  • Fortran compiler, e.g. gfortran
  • matplotlib
  • numpy
  • clawpack version 5.6.0 or later
  • 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:

pip install clawpack
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