3.143.235.104

ASPECT Jupyter Notebooks

By Rene Gassmoeller

Contains ASPECT Jupyter notebooks

Launch Tool

You must login before you can run this tool.

Version 1.0 - published on 12 Oct 2023

Open source: license | download

View All Supporting Documents

Published on

Description

This tool contains an installed version of ASPECT, the Advanced Solver for Problems in Earth's ConvecTion in a JupyterLab environment. ASPECT example models and data are located in directories defined in the environment variables $ASPECT_DIR and $ASPECT_SOURCE_DIR. ASPECT models can be started using the notebook command:

! aspect $ASPECT_SOURCE_DIR/cookbooks/convection-box/convection-box.prm

The executable "aspect" uses a debug version of ASPECT, the executable "aspect-release" uses an optimized version of ASPECT (for an explanation of the difference see https://aspect-documentation.readthedocs.io/en/latest/user/run-aspect/run-faster/debug-vs-optimized.html). All benchmark and cookbook plugins are available and precompiled, however if the path to shared libraries in the parameter file of the model is given as a relative path (e.g. starting with ../) the cookbooks directory needs to be copied to the user directory to be executable:

! cp -r $ASPECT_SOURCE_DIR/cookbooks/free-surface-with-crust .
! cd free-surface-with-crust
! aspect free-surface-with-crust.prm

See https://geodynamics.org/resources/aspect for more details about ASPECT.

Tags