Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
89 lines (67 sloc) 2.61 KB

Tutorial: Spack 101

This is a full-day introduction to Spack with lectures and live demos. It was last presented at Supercomputing 2019 on November 18, 2019.

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-SC19-Tutorial.pdf>`.

Full citation: Todd Gamblin, Gregory Becker, Massimiliano Culpo, Mario Melara, Peter Scheibel, and Adam J. Stewart. Managing HPC Software Complexity with Spack. Tutorial presented at Supercomputing 2019 (SC'19) November 18, 2019. Denver, CO, USA.

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. 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.
  2. 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:

  1. :ref:`basics-tutorial`
  2. :ref:`configs-tutorial`
  3. :ref:`packaging-tutorial`
  4. :ref:`developer-workflows-tutorial`
  5. :ref:`environments-tutorial`
  6. :ref:`stacks-tutorial`
  7. :ref:`modules-tutorial`
  8. :ref:`build-systems-tutorial`
  9. :ref:`advanced-packaging-tutorial`
  10. :ref:`spack-scripting-tutorial`

Full contents:

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

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

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

   tutorial_basics
   tutorial_configuration
   tutorial_packaging
   tutorial_developer_workflows
   tutorial_environments
   tutorial_stacks
   tutorial_modules
   tutorial_buildsystems
   tutorial_advanced_packaging
   tutorial_spack_scripting
You can’t perform that action at this time.