You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorial_environments.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,8 @@ So far in this tutorial, we've covered the basic commands for managing individua
19
19
.. Customizing Spack's installation with configuration files, like
20
20
`packages.yaml <https://spack.readthedocs.io/en/latest/build_settings.html#build-settings>`_, was also discussed.
21
21
22
-
Now we'll explore Spack Environments, a powerful feature that lets us manage collections of packages together in a documented and reproducible way.
23
-
Spack environments are similar to *virtual environments* in other package managers (e.g., `Python venv <https://docs.python.org/3/library/venv.html>`_, `Conda Environments<https://docs.conda.io/projects/conda/en/stable/user-guide/getting-started.html>`_, or `nix-env <https://nix.dev/manual/nix/2.24/command-ref/nix-env>`_).
22
+
Now we'll explore Spack environments, a powerful feature that lets us manage collections of packages together in a documented and reproducible way.
23
+
Spack environments are similar to *virtual environments* in other package managers (e.g., `Python venv <https://docs.python.org/3/library/venv.html>`_, `Conda environments<https://docs.conda.io/projects/conda/en/stable/user-guide/getting-started.html>`_, or `nix-env <https://nix.dev/manual/nix/2.24/command-ref/nix-env>`_).
24
24
25
25
Managing a software stack with many packages and varying configuration can quickly become hard to track by hand.
Copy file name to clipboardExpand all lines: tutorial_stacks.rst
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ Our goal is to install ``netlib-scalapack`` compiled with ``gcc@16``, which is n
20
20
21
21
- two MPI libraries (``openmpi`` and ``mpich``)
22
22
- two LAPACK providers (``openblas`` and ``netlib-lapack``)
23
+
23
24
We'll also install ``py-scipy`` linked against ``openblas``.
24
25
25
26
We'll first focus on how to configure and install the software correctly.
@@ -79,7 +80,7 @@ Spec groups offer a better tool: the ``override`` block, which scopes any Spack
79
80
:language: yaml
80
81
:emphasize-lines: 11-18,23-30
81
82
82
-
Here we used it to set compiler preferences at the language level, once for each group:
83
+
Here we used the ``override`` block to set compiler preferences at the language level, once for each group:
83
84
84
85
1. The ``compiler`` group prefers ``gcc@15``
85
86
2. The ``stack`` group prefers ``gcc@16``
@@ -282,7 +283,7 @@ Alternatively, to create a buildcache you can:
282
283
$ spack gpg create <name> <e-mail>
283
284
$ spack buildcache push ./mirror
284
285
285
-
Don't forget to set an appropriate value for the padding of the install tree, see `how to setup relocation <https://spack.readthedocs.io/en/latest/binary_caches.html#relocation>`_ in our documentation.
286
+
Don't forget to set an appropriate value for the padding of the install tree; see `how to set up relocation <https://spack.readthedocs.io/en/latest/binary_caches.html#relocation>`_ in our documentation.
286
287
287
288
--------------------------
288
289
Multiple Filesystem Views
@@ -372,7 +373,7 @@ Let's check the generated module files:
372
373
:language: console
373
374
374
375
The set of modules is already usable, and the hierarchy already works.
375
-
For instance, we can load the ``gcc`` compiler and check that we have ``gcc`` in our path and a lot of modules available, all compiled with ``gcc@16``:
376
+
For instance, we can load the ``gcc`` compiler and check that ``gcc`` is in our path and that many modules are available, all compiled with ``gcc@16``:
0 commit comments