Spack

Spack is a package management tool designed to support multiple versions and configurations of software on a wide variety of platforms and environments. It was designed for large supercomputing centers, where many users and application teams share common installations of software on clusters with exotic architectures, using libraries that do not have a standard ABI. Spack is non-destructive: installing a new version does not break existing installations, so many configurations can coexist on the same system.

Most importantly, Spack is simple. It offers a simple spec syntax so that users can specify versions and configuration options concisely. Spack is also simple for package authors: package files are written in pure Python, and specs allow package authors to maintain a single file for many different builds of the same package.

See the Feature Overview for examples and highlights.

Get spack from the github repository and install your first package:

$ git clone -c feature.manyFiles=true --depth=2 https://github.com/spack/spack.git
$ cd spack/bin
$ ./spack install libelf

Note

-c feature.manyFiles=true improves git’s performance on repositories with 1,000+ files.

--depth=2 prunes the git history to reduce the size of the Spack installation.

If you’re new to spack and want to start using it, see Getting Started, or refer to the full manual below.

Reference

Contributing

API Docs

Indices and tables