Spack builds and installs many versions and configurations of packages on Linux, macOS, Windows, and large HPC systems.
Overview
Spack is a package manager aimed at scientific and high-performance computing workflows. It can keep multiple builds of the same software on one machine without overwriting existing installations, so teams can mix compilers, variants, and dependency graphs side by side.
Users describe desired builds with a spec syntax, while package recipes are plain Python. Authors can target many build combinations from one recipe, which helps sites standardize stacks across laptops, clusters, and CI.
Documentation covers installation, configuration, tutorials, and packaging guidance. Stable release branches are maintained for deployments that need predictable concretization, while develop tracks newer packages and fixes.
The project is community-driven with discussion forums, Slack, and contribution workflows split between core Spack and the spack-packages recipe repository.
Key features
- Non-destructive multi-version installs
- Python package recipes
- Spec-based configuration
- Linux macOS and Windows support
- HPC and supercomputer use
- Stable release branches
- Hands-on tutorial materials
- Community package collection
Use cases
- Managing HPC software stacks
- Building multiple compiler variants
- Teaching scientific computing setups
- CI builds with reproducible specs
- Site-wide package deployments