Spack¶
These are docs for the Spack package manager. For sphere packing, see pyspack.
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 https://github.com/spack/spack.git
$ cd spack/bin
$ ./spack install libelf
If you’re new to spack and want to start using it, see Getting Started, or refer to the full manual below.
Reference
Contributing
- Contribution Guide
- Packaging Guide
- Creating & editing packages
- Naming & directory structure
- Trusted Downloads
- Versions and fetching
- Finding new versions
- Fetching from code repositories
- Resources (expanding extra tarballs)
- Licensed software
- Patches
- Handling RPATHs
- Parallel builds
- Dependencies
- Conflicts
- Extensions
- Virtual dependencies
- Abstract & concrete specs
- Conflicting Specs
- Implementing the installation procedure
- The build environment
- Spec objects
- Compiler wrappers
- MPI support in Spack
- Checking an installation
- File manipulation functions
- Style guidelines for packages
- Packaging workflow commands
- Graphing dependencies
- Interactive shell support
- Developer Guide
- Spack API Docs
- Subpackages
- Submodules
- spack.abi module
- spack.architecture module
- spack.binary_distribution module
- spack.build_environment module
- spack.compiler module
- spack.concretize module
- spack.config module
- spack.database module
- spack.dependency module
- spack.directives module
- spack.directory_layout module
- spack.environment module
- spack.error module
- spack.fetch_strategy module
- spack.file_cache module
- spack.filesystem_view module
- spack.graph module
- spack.main module
- spack.mirror module
- spack.multimethod module
- spack.package module
- spack.package_prefs module
- spack.package_test module
- spack.parse module
- spack.patch module
- spack.provider_index module
- spack.relocate module
- spack.report module
- spack.repository module
- spack.resource module
- spack.spec module
- spack.stage module
- spack.store module
- spack.tengine module
- spack.url module
- spack.variant module
- spack.version module
- Module contents
- LLNL API Docs