Skip to content

Latest commit

 

History

History
92 lines (67 loc) · 2.65 KB

index.rst

File metadata and controls

92 lines (67 loc) · 2.65 KB

Tutorial: Spack 101

This is an introduction to Spack with lectures and live demos. It was last presented as a hybrid event at CINECA as Managing HPC Software Complexity with Spack February 13, 2023. There is a full day of material here, along with extra sections beyond what was presented during the 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

Slide Preview

Download Slides <_static/slides/spack-cineca23-tutorial-slides.pdf>.

Full citation: Massimiliano Culpo and Harmen Stoppels. Managing HPC Software Complexity with Spack. CINECA - ADMIRE 2023. Casalecchio di Reno (BO), Italy, February 13, 2023.

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

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

  1. basics-tutorial
  2. environments-tutorial
  3. configs-tutorial
  4. packaging-tutorial
  5. binary-cache-tutorial
  6. stacks-tutorial
  7. developer-workflows-tutorial

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

  1. modules-tutorial
  2. build-systems-tutorial
  3. advanced-packaging-tutorial
  4. spack-scripting-tutorial

Full contents:

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

tutorial_basics tutorial_environments tutorial_configuration tutorial_packaging tutorial_binary_cache tutorial_stacks tutorial_developer_workflows tutorial_spack_scripting tutorial_modules tutorial_buildsystems tutorial_advanced_packaging