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_configuration.rst
+22-22Lines changed: 22 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,30 +24,30 @@ A partial list of some key configuration sections is provided below.
24
24
* - config
25
25
- General settings (install location, number of build jobs, etc)
26
26
* - concretizer
27
-
- Specializaiton of the concretizer behavior (reuse, unification, etc)
27
+
- Specialization of the concretizer behavior (reuse, unification, etc)
28
28
* - compilers
29
29
- Define the compilers that Spack can use (required and system specific)
30
30
* - mirrors
31
-
- Locations where spack can look for stashed source or binary distributions
31
+
- Locations where Spack can look for stashed source or binary distributions
32
32
* - packages
33
33
- Specific settings and rules for packages
34
34
* - modules
35
35
- Naming, location and additional configuration of Spack generated modules
36
36
37
37
The full list of sections can be viewed with ``spack config list``.
38
-
For further education we encourage you to explore the spack `documentation on configuration files <https://spack.readthedocs.io/en/latest/configuration.html#configuration-files>`_.
38
+
For more details, we encourage you to explore the Spack `documentation on configuration files <https://spack.readthedocs.io/en/latest/configuration.html#configuration-files>`_.
39
39
40
-
The principle goals of this section of the tutorial are:
40
+
The principal goals of this section of the tutorial are:
41
41
42
42
1. Introduce the configuration sections and scope hierarchy
43
43
2. Demonstrate how to manipulate configurations
44
-
3. Show how to configure system assets with spack (compilers and packages)
44
+
3. Show how to configure system assets with Spack (compilers and packages)
45
45
46
-
As such we will primarily focus on the ``compilers`` and ``packages`` configuration sections in this portion of the tutorial.
46
+
As such, we will primarily focus on the ``compilers`` and ``packages`` configuration sections in this portion of the tutorial.
47
47
48
48
We will explain this by first covering how to manipulate configurations from the command line and then show how this impacts the configuration file hierarchy.
49
49
We will then move into compiler and package configurations to help you develop skills for getting the builds you want on your system.
50
-
Finally, we will give some brief attention to more generalized spack configurations in the ``config`` section.
50
+
Finally, we will give some brief attention to more generalized Spack configurations in the ``config`` section.
51
51
52
52
For all of these features, we will demonstrate how we build up a full configuration file.
53
53
For some, we will then demonstrate how the configuration affects the install command, and for others we will use the ``spack spec`` command to demonstrate how the configuration changes have affected Spack's concretization algorithm.
@@ -58,7 +58,7 @@ Configuration from the command line
58
58
-----------------------------------
59
59
60
60
You can run ``spack config blame [section]`` at any point in time to see what your current configuration is.
61
-
If you omit the section then spack will dump all the configurations settings to your screen.
61
+
If you omit the section, Spack will show all configuration settings.
62
62
Let's go ahead and run this for the ``concretizer`` section.
63
63
64
64
.. code-block:: console
@@ -80,10 +80,10 @@ If we rerun ``spack config blame concretizer`` we can see that the change was ap
80
80
81
81
$ spack config blame concretizer
82
82
83
-
Notice that the reference file on for this option is now different.
84
-
This indicates the scope where the configuration was set in, and we will discuss how spack chooses the default scope shortly.
83
+
Notice that the reference file for this option is now different.
84
+
This indicates the scope where the configuration was set, and we will discuss how Spack chooses the default scope shortly.
85
85
For now, it is important to note that the ``spack config`` command accepts an optional ``--scope`` flag so we can be more precise in the configuration process.
86
-
This will make more sense after the next section which provides the definition of spack's configuration scopes and their hierarchy.
86
+
This will make more sense after the next section, which provides the definition of Spack's configuration scopes and their hierarchy.
87
87
88
88
.. _configs-tutorial-scopes:
89
89
@@ -131,14 +131,14 @@ Some facilities manage multiple platforms from a single shared file system.
131
131
In order to handle this, each of the configuration scopes listed above has two *sub-scopes*: platform-specific and platform-independent.
132
132
For example, compiler settings can be stored in the following locations:
0 commit comments