Tutorial: Spack 101

This is an introduction to Spack with lectures and live demos. It was last presented as a virtual event at SC22 as Managing HPC Software Complexity with Spack November 13, 2022. There is a full day of material here, along with extra sections beyond what was presented at the SC22 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, Tamara Dahlgren, Adam J. Stewart, and Harmen Stoppels. Managing HPC Software Complexity with Spack. Supercomputing 2022 (SC’22). Dallas, TX, November 13, 2022.

Live Demos

We provide scripts that take you step-by-step through basic Spack tasks. They correspond to sections in the slides above. You can use one of the following methods to run through the scripts:

  1. When we host the tutorial, we provision VM instances in AWS, so that users who are unfamiliar with Docker can simply log into a VPM to do the demo exercises.
  2. We also provide the spack/tutorial container image that you can use to do the tutorial on your local machine. You can invoke docker run -it ghcr.io/spack/tutorial 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: