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_basics.rst
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,13 +29,13 @@ To get started, we simply clone the Spack repository and check out the latest re
29
29
:language: console
30
30
31
31
Next, we'll add Spack to our path.
32
-
Spack has some nice command-line integration tools, so instead of simply prepending to your ``PATH`` variable, source the Spack setup script.
32
+
Spack has some nice command-line integration tools, so instead of simply prepending to our ``PATH`` variable, we'll source the Spack setup script.
33
33
34
34
.. code-block:: console
35
35
36
36
$ . share/spack/setup-env.sh
37
37
38
-
You're good to go!
38
+
And now we're good to go!
39
39
40
40
-----------------
41
41
What is in Spack?
@@ -49,8 +49,8 @@ The ``spack list`` command shows available packages.
49
49
50
50
51
51
The ``spack list`` command can also take a query string.
52
-
Spack automatically adds wildcards to both ends of the string, or you can add your own wildcards.
53
-
For example, we can view all available Python packages.
52
+
Spack automatically adds wildcards to both ends of the string, or we can add our own wildcards for more advanced searches.
53
+
For example, let's view all available Python packages.
54
54
55
55
.. literalinclude:: outputs/basics/list-py.out
56
56
:language: console
@@ -61,7 +61,7 @@ Installing Packages
61
61
-------------------
62
62
63
63
Installing a package with Spack is very simple.
64
-
To install a piece of software simply type,
64
+
To install a software package type,
65
65
66
66
.. code-block:: console
67
67
@@ -72,21 +72,21 @@ Let's go ahead and install ``gmake``,
72
72
.. literalinclude:: outputs/basics/gmake.out
73
73
:language: console
74
74
75
-
You will see Spack installed ``gmake``, ``gcc-runtime``, and ``glibc``.
75
+
We see Spack installed ``gmake``, ``gcc-runtime``, and ``glibc``.
76
76
The ``glibc`` and ``gcc-runtime`` packages are automatically tracked by Spack to manage consistency requirements among compiler runtimes.
77
77
They do not represent separate software builds from source, but are records of the system's compiler runtime components Spack used for the install.
78
-
For the rest of this section, we will ignore these components and focus on the packages explicitly installed.
78
+
For the rest of this section, we'll ignore these components and focus on the packages explicitly installed.
79
79
80
80
Spack can install software either from source or from a binary cache.
81
81
Packages in the binary cache are signed with GPG for security.
82
-
For the tutorial we have prepared a binary cache so you don't have to wait on slow compilation from source.
83
-
To be able to install from the binary cache, we will need to configure Spack with the location of the binary cache and trust the GPG key that the binary cache was signed with.
82
+
For the tutorial we prepared a binary cache so we don't have to wait on slow compilation from source.
83
+
To enable installation from the binary cache, we'll need to configure Spack with the location of the cache and trust the GPG key that the cache was signed with.
84
84
85
85
.. literalinclude:: outputs/basics/mirror.out
86
86
:language: console
87
87
88
-
You'll learn more about configuring Spack later in the tutorial, but for now you will be able to install the rest of the packages in the tutorial from a binary cache using the same ``spack install`` command.
89
-
By default this will install the binary cached version if it exists and fall back on installing from source if it does not.
88
+
We'll learn more about configuring Spack later in the tutorial, but for now we will be able to install the rest of the packages in the tutorial from the cache using the same ``spack install`` command.
89
+
By default this will install the binary cached version if it exists and fall back to install the package from source if it does not.
90
90
91
91
Spack's "spec" syntax is the interface by which we can request specific configurations of a package.
0 commit comments