Tutorial: Spack 101¶
This is a half-day introduction to Spack with lectures and live demos. It was last presented as a virtual event at the ISC 2021 conference.
If you are looking for the most recent full day tutorial, visit the page for the ECPAM 2021 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.
Slides

Full citation: Gregory Becker, Massimiliano Culpo, Todd Gamblin, Tamara Dahlgren, and Michael Kuhn. Managing HPC Software Complexity wiht Spack. ISC-HPC 2021. Virtual event. June 24, 2021.
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:
- We provide the spack/tutorial container image on Docker Hub that you can use to do the tutorial on your local machine. You can invoke
docker run -it spack/tutorial
to start using the container.- When we host the tutorial, we also provision VM instances in AWS, so that users who are unfamiliar with Docker can simply log into a VPM to do the demo exercises.
You should now be ready to run through our demo scripts:
Other sections are also available, though we are skipping them for this half-day format:
Full contents:
Links
Tutorial
- Basic Installation Tutorial
- Environments Tutorial
- Configuration Tutorial
- Package Creation Tutorial
- Developer Workflows Tutorial
- Mirror Tutorial
- Stacks Tutorial
- Scripting with Spack
- Module Files Tutorial
- Spack Package Build Systems
- Advanced Topics in Packaging