Skip to content

Latest commit

 

History

History
105 lines (75 loc) · 2.75 KB

index.rst

File metadata and controls

105 lines (75 loc) · 2.75 KB

Tutorial: Spack 101

This is an introduction to Spack with lectures and live demos. It was last presented at the HPCIC 2024 HPC Tutorials, August 6th, 2024. The event was two online half-day tutorials.

You can use these materials to teach a course on Spack at your own site, or you can just skip ahead and read the live demo scripts to see how Spack is used in practice.

Slides

Slide Preview

:download:`Download Slides <_static/slides/spack-hpcic24-tutorial-slides.pdf>`.

Full citation: Todd Gamblin, Gregory Becker, Alec Scott. Managing HPC Software Complexity with Spack. HPCIC Tutorials 2024, Livermore, California. July 22, 2024.

Video

For the last video of a Spack tutorial like this one, see the AWS/RADIUSS 2023 version

Live Demos

We provide scripts that take you step-by-step through basic Spack tasks. They correspond to sections in the slides above.

To run through the scripts, we provide the spack/tutorial container image. You can invoke

$ docker pull ghcr.io/spack/tutorial:hpcic24
$ docker run -it ghcr.io/spack/tutorial:hpcic24

to start using the container. You should now be ready to run through our demo scripts:

  1. :ref:`basics-tutorial`
  2. :ref:`environments-tutorial`
  3. :ref:`configs-tutorial`
  4. :ref:`packaging-tutorial`
  5. :ref:`stacks-tutorial`
  6. :ref:`developer-workflows-tutorial`
  7. :ref:`binary-cache-tutorial`
  8. :ref:`spack-scripting-tutorial`

Other sections from past tutorials are also available, although they may not be kept up-to-date as frequently:

  1. :ref:`modules-tutorial`
  2. :ref:`build-systems-tutorial`
  3. :ref:`advanced-packaging-tutorial`

Full contents:

.. toctree::
   :maxdepth: 2
   :caption: Links

   Main Spack Documentation <https://spack.readthedocs.io>

.. toctree::
   :maxdepth: 3
   :caption: Tutorial

   tutorial_basics
   tutorial_environments
   tutorial_configuration
   tutorial_packaging
   tutorial_stacks
   tutorial_developer_workflows
   tutorial_binary_cache
   tutorial_spack_scripting

.. toctree::
   :maxdepth: 3
   :caption: Additional sections

   tutorial_modules
   tutorial_buildsystems
   tutorial_advanced_packaging