Tutorials#

MUSICA offers a series of tutorial snippets in Fortran as well as tutorial notebooks in Python that guide users from simple workflows to more advanced simulations, both available here.

Fortran#

  1. installing MUSICA

  2. first Fortran MUSICA program

  3. box model example

  4. multiple grid cells box model

Python#

The Python tutorials are written in Jupyter Notebooks and made available in multiple formats below for ease of access.

Interactive Notebooks#

The MUSICA repository utilizes Binder to allow users to interact with the tutorial notebooks on a JupyterHub. Please note that our Binder page uses the latest version of MUSICA pushed to main as opposed to the latest release. Each of the links below will open a JupyterHub set up with all necessary dependencies to run each tutorial:

  1. working with multiple grid cells

  2. latin hypercube sampling

  3. user-defined reactions

  4. local paralellization

  5. HPC parallelization

  6. using GPU solvers

  7. using CARMA

GitHub#

For users that wish to directly download local copies of the tutorial notebooks, they are each made available on our GitHub within the tutorials folder. Each notebook is also linked below:

  1. multiple grid cells notebook

  2. hypercube sampling notebook

  3. user-defined reactions notebook

  4. local parallelization notebook

  5. HPC parallelization notebook

  6. GPU solvers notebook

  7. CARMA notebook

Web View#

The tutorial notebooks are also included here in the documentation for convenient online browsing.