Tutorial: Spack 101

This is an introduction to Spack with lectures and live demos. It was last presented at the ACM-REP 2024 Conference, June 18, 2024. The event was a half-day tutorial.

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.


Slide Preview

Download Slides.

Full citation: Todd Gamblin, Gregory Becker, Massimiliano Culpo, Adam Stewart, and Harmen Stoppels. Managing HPC Software Complexity with Spack. ACM-REP 2024, Rennes, France. June 18, 2024.


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:isc24
$ docker run -it ghcr.io/spack/tutorial:isc24

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

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

Full contents:


Additional sections