SLEPC_DIR=/usr/lib/slepc
PETSC_DIR=/usr/lib/petsc
echo "Running slepc4py demos using SLEPC_DIR=${SLEPC_DIR} PETSC_DIR=${PETSC_DIR}"

# test demos as installed
cp -r /usr/share/doc/python-slepc4py-doc/examples/demo test-demos
gunzip -r test-demos

echo "Run demos (single processor) with python3"
make SLEPC_DIR=${SLEPC_DIR} PETSC_DIR=${PETSC_DIR} PYTHON=python3 -C test-demos
