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
- Configuration Files
- Basic Settings
- Build Customization
- Environments
- Mirrors
- Modules
- Package Repositories
- Build Caches
- Command Reference
- spack
- spack activate
- spack add
- spack arch
- spack blame
- spack bootstrap
- spack build
- spack build-env
- spack buildcache
- spack cd
- spack checksum
- spack clean
- spack clone
- spack commands
- spack compiler
- spack compilers
- spack concretize
- spack config
- spack configure
- spack create
- spack deactivate
- spack debug
- spack dependencies
- spack dependents
- spack deprecate
- spack dev-build
- spack diy
- spack docs
- spack edit
- spack env
- spack extensions
- spack fetch
- spack find
- spack flake8
- spack gpg
- spack graph
- spack help
- spack info
- spack install
- spack license
- spack list
- spack load
- spack location
- spack log-parse
- spack maintainers
- spack mirror
- spack module
- spack patch
- spack pkg
- spack providers
- spack pydoc
- spack python
- spack reindex
- spack release-jobs
- spack remove
- spack repo
- spack resource
- spack restage
- spack setup
- spack spec
- spack stage
- spack test
- spack uninstall
- spack unload
- spack upload-s3
- spack url
- spack verify
- spack versions
- spack view
- Package List
- Chaining Spack Installations
- Custom Extensions
Contributing
- Contribution Guide
- Packaging Guide
- Creating & editing packages
- Naming & directory structure
- Trusted Downloads
- Versions and fetching
- Finding new versions
- Fetching from code repositories
- Variants
- Resources (expanding extra tarballs)
- Licensed software
- Patches
- Handling RPATHs
- Parallel builds
- Dependencies
- Conflicts
- Extensions
- Views
- 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
- Build Systems
- Developer Guide
- Docker for Developers
API Docs
- Spack API Docs
- Subpackages
- Submodules
- spack.abi module
- spack.architecture module
- spack.binary_distribution module
- spack.build_environment module
- spack.caches 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.extensions module
- spack.fetch_strategy module
- spack.filesystem_view module
- spack.graph module
- spack.hash_types module
- spack.main module
- spack.mirror module
- spack.mixins module
- spack.multimethod module
- spack.package module
- spack.package_prefs module
- spack.package_test module
- spack.parse module
- spack.patch module
- spack.paths module
- spack.pkgkit module
- spack.provider_index module
- spack.relocate module
- spack.repo module
- spack.report module
- spack.reporter module
- spack.resource module
- spack.s3_handler module
- spack.spec module
- spack.spec_list module
- spack.stage module
- spack.store module
- spack.tengine module
- spack.url module
- spack.variant module
- spack.verify module
- spack.version module
- Module contents
- LLNL API Docs