2024-01-02 16:21:30 +08:00
|
|
|
.. Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
|
|
|
|
|
|
SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2013-12-10 12:17:08 +08:00
|
|
|
.. Spack documentation master file, created by
|
|
|
|
sphinx-quickstart on Mon Dec 9 15:32:41 2013.
|
|
|
|
You can adapt this file completely to your liking, but it should at least
|
|
|
|
contain the root `toctree` directive.
|
|
|
|
|
2016-08-24 06:03:29 +08:00
|
|
|
===================
|
2017-04-02 06:31:55 +08:00
|
|
|
Spack
|
2016-08-24 06:03:29 +08:00
|
|
|
===================
|
2013-12-10 12:17:08 +08:00
|
|
|
|
2013-12-19 03:02:31 +08:00
|
|
|
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
|
2016-03-12 02:51:45 +08:00
|
|
|
are written in pure Python, and specs allow package authors to
|
2015-04-15 06:11:01 +08:00
|
|
|
maintain a single file for many different builds of the same package.
|
2013-12-19 03:02:31 +08:00
|
|
|
|
|
|
|
See the :doc:`features` for examples and highlights.
|
2013-12-12 20:25:31 +08:00
|
|
|
|
2014-01-08 18:02:12 +08:00
|
|
|
Get spack from the `github repository
|
2017-11-05 08:08:04 +08:00
|
|
|
<https://github.com/spack/spack>`_ and install your first
|
2014-01-08 18:02:12 +08:00
|
|
|
package:
|
2013-12-12 20:25:31 +08:00
|
|
|
|
2016-08-27 05:41:00 +08:00
|
|
|
.. code-block:: console
|
2013-12-12 20:25:31 +08:00
|
|
|
|
2024-09-28 00:09:19 +08:00
|
|
|
$ git clone -c feature.manyFiles=true --depth=2 https://github.com/spack/spack.git
|
2013-12-12 20:25:31 +08:00
|
|
|
$ cd spack/bin
|
2014-01-08 18:02:12 +08:00
|
|
|
$ ./spack install libelf
|
2013-12-12 20:25:31 +08:00
|
|
|
|
2024-09-28 00:09:19 +08:00
|
|
|
.. 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.
|
|
|
|
|
2013-12-12 20:25:31 +08:00
|
|
|
If you're new to spack and want to start using it, see :doc:`getting_started`,
|
|
|
|
or refer to the full manual below.
|
|
|
|
|
2013-12-10 12:17:08 +08:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
2016-11-12 23:45:50 +08:00
|
|
|
:caption: Basics
|
2013-12-10 12:17:08 +08:00
|
|
|
|
2013-12-12 20:25:31 +08:00
|
|
|
features
|
|
|
|
getting_started
|
|
|
|
basic_usage
|
2022-03-18 17:41:27 +08:00
|
|
|
replace_conda_homebrew
|
2023-11-20 16:00:53 +08:00
|
|
|
frequently_asked_questions
|
2016-10-06 04:00:27 +08:00
|
|
|
|
2023-10-01 11:36:22 +08:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
:caption: Links
|
|
|
|
|
|
|
|
Tutorial (spack-tutorial.rtfd.io) <https://spack-tutorial.readthedocs.io>
|
|
|
|
Packages (packages.spack.io) <https://packages.spack.io>
|
|
|
|
Binaries (binaries.spack.io) <https://cache.spack.io>
|
|
|
|
|
2016-10-06 04:00:27 +08:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
2016-12-12 16:54:20 +08:00
|
|
|
:caption: Reference
|
2016-10-06 04:00:27 +08:00
|
|
|
|
2016-05-22 05:33:05 +08:00
|
|
|
configuration
|
2016-10-29 07:17:58 +08:00
|
|
|
config_yaml
|
2023-11-15 23:49:16 +08:00
|
|
|
packages_yaml
|
2016-10-29 07:17:58 +08:00
|
|
|
build_settings
|
2019-03-29 10:23:16 +08:00
|
|
|
environments
|
2020-01-31 09:19:55 +08:00
|
|
|
containers
|
2016-10-06 04:00:27 +08:00
|
|
|
mirrors
|
2016-10-31 03:41:41 +08:00
|
|
|
module_file_support
|
2016-12-12 16:54:20 +08:00
|
|
|
repositories
|
2017-08-17 04:58:09 +08:00
|
|
|
binary_caches
|
2023-11-15 23:49:16 +08:00
|
|
|
bootstrapping
|
2016-10-06 04:00:27 +08:00
|
|
|
command_index
|
2019-04-11 02:54:13 +08:00
|
|
|
chain
|
2019-05-17 08:27:42 +08:00
|
|
|
extensions
|
2020-01-22 14:35:18 +08:00
|
|
|
pipelines
|
2023-06-08 05:05:44 +08:00
|
|
|
signing
|
2023-08-27 06:46:25 +08:00
|
|
|
gpu_configuration
|
2016-10-06 04:00:27 +08:00
|
|
|
|
2016-11-12 23:45:50 +08:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
2016-12-12 16:54:20 +08:00
|
|
|
:caption: Contributing
|
2016-10-06 04:00:27 +08:00
|
|
|
|
2016-10-06 22:45:47 +08:00
|
|
|
contribution_guide
|
2016-10-06 04:00:27 +08:00
|
|
|
packaging_guide
|
2018-07-18 02:28:38 +08:00
|
|
|
build_systems
|
2016-10-06 04:00:27 +08:00
|
|
|
developer_guide
|
2018-06-26 18:28:49 +08:00
|
|
|
|
2024-11-08 00:47:07 +08:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
:caption: Testimonials
|
|
|
|
|
|
|
|
in_the_news
|
|
|
|
user_reports
|
|
|
|
|
2018-06-26 18:28:49 +08:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
:caption: API Docs
|
|
|
|
|
2017-04-26 13:24:02 +08:00
|
|
|
Spack API Docs <spack>
|
|
|
|
LLNL API Docs <llnl>
|
2013-12-10 12:17:08 +08:00
|
|
|
|
2016-08-24 06:03:29 +08:00
|
|
|
==================
|
2013-12-10 12:17:08 +08:00
|
|
|
Indices and tables
|
|
|
|
==================
|
|
|
|
|
|
|
|
* :ref:`genindex`
|
|
|
|
* :ref:`modindex`
|
|
|
|
* :ref:`search`
|