1. Install Pip
sudo apt install python3-pip
2. Redirect Python to Python3
sudo ln -s /usr/bin/python3 /usr/bin/python
3. Install Fortran compiler
sudo apt install gfortran
4. Install OpenMP libraries
sudo apt install libomp-dev
5. Install Clawpack
pip install --src=$HOME/clawpack_src --user -e \
6. Set environment variables - open .bashrc in the home directory using a text editor and add these lines at the end:
export CLAW=$HOME/clawpack_src/clawpack-v5.7.0export FC=gfortran
7. Navigate to a Geoclaw example (i.e. Ike) and open Makefile in a text editor. Change the line starting with FFLAGS to:
FFLAGS ?= -O2 -fopenmp
8. Open a command prompt in this example directory and run:
make all
9. Open _plots/_PlotIndex.html