Basic Installation Tutorial

This tutorial will guide you through the process of installing software using Spack. We will first cover the spack install command, focusing on the power of the spec syntax and the flexibility it gives to users. We will also cover the spack find command for viewing installed packages and the spack uninstall command for uninstalling them. Finally, we will touch on how Spack manages compilers, especially as it relates to using Spack-built compilers within Spack. We will include full output from all of the commands demonstrated, although we will frequently call attention to only small portions of that output (or merely to the fact that it succeeded). The provided output is all from an Ubuntu 22.04 Docker image.

Installing Spack

Spack works out of the box. Simply clone Spack to get going. We will clone Spack and immediately check out the most recent release, v0.22.

$ git clone --depth=100 --branch=releases/v0.22 https://github.com/spack/spack.git ~/spack
Cloning into '/home/spack/spack'...
remote: Enumerating objects: 21332, done.K
remote: Counting objects: 100% (21332/21332), done.K
remote: Compressing objects: 100% (11578/11578), done.K
remote:nTotale21332 (delta12394),3reused016051i(delta.1860),/pack-reused 0K
Receiving objects: 100% (21332/21332), 14.07 MiB | 22.27 MiB/s, done.
Resolving deltas: 100% (2394/2394), done.
$ cd ~/spack

Next, add Spack to your path. Spack has some nice command-line integration tools, so instead of simply prepending to your PATH variable, source the Spack setup script.

$ . share/spack/setup-env.sh

You’re good to go!

What is in Spack?

The spack list command shows available packages.

$ spack list
3dtk
3proxy
7zip
abacus
abduco

The spack list command can also take a query string. Spack automatically adds wildcards to both ends of the string, or you can add your own wildcards. For example, we can view all available Python packages.

$ spack list 'py-*'
py-3to2 				  py-mypy
py-4suite-xml				  py-mypy-extensions
py-a2wsgi				  py-mysql-connector-python
py-abcpy				  py-mysqlclient
py-abipy				  py-mysqldb1

Installing Packages

Installing a package with Spack is very simple. To install a piece of software simply type,

$ spack install <package_name>

Let’s go ahead and install gmake,

$ spack install gmake
[+] /usr (external glibc-2.35-a7drdl4tlx4bu3mzhor75pskvd3pdot6)
==> Installing gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd [2/3]
==> No binary for gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd found: installing from source
==> No patches needed for gcc-runtime
==> gcc-runtime: Executing phase: 'install'
==> gcc-runtime: Successfully installed gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd
  Stage: 0.00s.  Install: 0.10s.  Post-install: 0.04s.	Total: 0.18s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd
==> Installing gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo [3/3]
==> No binary for gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/dd/dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3.tar.gz
==> No patches needed for gmake
==> gmake: Executing phase: 'install'
==> gmake: Successfully installed gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo
  Stage: 0.44s.  Install: 16.30s.  Post-install: 0.02s.  Total: 16.81s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo

You will see Spack installed gmake, gcc-runtime, and glibc. The glibc and gcc-runtime packages are automatically tracked by Spack to manage consistency requirements among compiler runtimes. These do not represent separate installs from source, but represent aspects of the compiler Spack used for the install. For the rest of this section, we will ignore these components and focus on the rest of the install.

Spack can install software either from source or from a binary cache. Packages in the binary cache are signed with GPG for security. For the tutorial we have prepared a binary cache so you don’t have to wait on slow compilation from source. 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.

$ spack mirror add tutorial /mirror
$ spack buildcache keys --install --trust
==> Fetching file:///mirror/build_cache/_pgp/0ACDCFDA91DB974A68C3DDC2F85815B32355CB19.pub
gpg: key F85815B32355CB19: public key "e4s-uo-spack-01" imported
gpg: Total number processed: 1
gpg:		   imported: 1
gpg: inserting ownertrust of 6
==> Fetching file:///mirror/build_cache/_pgp/2C8DD3224EF3573A42BD221FA8E0CA3C1C2ADA2F.pub
gpg: key A8E0CA3C1C2ADA2F: 5 signatures not checked due to missing keys
gpg: key A8E0CA3C1C2ADA2F: public key "Spack Project Official Binaries <maintainers@spack.io>" imported
gpg: Total number processed: 1
gpg:		   imported: 1
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:	1  signed:   0	trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: inserting ownertrust of 6
==> Fetching file:///mirror/build_cache/_pgp/78F3726939CA1B94893B66E8BC86F6FB94429164.pub
gpg: key BC86F6FB94429164: public key "Spack CI Key <maintainers@spack.io>" imported
gpg: Total number processed: 1
gpg:		   imported: 1
gpg: inserting ownertrust of 6

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. By default this will install the binary cached version if it exists and fall back on installing from source if it does not.

Spack’s spec syntax is the interface by which we can request specific configurations of the package. The % sigil is used to specify compilers.

$ spack install zlib-ng %clang
[+] /usr (external glibc-2.35-xvsfmyvk5j33hkz4jhb7vwwsxz4ynras)
==> Installing gmake-4.4.1-clquewjrpe7sudii4wp6wrplbw3edp45 [2/3]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-clang-14.0.0-gmake-4.4.1-clquewjrpe7sudii4wp6wrplbw3edp45.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/clang-14.0.0/gmake-4.4.1/linux-ubuntu22.04-x86_64_v3-clang-14.0.0-gmake-4.4.1-clquewjrpe7sudii4wp6wrplbw3edp45.spack
==> Extracting gmake-4.4.1-clquewjrpe7sudii4wp6wrplbw3edp45 from binary cache
==> gmake: Successfully installed gmake-4.4.1-clquewjrpe7sudii4wp6wrplbw3edp45
  Search: 0.00s.  Fetch: 0.24s.  Install: 0.07s.  Extract: 0.06s.  Relocate: 0.01s.  Total: 0.31s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/clang-14.0.0/gmake-4.4.1-clquewjrpe7sudii4wp6wrplbw3edp45
==> Installing zlib-ng-2.1.6-tzedx4jhu5vzbwh7fh4xiyvndmwy4maq [3/3]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-clang-14.0.0-zlib-ng-2.1.6-tzedx4jhu5vzbwh7fh4xiyvndmwy4maq.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/clang-14.0.0/zlib-ng-2.1.6/linux-ubuntu22.04-x86_64_v3-clang-14.0.0-zlib-ng-2.1.6-tzedx4jhu5vzbwh7fh4xiyvndmwy4maq.spack
==> Extracting zlib-ng-2.1.6-tzedx4jhu5vzbwh7fh4xiyvndmwy4maq from binary cache
==> zlib-ng: Successfully installed zlib-ng-2.1.6-tzedx4jhu5vzbwh7fh4xiyvndmwy4maq
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.03s.  Extract: 0.01s.  Relocate: 0.01s.  Total: 0.04s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/clang-14.0.0/zlib-ng-2.1.6-tzedx4jhu5vzbwh7fh4xiyvndmwy4maq

Note that this installation is located separately from the previous one. We will discuss this in more detail later, but this is part of what allows Spack to support arbitrarily versioned software.

You can check for particular versions before requesting them. We will use the spack versions command to see the available versions, and then install a different version of zlib-ng.

$ spack versions zlib-ng
==> Safe versions (already checksummed):
  2.1.6  2.1.5	2.1.4  2.1.3  2.1.2  2.0.7  2.0.0
==> Remote versions (not yet checksummed):
  2.1.1-beta2  2.1.0-beta1  2.0.6  2.0.5

The @ sigil is used to specify versions, both of packages and of compilers.

$ spack install zlib-ng@2.0.7
[+] /usr (external glibc-2.35-a7drdl4tlx4bu3mzhor75pskvd3pdot6)
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo
==> Installing zlib-ng-2.0.7-dbx6km5h4gmz43zwulyopdlp7eg3s6hj [4/4]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-zlib-ng-2.0.7-dbx6km5h4gmz43zwulyopdlp7eg3s6hj.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.0.7/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-zlib-ng-2.0.7-dbx6km5h4gmz43zwulyopdlp7eg3s6hj.spack
==> Extracting zlib-ng-2.0.7-dbx6km5h4gmz43zwulyopdlp7eg3s6hj from binary cache
==> zlib-ng: Successfully installed zlib-ng-2.0.7-dbx6km5h4gmz43zwulyopdlp7eg3s6hj
  Search: 0.00s.  Fetch: 0.22s.  Install: 0.08s.  Extract: 0.06s.  Relocate: 0.01s.  Total: 0.30s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.0.7-dbx6km5h4gmz43zwulyopdlp7eg3s6hj
$ spack install zlib-ng %gcc@10
[+] /usr (external glibc-2.35-tcngwuvjectyn7o74ymmyeqhll2enure)
==> Installing gcc-runtime-10.5.0-gio4whbqck7yhcyvu6xi32m42hwunetn [2/4]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-10.5.0-gcc-runtime-10.5.0-gio4whbqck7yhcyvu6xi32m42hwunetn.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-10.5.0/gcc-runtime-10.5.0/linux-ubuntu22.04-x86_64_v3-gcc-10.5.0-gcc-runtime-10.5.0-gio4whbqck7yhcyvu6xi32m42hwunetn.spack
==> Extracting gcc-runtime-10.5.0-gio4whbqck7yhcyvu6xi32m42hwunetn from binary cache
==> gcc-runtime: Successfully installed gcc-runtime-10.5.0-gio4whbqck7yhcyvu6xi32m42hwunetn
  Search: 0.00s.  Fetch: 0.21s.  Install: 0.35s.  Extract: 0.30s.  Relocate: 0.04s.  Total: 0.56s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-10.5.0/gcc-runtime-10.5.0-gio4whbqck7yhcyvu6xi32m42hwunetn
==> Installing gmake-4.4.1-t7egtllnkryi5b6prou3brwxbf5rttxa [3/4]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-10.5.0-gmake-4.4.1-t7egtllnkryi5b6prou3brwxbf5rttxa.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-10.5.0/gmake-4.4.1/linux-ubuntu22.04-x86_64_v3-gcc-10.5.0-gmake-4.4.1-t7egtllnkryi5b6prou3brwxbf5rttxa.spack
==> Extracting gmake-4.4.1-t7egtllnkryi5b6prou3brwxbf5rttxa from binary cache
==> gmake: Successfully installed gmake-4.4.1-t7egtllnkryi5b6prou3brwxbf5rttxa
  Search: 0.00s.  Fetch: 0.02s.  Install: 0.04s.  Extract: 0.02s.  Relocate: 0.01s.  Total: 0.06s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-10.5.0/gmake-4.4.1-t7egtllnkryi5b6prou3brwxbf5rttxa
==> Installing zlib-ng-2.1.6-2wtyhbql33lcbihphdxwddookvagof6l [4/4]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-10.5.0-zlib-ng-2.1.6-2wtyhbql33lcbihphdxwddookvagof6l.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-10.5.0/zlib-ng-2.1.6/linux-ubuntu22.04-x86_64_v3-gcc-10.5.0-zlib-ng-2.1.6-2wtyhbql33lcbihphdxwddookvagof6l.spack
==> Extracting zlib-ng-2.1.6-2wtyhbql33lcbihphdxwddookvagof6l from binary cache
==> zlib-ng: Successfully installed zlib-ng-2.1.6-2wtyhbql33lcbihphdxwddookvagof6l
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.05s.  Extract: 0.01s.  Relocate: 0.03s.  Total: 0.06s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-10.5.0/zlib-ng-2.1.6-2wtyhbql33lcbihphdxwddookvagof6l

The spec syntax also includes compiler flags. Spack accepts cppflags, cflags, cxxflags, fflags, ldflags, and ldlibs parameters. The values of these fields must be quoted on the command line if they include spaces. These values are injected into the compile line automatically by the Spack compiler wrappers.

$ spack install zlib-ng@2.0.7 cflags=-O3
[+] /usr (external glibc-2.35-a7drdl4tlx4bu3mzhor75pskvd3pdot6)
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo
==> Installing zlib-ng-2.0.7-6bhcy7746dslww56qov4muqsyikm3fgs [4/4]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-zlib-ng-2.0.7-6bhcy7746dslww56qov4muqsyikm3fgs.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.0.7/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-zlib-ng-2.0.7-6bhcy7746dslww56qov4muqsyikm3fgs.spack
==> Extracting zlib-ng-2.0.7-6bhcy7746dslww56qov4muqsyikm3fgs from binary cache
==> zlib-ng: Successfully installed zlib-ng-2.0.7-6bhcy7746dslww56qov4muqsyikm3fgs
  Search: 0.00s.  Fetch: 0.21s.  Install: 0.08s.  Extract: 0.06s.  Relocate: 0.01s.  Total: 0.30s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.0.7-6bhcy7746dslww56qov4muqsyikm3fgs

The spack find command is used to query installed packages. Note that some packages appear identical with the default output. The -l flag shows the hash of each package, and the -f flag shows any non-empty compiler flags of those packages.

$ spack find
-- linux-ubuntu22.04-x86_64_v3 / clang@14.0.0 -------------------
glibc@2.35  gmake@4.4.1  zlib-ng@2.1.6

-- linux-ubuntu22.04-x86_64_v3 / gcc@10.5.0 ---------------------
gcc-runtime@10.5.0  glibc@2.35	gmake@4.4.1  zlib-ng@2.1.6

-- linux-ubuntu22.04-x86_64_v3 / gcc@11.4.0 ---------------------
gcc-runtime@11.4.0  glibc@2.35	gmake@4.4.1  zlib-ng@2.0.7  zlib-ng@2.0.7
==> 12 installed packages
$ spack find -lf
-- linux-ubuntu22.04-x86_64_v3 / clang@14.0.0 -------------------
xvsfmyv glibc@2.35%clang  clquewj gmake@4.4.1%clang  tzedx4j zlib-ng@2.1.6%clang

-- linux-ubuntu22.04-x86_64_v3 / gcc@10.5.0 ---------------------
gio4whb gcc-runtime@10.5.0%gcc	t7egtll gmake@4.4.1%gcc
tcngwuv glibc@2.35%gcc		2wtyhbq zlib-ng@2.1.6%gcc

-- linux-ubuntu22.04-x86_64_v3 / gcc@11.4.0 ---------------------
f47qm6q gcc-runtime@11.4.0%gcc	dbx6km5 zlib-ng@2.0.7%gcc
a7drdl4 glibc@2.35%gcc		6bhcy77 zlib-ng@2.0.7%gcc  cflags=-O3
qfrotcc gmake@4.4.1%gcc
==> 12 installed packages

Spack generates a hash for each spec. This hash is a function of the full provenance of the package, so any change to the spec affects the hash. Spack uses this value to compare specs and to generate unique installation directories for every combinatorial version. As we move into more complicated packages with software dependencies, we can see that Spack reuses existing packages to satisfy a dependency. By default, Spack tries hard to reuse existing installations as dependencies, either from a local store or from configured remote buildcaches. This minimizes unwanted rebuilds of common dependencies, in particular if you update Spack frequently.

$ spack install tcl
[+] /usr (external glibc-2.35-a7drdl4tlx4bu3mzhor75pskvd3pdot6)
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo
==> Installing zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4 [4/5]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.1.6/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4.spack
==> Extracting zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4 from binary cache
==> zlib-ng: Successfully installed zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4
  Search: 0.00s.  Fetch: 0.23s.  Install: 0.11s.  Extract: 0.06s.  Relocate: 0.01s.  Total: 0.34s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4
==> Installing tcl-8.6.12-dpakck4vt2fme3lnoqyqmmzttko5j3cu [5/5]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-tcl-8.6.12-dpakck4vt2fme3lnoqyqmmzttko5j3cu.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tcl-8.6.12/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-tcl-8.6.12-dpakck4vt2fme3lnoqyqmmzttko5j3cu.spack
==> Extracting tcl-8.6.12-dpakck4vt2fme3lnoqyqmmzttko5j3cu from binary cache
==> tcl: Successfully installed tcl-8.6.12-dpakck4vt2fme3lnoqyqmmzttko5j3cu
  Search: 0.00s.  Fetch: 0.02s.  Install: 1.23s.  Extract: 1.11s.  Relocate: 0.12s.  Total: 1.25s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tcl-8.6.12-dpakck4vt2fme3lnoqyqmmzttko5j3cu

Dependencies can be explicitly requested using the ^ sigil. Note that the spec syntax is recursive. Anything we could specify about the top-level package, we can also specify about a dependency using ^.

$ spack install tcl ^zlib-ng@2.0.7 %clang
[+] /usr (external glibc-2.35-xvsfmyvk5j33hkz4jhb7vwwsxz4ynras)
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/clang-14.0.0/gmake-4.4.1-clquewjrpe7sudii4wp6wrplbw3edp45
==> Installing zlib-ng-2.0.7-4ffssvw7dlnznkyvpecvw4tooizorfkr [3/4]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-clang-14.0.0-zlib-ng-2.0.7-4ffssvw7dlnznkyvpecvw4tooizorfkr.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/clang-14.0.0/zlib-ng-2.0.7/linux-ubuntu22.04-x86_64_v3-clang-14.0.0-zlib-ng-2.0.7-4ffssvw7dlnznkyvpecvw4tooizorfkr.spack
==> Extracting zlib-ng-2.0.7-4ffssvw7dlnznkyvpecvw4tooizorfkr from binary cache
==> zlib-ng: Successfully installed zlib-ng-2.0.7-4ffssvw7dlnznkyvpecvw4tooizorfkr
  Search: 0.00s.  Fetch: 0.22s.  Install: 0.11s.  Extract: 0.06s.  Relocate: 0.03s.  Total: 0.33s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/clang-14.0.0/zlib-ng-2.0.7-4ffssvw7dlnznkyvpecvw4tooizorfkr
==> Installing tcl-8.6.12-anfehznwelurnjdsci2ck7c6qxwcdppo [4/4]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-clang-14.0.0-tcl-8.6.12-anfehznwelurnjdsci2ck7c6qxwcdppo.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/clang-14.0.0/tcl-8.6.12/linux-ubuntu22.04-x86_64_v3-clang-14.0.0-tcl-8.6.12-anfehznwelurnjdsci2ck7c6qxwcdppo.spack
==> Extracting tcl-8.6.12-anfehznwelurnjdsci2ck7c6qxwcdppo from binary cache
==> tcl: Successfully installed tcl-8.6.12-anfehznwelurnjdsci2ck7c6qxwcdppo
  Search: 0.00s.  Fetch: 0.03s.  Install: 1.23s.  Extract: 1.11s.  Relocate: 0.11s.  Total: 1.26s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/clang-14.0.0/tcl-8.6.12-anfehznwelurnjdsci2ck7c6qxwcdppo

Packages can also be referred to from the command line by their package hash. Using the spack find -lf command earlier we saw that the hash of our optimized installation of zlib-ng (cflags="-O3") began with 6bhcy77. We can now explicitly build with that package without typing the entire spec, by using the / sigil to refer to it by hash. As with other tools like Git, you do not need to specify an entire hash on the command line. You can specify just enough digits to identify a hash uniquely. If a hash prefix is ambiguous (i.e., two or more installed packages share the prefix) then Spack will report an error.

$ spack install tcl ^/6bh
[+] /usr (external glibc-2.35-a7drdl4tlx4bu3mzhor75pskvd3pdot6)
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.0.7-6bhcy7746dslww56qov4muqsyikm3fgs
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo
==> Installing tcl-8.6.12-aoh7bkqsupi6ldu7hx5jp6q6365pujze [5/5]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-tcl-8.6.12-aoh7bkqsupi6ldu7hx5jp6q6365pujze.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tcl-8.6.12/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-tcl-8.6.12-aoh7bkqsupi6ldu7hx5jp6q6365pujze.spack
==> Extracting tcl-8.6.12-aoh7bkqsupi6ldu7hx5jp6q6365pujze from binary cache
==> tcl: Successfully installed tcl-8.6.12-aoh7bkqsupi6ldu7hx5jp6q6365pujze
  Search: 0.00s.  Fetch: 0.26s.  Install: 1.40s.  Extract: 1.21s.  Relocate: 0.15s.  Total: 1.66s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tcl-8.6.12-aoh7bkqsupi6ldu7hx5jp6q6365pujze

The spack find command can also take a -d flag, which can show dependency information. Note that each package has a top-level entry, even if it also appears as a dependency.

$ spack find -ldf
-- linux-ubuntu22.04-x86_64_v3 / clang@14.0.0 -------------------
xvsfmyv glibc@2.35%clang

clquewj gmake@4.4.1%clang
xvsfmyv     glibc@2.35%clang

anfehzn tcl@8.6.12%clang
xvsfmyv     glibc@2.35%clang
clquewj     gmake@4.4.1%clang
4ffssvw     zlib-ng@2.0.7%clang

4ffssvw zlib-ng@2.0.7%clang
xvsfmyv     glibc@2.35%clang
clquewj     gmake@4.4.1%clang

tzedx4j zlib-ng@2.1.6%clang
xvsfmyv     glibc@2.35%clang
clquewj     gmake@4.4.1%clang


-- linux-ubuntu22.04-x86_64_v3 / gcc@10.5.0 ---------------------
gio4whb gcc-runtime@10.5.0%gcc
tcngwuv     glibc@2.35%gcc

tcngwuv glibc@2.35%gcc

t7egtll gmake@4.4.1%gcc
gio4whb     gcc-runtime@10.5.0%gcc
tcngwuv     glibc@2.35%gcc

2wtyhbq zlib-ng@2.1.6%gcc
gio4whb     gcc-runtime@10.5.0%gcc
tcngwuv     glibc@2.35%gcc
t7egtll     gmake@4.4.1%gcc


-- linux-ubuntu22.04-x86_64_v3 / gcc@11.4.0 ---------------------
f47qm6q gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc

a7drdl4 glibc@2.35%gcc

qfrotcc gmake@4.4.1%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc

aoh7bkq tcl@8.6.12%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
6bhcy77     zlib-ng@2.0.7%gcc  cflags=-O3

dpakck4 tcl@8.6.12%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
xqtp62n     zlib-ng@2.1.6%gcc

dbx6km5 zlib-ng@2.0.7%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc

6bhcy77 zlib-ng@2.0.7%gcc  cflags=-O3
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc

xqtp62n zlib-ng@2.1.6%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc

==> 17 installed packages

Let’s move on to slightly more complicated packages. HDF5 is a good example of a more complicated package, with an MPI dependency. If we install it “out of the box,” it will build with OpenMPI.

$ spack install hdf5
[+] /usr (external glibc-2.35-a7drdl4tlx4bu3mzhor75pskvd3pdot6)
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd
==> Installing ca-certificates-mozilla-2023-05-30-yw5x67uxvt6sapin6ft4cxfnwljusmbf [3/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-ca-certificates-mozilla-2023-05-30-yw5x67uxvt6sapin6ft4cxfnwljusmbf.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/ca-certificates-mozilla-2023-05-30/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-ca-certificates-mozilla-2023-05-30-yw5x67uxvt6sapin6ft4cxfnwljusmbf.spack
==> Extracting ca-certificates-mozilla-2023-05-30-yw5x67uxvt6sapin6ft4cxfnwljusmbf from binary cache
==> ca-certificates-mozilla: Successfully installed ca-certificates-mozilla-2023-05-30-yw5x67uxvt6sapin6ft4cxfnwljusmbf
  Search: 0.00s.  Fetch: 0.20s.  Install: 0.10s.  Extract: 0.06s.  Relocate: 0.03s.  Total: 0.30s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/ca-certificates-mozilla-2023-05-30-yw5x67uxvt6sapin6ft4cxfnwljusmbf
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo
==> Installing xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz [5/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/xz-5.4.6/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz.spack
==> Extracting xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz from binary cache
==> xz: Successfully installed xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.13s.  Extract: 0.11s.  Relocate: 0.02s.  Total: 0.14s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz
==> Installing libsigsegv-2.14-jwy3fyzf5vk74lvkdpa6uf4rqlvfz7my [6/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libsigsegv-2.14-jwy3fyzf5vk74lvkdpa6uf4rqlvfz7my.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libsigsegv-2.14/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libsigsegv-2.14-jwy3fyzf5vk74lvkdpa6uf4rqlvfz7my.spack
==> Extracting libsigsegv-2.14-jwy3fyzf5vk74lvkdpa6uf4rqlvfz7my from binary cache
==> libsigsegv: Successfully installed libsigsegv-2.14-jwy3fyzf5vk74lvkdpa6uf4rqlvfz7my
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.03s.  Extract: 0.01s.  Relocate: 0.01s.  Total: 0.04s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libsigsegv-2.14-jwy3fyzf5vk74lvkdpa6uf4rqlvfz7my
==> Installing zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr [7/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zstd-1.5.6/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr.spack
==> Extracting zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr from binary cache
==> zstd: Successfully installed zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.07s.  Extract: 0.05s.  Relocate: 0.02s.  Total: 0.08s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr
==> Installing berkeley-db-18.1.40-br27jq6mkoumsbtdldgzcm3lw5zqjvel [8/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-berkeley-db-18.1.40-br27jq6mkoumsbtdldgzcm3lw5zqjvel.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/berkeley-db-18.1.40/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-berkeley-db-18.1.40-br27jq6mkoumsbtdldgzcm3lw5zqjvel.spack
==> Extracting berkeley-db-18.1.40-br27jq6mkoumsbtdldgzcm3lw5zqjvel from binary cache
==> berkeley-db: Successfully installed berkeley-db-18.1.40-br27jq6mkoumsbtdldgzcm3lw5zqjvel
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.13s.  Extract: 0.10s.  Relocate: 0.02s.  Total: 0.14s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/berkeley-db-18.1.40-br27jq6mkoumsbtdldgzcm3lw5zqjvel
==> Installing pkgconf-2.2.0-h3x3l7sed4l2efuskhaldi6ilmkoyeaa [9/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-pkgconf-2.2.0-h3x3l7sed4l2efuskhaldi6ilmkoyeaa.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pkgconf-2.2.0/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-pkgconf-2.2.0-h3x3l7sed4l2efuskhaldi6ilmkoyeaa.spack
==> Extracting pkgconf-2.2.0-h3x3l7sed4l2efuskhaldi6ilmkoyeaa from binary cache
==> pkgconf: Successfully installed pkgconf-2.2.0-h3x3l7sed4l2efuskhaldi6ilmkoyeaa
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.04s.  Extract: 0.02s.  Relocate: 0.01s.  Total: 0.05s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pkgconf-2.2.0-h3x3l7sed4l2efuskhaldi6ilmkoyeaa
==> Installing findutils-4.9.0-v4yzc2wwg33pu64bs64rfhu6k4nb3r33 [10/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-findutils-4.9.0-v4yzc2wwg33pu64bs64rfhu6k4nb3r33.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/findutils-4.9.0/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-findutils-4.9.0-v4yzc2wwg33pu64bs64rfhu6k4nb3r33.spack
==> Extracting findutils-4.9.0-v4yzc2wwg33pu64bs64rfhu6k4nb3r33 from binary cache
==> findutils: Successfully installed findutils-4.9.0-v4yzc2wwg33pu64bs64rfhu6k4nb3r33
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.08s.  Extract: 0.06s.  Relocate: 0.02s.  Total: 0.09s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/findutils-4.9.0-v4yzc2wwg33pu64bs64rfhu6k4nb3r33
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4
==> Installing diffutils-3.10-mhzfdlk4s72qc2lndxqz4v6tcxkis5ez [12/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-diffutils-3.10-mhzfdlk4s72qc2lndxqz4v6tcxkis5ez.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/diffutils-3.10/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-diffutils-3.10-mhzfdlk4s72qc2lndxqz4v6tcxkis5ez.spack
==> Extracting diffutils-3.10-mhzfdlk4s72qc2lndxqz4v6tcxkis5ez from binary cache
==> diffutils: Successfully installed diffutils-3.10-mhzfdlk4s72qc2lndxqz4v6tcxkis5ez
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.08s.  Extract: 0.05s.  Relocate: 0.02s.  Total: 0.08s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/diffutils-3.10-mhzfdlk4s72qc2lndxqz4v6tcxkis5ez
==> Installing util-macros-1.19.3-egkyddpgsgnwgmdzd4tlmqxnh3o3lhrq [13/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-util-macros-1.19.3-egkyddpgsgnwgmdzd4tlmqxnh3o3lhrq.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/util-macros-1.19.3/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-util-macros-1.19.3-egkyddpgsgnwgmdzd4tlmqxnh3o3lhrq.spack
==> Extracting util-macros-1.19.3-egkyddpgsgnwgmdzd4tlmqxnh3o3lhrq from binary cache
==> util-macros: Successfully installed util-macros-1.19.3-egkyddpgsgnwgmdzd4tlmqxnh3o3lhrq
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.03s.  Extract: 0.01s.  Relocate: 0.01s.  Total: 0.03s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/util-macros-1.19.3-egkyddpgsgnwgmdzd4tlmqxnh3o3lhrq
==> Installing ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa [14/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/ncurses-6.5/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa.spack
==> Extracting ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa from binary cache
==> ncurses: Successfully installed ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.69s.  Extract: 0.65s.  Relocate: 0.02s.  Total: 0.70s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa
==> Installing pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z [15/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pigz-2.8/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z.spack
==> Extracting pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z from binary cache
==> pigz: Successfully installed pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.06s.  Extract: 0.01s.  Relocate: 0.04s.  Total: 0.06s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z
==> Installing libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e [16/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxml2-2.10.3/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e.spack
==> Extracting libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e from binary cache
==> libxml2: Successfully installed libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.17s.  Extract: 0.11s.  Relocate: 0.05s.  Total: 0.18s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e
==> Installing nghttp2-1.57.0-pn6bnmhdnu3jaiukkhvak4dbvzez4d7i [17/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-nghttp2-1.57.0-pn6bnmhdnu3jaiukkhvak4dbvzez4d7i.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/nghttp2-1.57.0/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-nghttp2-1.57.0-pn6bnmhdnu3jaiukkhvak4dbvzez4d7i.spack
==> Extracting nghttp2-1.57.0-pn6bnmhdnu3jaiukkhvak4dbvzez4d7i from binary cache
==> nghttp2: Successfully installed nghttp2-1.57.0-pn6bnmhdnu3jaiukkhvak4dbvzez4d7i
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.06s.  Extract: 0.03s.  Relocate: 0.01s.  Total: 0.06s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/nghttp2-1.57.0-pn6bnmhdnu3jaiukkhvak4dbvzez4d7i
==> Installing bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc [18/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/bzip2-1.0.8/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc.spack
==> Extracting bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc from binary cache
==> bzip2: Successfully installed bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.04s.  Extract: 0.02s.  Relocate: 0.01s.  Total: 0.05s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc
==> Installing m4-1.4.19-7d6p4sfrp4viryzbg5nxd2nsgm46d6x2 [19/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-m4-1.4.19-7d6p4sfrp4viryzbg5nxd2nsgm46d6x2.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/m4-1.4.19/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-m4-1.4.19-7d6p4sfrp4viryzbg5nxd2nsgm46d6x2.spack
==> Extracting m4-1.4.19-7d6p4sfrp4viryzbg5nxd2nsgm46d6x2 from binary cache
==> m4: Successfully installed m4-1.4.19-7d6p4sfrp4viryzbg5nxd2nsgm46d6x2
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.07s.  Extract: 0.04s.  Relocate: 0.02s.  Total: 0.07s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/m4-1.4.19-7d6p4sfrp4viryzbg5nxd2nsgm46d6x2
==> Installing libedit-3.1-20230828-swglgxeckeajkjp4b7d66fbsyn6hjsdh [20/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libedit-3.1-20230828-swglgxeckeajkjp4b7d66fbsyn6hjsdh.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libedit-3.1-20230828/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libedit-3.1-20230828-swglgxeckeajkjp4b7d66fbsyn6hjsdh.spack
==> Extracting libedit-3.1-20230828-swglgxeckeajkjp4b7d66fbsyn6hjsdh from binary cache
==> libedit: Successfully installed libedit-3.1-20230828-swglgxeckeajkjp4b7d66fbsyn6hjsdh
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.07s.  Extract: 0.04s.  Relocate: 0.02s.  Total: 0.07s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libedit-3.1-20230828-swglgxeckeajkjp4b7d66fbsyn6hjsdh
==> Installing readline-8.2-cb6x34ku73pjh3f4t7rmpthnxuumw25x [21/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-readline-8.2-cb6x34ku73pjh3f4t7rmpthnxuumw25x.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/readline-8.2/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-readline-8.2-cb6x34ku73pjh3f4t7rmpthnxuumw25x.spack
==> Extracting readline-8.2-cb6x34ku73pjh3f4t7rmpthnxuumw25x from binary cache
==> readline: Successfully installed readline-8.2-cb6x34ku73pjh3f4t7rmpthnxuumw25x
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.08s.  Extract: 0.05s.  Relocate: 0.02s.  Total: 0.09s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/readline-8.2-cb6x34ku73pjh3f4t7rmpthnxuumw25x
==> Installing tar-1.34-wx4xfdnr4uzmlkbzpeuizbduh4e5klhj [22/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-tar-1.34-wx4xfdnr4uzmlkbzpeuizbduh4e5klhj.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tar-1.34/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-tar-1.34-wx4xfdnr4uzmlkbzpeuizbduh4e5klhj.spack
==> Extracting tar-1.34-wx4xfdnr4uzmlkbzpeuizbduh4e5klhj from binary cache
==> tar: Successfully installed tar-1.34-wx4xfdnr4uzmlkbzpeuizbduh4e5klhj
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.13s.  Extract: 0.09s.  Relocate: 0.03s.  Total: 0.14s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tar-1.34-wx4xfdnr4uzmlkbzpeuizbduh4e5klhj
==> Installing libtool-2.4.7-lop7htuzty2qpcu6own5hdvs6evoa2bg [23/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libtool-2.4.7-lop7htuzty2qpcu6own5hdvs6evoa2bg.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libtool-2.4.7/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libtool-2.4.7-lop7htuzty2qpcu6own5hdvs6evoa2bg.spack
==> Extracting libtool-2.4.7-lop7htuzty2qpcu6own5hdvs6evoa2bg from binary cache
==> libtool: Successfully installed libtool-2.4.7-lop7htuzty2qpcu6own5hdvs6evoa2bg
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.08s.  Extract: 0.05s.  Relocate: 0.03s.  Total: 0.09s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libtool-2.4.7-lop7htuzty2qpcu6own5hdvs6evoa2bg
==> Installing bison-3.8.2-6wy33u6zyt2bd2hag3abhg3ohmi6jwvc [24/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-bison-3.8.2-6wy33u6zyt2bd2hag3abhg3ohmi6jwvc.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/bison-3.8.2/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-bison-3.8.2-6wy33u6zyt2bd2hag3abhg3ohmi6jwvc.spack
==> Extracting bison-3.8.2-6wy33u6zyt2bd2hag3abhg3ohmi6jwvc from binary cache
==> bison: Successfully installed bison-3.8.2-6wy33u6zyt2bd2hag3abhg3ohmi6jwvc
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.16s.  Extract: 0.11s.  Relocate: 0.04s.  Total: 0.17s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/bison-3.8.2-6wy33u6zyt2bd2hag3abhg3ohmi6jwvc
==> Installing gdbm-1.23-ohbrdtphnhbycgd6p3btrxzjbtkwiqn6 [25/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-gdbm-1.23-ohbrdtphnhbycgd6p3btrxzjbtkwiqn6.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gdbm-1.23/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-gdbm-1.23-ohbrdtphnhbycgd6p3btrxzjbtkwiqn6.spack
==> Extracting gdbm-1.23-ohbrdtphnhbycgd6p3btrxzjbtkwiqn6 from binary cache
==> gdbm: Successfully installed gdbm-1.23-ohbrdtphnhbycgd6p3btrxzjbtkwiqn6
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.07s.  Extract: 0.04s.  Relocate: 0.02s.  Total: 0.08s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gdbm-1.23-ohbrdtphnhbycgd6p3btrxzjbtkwiqn6
==> Installing gettext-0.22.5-eux6e6vvrk7uz4tx3vmjkyonhnvhseeu [26/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-gettext-0.22.5-eux6e6vvrk7uz4tx3vmjkyonhnvhseeu.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gettext-0.22.5/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-gettext-0.22.5-eux6e6vvrk7uz4tx3vmjkyonhnvhseeu.spack
==> Extracting gettext-0.22.5-eux6e6vvrk7uz4tx3vmjkyonhnvhseeu from binary cache
==> gettext: Successfully installed gettext-0.22.5-eux6e6vvrk7uz4tx3vmjkyonhnvhseeu
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.73s.  Extract: 0.64s.  Relocate: 0.08s.  Total: 0.75s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gettext-0.22.5-eux6e6vvrk7uz4tx3vmjkyonhnvhseeu
==> Installing libpciaccess-0.17-esgx75jgr6iu4dkcw566yvz4tmx33ljz [27/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libpciaccess-0.17-esgx75jgr6iu4dkcw566yvz4tmx33ljz.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libpciaccess-0.17/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libpciaccess-0.17-esgx75jgr6iu4dkcw566yvz4tmx33ljz.spack
==> Extracting libpciaccess-0.17-esgx75jgr6iu4dkcw566yvz4tmx33ljz from binary cache
==> libpciaccess: Successfully installed libpciaccess-0.17-esgx75jgr6iu4dkcw566yvz4tmx33ljz
  Search: 0.00s.  Fetch: 0.02s.  Install: 0.06s.  Extract: 0.02s.  Relocate: 0.03s.  Total: 0.08s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libpciaccess-0.17-esgx75jgr6iu4dkcw566yvz4tmx33ljz
==> Installing perl-5.38.0-uliw6spxatqyj5bjxwtf6ckndktozqqo [28/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-perl-5.38.0-uliw6spxatqyj5bjxwtf6ckndktozqqo.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/perl-5.38.0/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-perl-5.38.0-uliw6spxatqyj5bjxwtf6ckndktozqqo.spack
==> Extracting perl-5.38.0-uliw6spxatqyj5bjxwtf6ckndktozqqo from binary cache
==> perl: Successfully installed perl-5.38.0-uliw6spxatqyj5bjxwtf6ckndktozqqo
  Search: 0.00s.  Fetch: 0.02s.  Install: 0.96s.  Extract: 0.76s.  Relocate: 0.19s.  Total: 0.98s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/perl-5.38.0-uliw6spxatqyj5bjxwtf6ckndktozqqo
==> Installing hwloc-2.9.1-ujih6ikevwjglzswfu4wf7eimac2pvsh [29/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-hwloc-2.9.1-ujih6ikevwjglzswfu4wf7eimac2pvsh.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hwloc-2.9.1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-hwloc-2.9.1-ujih6ikevwjglzswfu4wf7eimac2pvsh.spack
==> Extracting hwloc-2.9.1-ujih6ikevwjglzswfu4wf7eimac2pvsh from binary cache
==> hwloc: Successfully installed hwloc-2.9.1-ujih6ikevwjglzswfu4wf7eimac2pvsh
  Search: 0.00s.  Fetch: 0.02s.  Install: 0.24s.  Extract: 0.20s.  Relocate: 0.04s.  Total: 0.26s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hwloc-2.9.1-ujih6ikevwjglzswfu4wf7eimac2pvsh
==> Installing autoconf-2.72-ljmgup2xu5fzbqhilaeonlgfasmo5hhh [30/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-autoconf-2.72-ljmgup2xu5fzbqhilaeonlgfasmo5hhh.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/autoconf-2.72/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-autoconf-2.72-ljmgup2xu5fzbqhilaeonlgfasmo5hhh.spack
==> Extracting autoconf-2.72-ljmgup2xu5fzbqhilaeonlgfasmo5hhh from binary cache
==> autoconf: Successfully installed autoconf-2.72-ljmgup2xu5fzbqhilaeonlgfasmo5hhh
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.10s.  Extract: 0.06s.  Relocate: 0.03s.  Total: 0.11s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/autoconf-2.72-ljmgup2xu5fzbqhilaeonlgfasmo5hhh
==> Installing openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij [31/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssl-3.3.0/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij.spack
==> Extracting openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij from binary cache
==> openssl: Successfully installed openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.29s.  Extract: 0.23s.  Relocate: 0.05s.  Total: 0.31s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij
==> Installing libxcrypt-4.4.35-qwi6aof3wwuahmefzsrnvhristv2zglh [32/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libxcrypt-4.4.35-qwi6aof3wwuahmefzsrnvhristv2zglh.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxcrypt-4.4.35/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libxcrypt-4.4.35-qwi6aof3wwuahmefzsrnvhristv2zglh.spack
==> Extracting libxcrypt-4.4.35-qwi6aof3wwuahmefzsrnvhristv2zglh from binary cache
==> libxcrypt: Successfully installed libxcrypt-4.4.35-qwi6aof3wwuahmefzsrnvhristv2zglh
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.06s.  Extract: 0.03s.  Relocate: 0.01s.  Total: 0.07s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxcrypt-4.4.35-qwi6aof3wwuahmefzsrnvhristv2zglh
==> Installing automake-1.16.5-p742yhmxrgeohdxdmiduznbou2rnf3bt [33/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-automake-1.16.5-p742yhmxrgeohdxdmiduznbou2rnf3bt.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/automake-1.16.5/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-automake-1.16.5-p742yhmxrgeohdxdmiduznbou2rnf3bt.spack
==> Extracting automake-1.16.5-p742yhmxrgeohdxdmiduznbou2rnf3bt from binary cache
==> automake: Successfully installed automake-1.16.5-p742yhmxrgeohdxdmiduznbou2rnf3bt
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.11s.  Extract: 0.06s.  Relocate: 0.04s.  Total: 0.11s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/automake-1.16.5-p742yhmxrgeohdxdmiduznbou2rnf3bt
==> Installing curl-8.7.1-cc6xd2h6vihed63v7gavflnhgxty3pwc [34/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-curl-8.7.1-cc6xd2h6vihed63v7gavflnhgxty3pwc.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/curl-8.7.1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-curl-8.7.1-cc6xd2h6vihed63v7gavflnhgxty3pwc.spack
==> Extracting curl-8.7.1-cc6xd2h6vihed63v7gavflnhgxty3pwc from binary cache
==> curl: Successfully installed curl-8.7.1-cc6xd2h6vihed63v7gavflnhgxty3pwc
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.18s.  Extract: 0.14s.  Relocate: 0.02s.  Total: 0.18s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/curl-8.7.1-cc6xd2h6vihed63v7gavflnhgxty3pwc
==> Installing libevent-2.1.12-uv2twd5kir57zlvu4ntf3cffa2lad47g [35/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libevent-2.1.12-uv2twd5kir57zlvu4ntf3cffa2lad47g.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libevent-2.1.12/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libevent-2.1.12-uv2twd5kir57zlvu4ntf3cffa2lad47g.spack
==> Extracting libevent-2.1.12-uv2twd5kir57zlvu4ntf3cffa2lad47g from binary cache
==> libevent: Successfully installed libevent-2.1.12-uv2twd5kir57zlvu4ntf3cffa2lad47g
  Search: 0.00s.  Fetch: 0.02s.  Install: 0.13s.  Extract: 0.09s.  Relocate: 0.02s.  Total: 0.15s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libevent-2.1.12-uv2twd5kir57zlvu4ntf3cffa2lad47g
==> Installing krb5-1.20.1-kqbte2e4fgnkv2m2zwcagwgkiluqlkdn [36/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-krb5-1.20.1-kqbte2e4fgnkv2m2zwcagwgkiluqlkdn.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/krb5-1.20.1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-krb5-1.20.1-kqbte2e4fgnkv2m2zwcagwgkiluqlkdn.spack
==> Extracting krb5-1.20.1-kqbte2e4fgnkv2m2zwcagwgkiluqlkdn from binary cache
==> krb5: Successfully installed krb5-1.20.1-kqbte2e4fgnkv2m2zwcagwgkiluqlkdn
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.18s.  Extract: 0.11s.  Relocate: 0.06s.  Total: 0.19s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/krb5-1.20.1-kqbte2e4fgnkv2m2zwcagwgkiluqlkdn
==> Installing numactl-2.0.14-oece2d6cta5zgxcbziturcqsugvbehjg [37/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-numactl-2.0.14-oece2d6cta5zgxcbziturcqsugvbehjg.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/numactl-2.0.14/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-numactl-2.0.14-oece2d6cta5zgxcbziturcqsugvbehjg.spack
==> Extracting numactl-2.0.14-oece2d6cta5zgxcbziturcqsugvbehjg from binary cache
==> numactl: Successfully installed numactl-2.0.14-oece2d6cta5zgxcbziturcqsugvbehjg
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.09s.  Extract: 0.03s.  Relocate: 0.04s.  Total: 0.09s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/numactl-2.0.14-oece2d6cta5zgxcbziturcqsugvbehjg
==> Installing cmake-3.27.9-fkjttm2fmowwdwblxovotnaxqxtehkku [38/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-cmake-3.27.9-fkjttm2fmowwdwblxovotnaxqxtehkku.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/cmake-3.27.9/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-cmake-3.27.9-fkjttm2fmowwdwblxovotnaxqxtehkku.spack
==> Extracting cmake-3.27.9-fkjttm2fmowwdwblxovotnaxqxtehkku from binary cache
==> cmake: Successfully installed cmake-3.27.9-fkjttm2fmowwdwblxovotnaxqxtehkku
  Search: 0.00s.  Fetch: 0.03s.  Install: 1.41s.  Extract: 1.27s.  Relocate: 0.13s.  Total: 1.44s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/cmake-3.27.9-fkjttm2fmowwdwblxovotnaxqxtehkku
==> Installing pmix-5.0.1-bzewb3i2g5m4lv2jq3prq6nqvzrpdilw [39/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-pmix-5.0.1-bzewb3i2g5m4lv2jq3prq6nqvzrpdilw.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pmix-5.0.1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-pmix-5.0.1-bzewb3i2g5m4lv2jq3prq6nqvzrpdilw.spack
==> Extracting pmix-5.0.1-bzewb3i2g5m4lv2jq3prq6nqvzrpdilw from binary cache
==> pmix: Successfully installed pmix-5.0.1-bzewb3i2g5m4lv2jq3prq6nqvzrpdilw
  Search: 0.00s.  Fetch: 0.02s.  Install: 0.28s.  Extract: 0.19s.  Relocate: 0.07s.  Total: 0.30s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pmix-5.0.1-bzewb3i2g5m4lv2jq3prq6nqvzrpdilw
==> Installing openssh-9.7p1-iiuja4vvxdkrnzipyeyvzpxiqln2o2sd [40/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-openssh-9.7p1-iiuja4vvxdkrnzipyeyvzpxiqln2o2sd.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssh-9.7p1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-openssh-9.7p1-iiuja4vvxdkrnzipyeyvzpxiqln2o2sd.spack
==> Extracting openssh-9.7p1-iiuja4vvxdkrnzipyeyvzpxiqln2o2sd from binary cache
==> openssh: Successfully installed openssh-9.7p1-iiuja4vvxdkrnzipyeyvzpxiqln2o2sd
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.17s.  Extract: 0.10s.  Relocate: 0.06s.  Total: 0.18s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssh-9.7p1-iiuja4vvxdkrnzipyeyvzpxiqln2o2sd
==> Installing openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal [41/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal.spack
==> Extracting openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal from binary cache
==> openmpi: Successfully installed openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal
  Search: 0.00s.  Fetch: 0.02s.  Install: 1.01s.  Extract: 0.91s.  Relocate: 0.08s.  Total: 1.04s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal
==> Installing hdf5-1.14.3-rprkf3qfnulnteqv6l2hfqieu4ssp2h5 [42/42]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-hdf5-1.14.3-rprkf3qfnulnteqv6l2hfqieu4ssp2h5.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hdf5-1.14.3/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-hdf5-1.14.3-rprkf3qfnulnteqv6l2hfqieu4ssp2h5.spack
==> Extracting hdf5-1.14.3-rprkf3qfnulnteqv6l2hfqieu4ssp2h5 from binary cache
==> hdf5: Successfully installed hdf5-1.14.3-rprkf3qfnulnteqv6l2hfqieu4ssp2h5
  Search: 0.00s.  Fetch: 0.05s.  Install: 1.19s.  Extract: 1.01s.  Relocate: 0.16s.  Total: 1.25s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hdf5-1.14.3-rprkf3qfnulnteqv6l2hfqieu4ssp2h5

Spack packages can also have build options, called variants. Boolean variants can be specified using the + (enable) and ~ or - (disable) sigils. There are two sigils for “disable” to avoid conflicts with shell parsing in different situations. Variants (boolean or otherwise) can also be specified using the same syntax as compiler flags. Here we can install HDF5 without MPI support.

$ spack install hdf5~mpi
[+] /usr (external glibc-2.35-a7drdl4tlx4bu3mzhor75pskvd3pdot6)
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/nghttp2-1.57.0-pn6bnmhdnu3jaiukkhvak4dbvzez4d7i
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pkgconf-2.2.0-h3x3l7sed4l2efuskhaldi6ilmkoyeaa
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/curl-8.7.1-cc6xd2h6vihed63v7gavflnhgxty3pwc
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/cmake-3.27.9-fkjttm2fmowwdwblxovotnaxqxtehkku
==> Installing hdf5-1.14.3-2sexbnqu6g5s53zkr2flv7wvrjkdc7ub [11/11]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-hdf5-1.14.3-2sexbnqu6g5s53zkr2flv7wvrjkdc7ub.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hdf5-1.14.3/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-hdf5-1.14.3-2sexbnqu6g5s53zkr2flv7wvrjkdc7ub.spack
==> Extracting hdf5-1.14.3-2sexbnqu6g5s53zkr2flv7wvrjkdc7ub from binary cache
==> hdf5: Successfully installed hdf5-1.14.3-2sexbnqu6g5s53zkr2flv7wvrjkdc7ub
  Search: 0.00s.  Fetch: 0.25s.  Install: 1.09s.  Extract: 0.95s.  Relocate: 0.12s.  Total: 1.34s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hdf5-1.14.3-2sexbnqu6g5s53zkr2flv7wvrjkdc7ub

We might also want to install HDF5 with a different MPI implementation. While MPI is not a package itself, packages can depend on abstract interfaces like MPI. Spack handles these through “virtual dependencies.” A package, such as HDF5, can depend on the MPI interface. Other packages (openmpi, mpich, mvapich2, etc.) provide the MPI interface. Any of these providers can be requested for an MPI dependency. For example, we can build HDF5 with MPI support provided by MPICH by specifying a dependency on mpich. Spack also supports versioning of virtual dependencies. A package can depend on the MPI interface at version 3, and provider packages specify what version of the interface they provide. The partial spec ^mpi@3 can be satisfied by any of several providers.

$ spack install hdf5+hl+mpi ^mpich
[+] /usr (external glibc-2.35-a7drdl4tlx4bu3mzhor75pskvd3pdot6)
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pkgconf-2.2.0-h3x3l7sed4l2efuskhaldi6ilmkoyeaa
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libsigsegv-2.14-jwy3fyzf5vk74lvkdpa6uf4rqlvfz7my
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxcrypt-4.4.35-qwi6aof3wwuahmefzsrnvhristv2zglh
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/findutils-4.9.0-v4yzc2wwg33pu64bs64rfhu6k4nb3r33
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo
==> Installing libmd-1.0.4-evfudm6c3pczs4mtbpzogrozhvxrtffa [11/41]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libmd-1.0.4-evfudm6c3pczs4mtbpzogrozhvxrtffa.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libmd-1.0.4/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libmd-1.0.4-evfudm6c3pczs4mtbpzogrozhvxrtffa.spack
==> Extracting libmd-1.0.4-evfudm6c3pczs4mtbpzogrozhvxrtffa from binary cache
==> libmd: Successfully installed libmd-1.0.4-evfudm6c3pczs4mtbpzogrozhvxrtffa
  Search: 0.00s.  Fetch: 0.22s.  Install: 0.10s.  Extract: 0.07s.  Relocate: 0.01s.  Total: 0.33s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libmd-1.0.4-evfudm6c3pczs4mtbpzogrozhvxrtffa
==> Installing libffi-3.4.6-dcinbzl32tc7qe73qoew4eulurpzvkig [12/41]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libffi-3.4.6-dcinbzl32tc7qe73qoew4eulurpzvkig.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libffi-3.4.6/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libffi-3.4.6-dcinbzl32tc7qe73qoew4eulurpzvkig.spack
==> Extracting libffi-3.4.6-dcinbzl32tc7qe73qoew4eulurpzvkig from binary cache
==> libffi: Successfully installed libffi-3.4.6-dcinbzl32tc7qe73qoew4eulurpzvkig
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.04s.  Extract: 0.01s.  Relocate: 0.01s.  Total: 0.05s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libffi-3.4.6-dcinbzl32tc7qe73qoew4eulurpzvkig
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libpciaccess-0.17-esgx75jgr6iu4dkcw566yvz4tmx33ljz
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/nghttp2-1.57.0-pn6bnmhdnu3jaiukkhvak4dbvzez4d7i
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libtool-2.4.7-lop7htuzty2qpcu6own5hdvs6evoa2bg
==> Installing libfabric-1.21.0-3z7q5qftz7kfzn6rf6o7dccbm5ctt22b [17/41]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libfabric-1.21.0-3z7q5qftz7kfzn6rf6o7dccbm5ctt22b.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libfabric-1.21.0/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libfabric-1.21.0-3z7q5qftz7kfzn6rf6o7dccbm5ctt22b.spack
==> Extracting libfabric-1.21.0-3z7q5qftz7kfzn6rf6o7dccbm5ctt22b from binary cache
==> libfabric: Successfully installed libfabric-1.21.0-3z7q5qftz7kfzn6rf6o7dccbm5ctt22b
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.12s.  Extract: 0.07s.  Relocate: 0.04s.  Total: 0.13s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libfabric-1.21.0-3z7q5qftz7kfzn6rf6o7dccbm5ctt22b
==> Installing util-linux-uuid-2.38.1-xshts7x2hjr7km6cj4zr5rpxn75tmwgp [18/41]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-util-linux-uuid-2.38.1-xshts7x2hjr7km6cj4zr5rpxn75tmwgp.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/util-linux-uuid-2.38.1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-util-linux-uuid-2.38.1-xshts7x2hjr7km6cj4zr5rpxn75tmwgp.spack
==> Extracting util-linux-uuid-2.38.1-xshts7x2hjr7km6cj4zr5rpxn75tmwgp from binary cache
==> util-linux-uuid: Successfully installed util-linux-uuid-2.38.1-xshts7x2hjr7km6cj4zr5rpxn75tmwgp
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.13s.  Extract: 0.10s.  Relocate: 0.01s.  Total: 0.14s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/util-linux-uuid-2.38.1-xshts7x2hjr7km6cj4zr5rpxn75tmwgp
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/m4-1.4.19-7d6p4sfrp4viryzbg5nxd2nsgm46d6x2
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/berkeley-db-18.1.40-br27jq6mkoumsbtdldgzcm3lw5zqjvel
==> Installing libbsd-0.12.1-ca45y6kawcnoscyta2cacbrqsmhwhz4l [22/41]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libbsd-0.12.1-ca45y6kawcnoscyta2cacbrqsmhwhz4l.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libbsd-0.12.1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libbsd-0.12.1-ca45y6kawcnoscyta2cacbrqsmhwhz4l.spack
==> Extracting libbsd-0.12.1-ca45y6kawcnoscyta2cacbrqsmhwhz4l from binary cache
==> libbsd: Successfully installed libbsd-0.12.1-ca45y6kawcnoscyta2cacbrqsmhwhz4l
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.10s.  Extract: 0.06s.  Relocate: 0.02s.  Total: 0.10s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libbsd-0.12.1-ca45y6kawcnoscyta2cacbrqsmhwhz4l
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/readline-8.2-cb6x34ku73pjh3f4t7rmpthnxuumw25x
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z
==> Installing expat-2.6.2-qhjiz57tyjy7x6hszwgmj2yxxl36ejku [27/41]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-expat-2.6.2-qhjiz57tyjy7x6hszwgmj2yxxl36ejku.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/expat-2.6.2/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-expat-2.6.2-qhjiz57tyjy7x6hszwgmj2yxxl36ejku.spack
==> Extracting expat-2.6.2-qhjiz57tyjy7x6hszwgmj2yxxl36ejku from binary cache
==> expat: Successfully installed expat-2.6.2-qhjiz57tyjy7x6hszwgmj2yxxl36ejku
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.12s.  Extract: 0.03s.  Relocate: 0.07s.  Total: 0.13s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/expat-2.6.2-qhjiz57tyjy7x6hszwgmj2yxxl36ejku
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gdbm-1.23-ohbrdtphnhbycgd6p3btrxzjbtkwiqn6
==> Installing sqlite-3.43.2-ejzddmpttxpjnxftj7elafkyrzrfihna [29/41]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-sqlite-3.43.2-ejzddmpttxpjnxftj7elafkyrzrfihna.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/sqlite-3.43.2/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-sqlite-3.43.2-ejzddmpttxpjnxftj7elafkyrzrfihna.spack
==> Extracting sqlite-3.43.2-ejzddmpttxpjnxftj7elafkyrzrfihna from binary cache
==> sqlite: Successfully installed sqlite-3.43.2-ejzddmpttxpjnxftj7elafkyrzrfihna
  Search: 0.00s.  Fetch: 0.02s.  Install: 0.34s.  Extract: 0.28s.  Relocate: 0.04s.  Total: 0.35s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/sqlite-3.43.2-ejzddmpttxpjnxftj7elafkyrzrfihna
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/curl-8.7.1-cc6xd2h6vihed63v7gavflnhgxty3pwc
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hwloc-2.9.1-ujih6ikevwjglzswfu4wf7eimac2pvsh
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tar-1.34-wx4xfdnr4uzmlkbzpeuizbduh4e5klhj
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/perl-5.38.0-uliw6spxatqyj5bjxwtf6ckndktozqqo
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/cmake-3.27.9-fkjttm2fmowwdwblxovotnaxqxtehkku
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gettext-0.22.5-eux6e6vvrk7uz4tx3vmjkyonhnvhseeu
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/automake-1.16.5-p742yhmxrgeohdxdmiduznbou2rnf3bt
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/autoconf-2.72-ljmgup2xu5fzbqhilaeonlgfasmo5hhh
==> Installing python-3.11.7-2esnie54t6wca6pwuuhrmuc4o5nihj5o [38/41]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-python-3.11.7-2esnie54t6wca6pwuuhrmuc4o5nihj5o.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/python-3.11.7/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-python-3.11.7-2esnie54t6wca6pwuuhrmuc4o5nihj5o.spack
==> Extracting python-3.11.7-2esnie54t6wca6pwuuhrmuc4o5nihj5o from binary cache
==> python: Successfully installed python-3.11.7-2esnie54t6wca6pwuuhrmuc4o5nihj5o
  Search: 0.00s.  Fetch: 0.07s.  Install: 3.56s.  Extract: 3.35s.  Relocate: 0.18s.  Total: 3.63s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/python-3.11.7-2esnie54t6wca6pwuuhrmuc4o5nihj5o
==> Installing yaksa-0.3-47js6ms5cpd6rj5ufdg67ygraqapr3it [39/41]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-yaksa-0.3-47js6ms5cpd6rj5ufdg67ygraqapr3it.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/yaksa-0.3/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-yaksa-0.3-47js6ms5cpd6rj5ufdg67ygraqapr3it.spack
==> Extracting yaksa-0.3-47js6ms5cpd6rj5ufdg67ygraqapr3it from binary cache
==> yaksa: Successfully installed yaksa-0.3-47js6ms5cpd6rj5ufdg67ygraqapr3it
  Search: 0.00s.  Fetch: 0.03s.  Install: 0.63s.  Extract: 0.53s.  Relocate: 0.07s.  Total: 0.66s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/yaksa-0.3-47js6ms5cpd6rj5ufdg67ygraqapr3it
==> Installing mpich-4.2.1-ovudrqhfm7chac5wbwswczq372l5tkrx [40/41]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-mpich-4.2.1-ovudrqhfm7chac5wbwswczq372l5tkrx.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/mpich-4.2.1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-mpich-4.2.1-ovudrqhfm7chac5wbwswczq372l5tkrx.spack
==> Extracting mpich-4.2.1-ovudrqhfm7chac5wbwswczq372l5tkrx from binary cache
==> mpich: Successfully installed mpich-4.2.1-ovudrqhfm7chac5wbwswczq372l5tkrx
  Search: 0.00s.  Fetch: 0.02s.  Install: 1.08s.  Extract: 0.98s.  Relocate: 0.08s.  Total: 1.10s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/mpich-4.2.1-ovudrqhfm7chac5wbwswczq372l5tkrx
==> Installing hdf5-1.14.3-qvu3z3lghzh6vlox6af35fxe23phyqv7 [41/41]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-hdf5-1.14.3-qvu3z3lghzh6vlox6af35fxe23phyqv7.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hdf5-1.14.3/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-hdf5-1.14.3-qvu3z3lghzh6vlox6af35fxe23phyqv7.spack
==> Extracting hdf5-1.14.3-qvu3z3lghzh6vlox6af35fxe23phyqv7 from binary cache
==> hdf5: Successfully installed hdf5-1.14.3-qvu3z3lghzh6vlox6af35fxe23phyqv7
  Search: 0.00s.  Fetch: 0.05s.  Install: 1.24s.  Extract: 1.06s.  Relocate: 0.16s.  Total: 1.30s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hdf5-1.14.3-qvu3z3lghzh6vlox6af35fxe23phyqv7

We’ll do a quick check in on what we have installed so far.

$ spack find -ldf
-- linux-ubuntu22.04-x86_64_v3 / clang@14.0.0 -------------------
xvsfmyv glibc@2.35%clang

clquewj gmake@4.4.1%clang
xvsfmyv     glibc@2.35%clang

anfehzn tcl@8.6.12%clang
xvsfmyv     glibc@2.35%clang
clquewj     gmake@4.4.1%clang
4ffssvw     zlib-ng@2.0.7%clang

4ffssvw zlib-ng@2.0.7%clang
xvsfmyv     glibc@2.35%clang
clquewj     gmake@4.4.1%clang

tzedx4j zlib-ng@2.1.6%clang
xvsfmyv     glibc@2.35%clang
clquewj     gmake@4.4.1%clang


-- linux-ubuntu22.04-x86_64_v3 / gcc@10.5.0 ---------------------
gio4whb gcc-runtime@10.5.0%gcc
tcngwuv     glibc@2.35%gcc

tcngwuv glibc@2.35%gcc

t7egtll gmake@4.4.1%gcc
gio4whb     gcc-runtime@10.5.0%gcc
tcngwuv     glibc@2.35%gcc

2wtyhbq zlib-ng@2.1.6%gcc
gio4whb     gcc-runtime@10.5.0%gcc
tcngwuv     glibc@2.35%gcc
t7egtll     gmake@4.4.1%gcc


-- linux-ubuntu22.04-x86_64_v3 / gcc@11.4.0 ---------------------
ljmgup2 autoconf@2.72%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
7d6p4sf     m4@1.4.19%gcc
mhzfdlk 	diffutils@3.10%gcc
jwy3fyz 	libsigsegv@2.14%gcc
uliw6sp     perl@5.38.0%gcc
br27jq6 	berkeley-db@18.1.40%gcc
qmy6dpi 	bzip2@1.0.8%gcc
ohbrdtp 	gdbm@1.23%gcc
cb6x34k 	    readline@8.2%gcc
gk4xs2i 		ncurses@6.5%gcc
h3x3l7s 		    pkgconf@2.2.0%gcc
xqtp62n 	zlib-ng@2.1.6%gcc

p742yhm automake@1.16.5%gcc
ljmgup2     autoconf@2.72%gcc
7d6p4sf 	m4@1.4.19%gcc
mhzfdlk 	    diffutils@3.10%gcc
jwy3fyz 	    libsigsegv@2.14%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
uliw6sp     perl@5.38.0%gcc
br27jq6 	berkeley-db@18.1.40%gcc
qmy6dpi 	bzip2@1.0.8%gcc
ohbrdtp 	gdbm@1.23%gcc
cb6x34k 	    readline@8.2%gcc
gk4xs2i 		ncurses@6.5%gcc
h3x3l7s 		    pkgconf@2.2.0%gcc
xqtp62n 	zlib-ng@2.1.6%gcc

br27jq6 berkeley-db@18.1.40%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc

6wy33u6 bison@3.8.2%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
7d6p4sf     m4@1.4.19%gcc
mhzfdlk 	diffutils@3.10%gcc
jwy3fyz 	libsigsegv@2.14%gcc

qmy6dpi bzip2@1.0.8%gcc
mhzfdlk     diffutils@3.10%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc

yw5x67u ca-certificates-mozilla@2023-05-30%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc

fkjttm2 cmake@3.27.9%gcc
cc6xd2h     curl@8.7.1%gcc
pn6bnmh 	nghttp2@1.57.0%gcc
mhzfdlk 	    diffutils@3.10%gcc
vunusyx 	openssl@3.3.0%gcc
yw5x67u 	    ca-certificates-mozilla@2023-05-30%gcc
uliw6sp 	perl@5.38.0%gcc
br27jq6 	    berkeley-db@18.1.40%gcc
qmy6dpi 	    bzip2@1.0.8%gcc
ohbrdtp 	    gdbm@1.23%gcc
cb6x34k 		readline@8.2%gcc
h3x3l7s 	pkgconf@2.2.0%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
gk4xs2i     ncurses@6.5%gcc
xqtp62n     zlib-ng@2.1.6%gcc

cc6xd2h curl@8.7.1%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
pn6bnmh     nghttp2@1.57.0%gcc
mhzfdlk 	diffutils@3.10%gcc
vunusyx     openssl@3.3.0%gcc
yw5x67u 	ca-certificates-mozilla@2023-05-30%gcc
uliw6sp     perl@5.38.0%gcc
br27jq6 	berkeley-db@18.1.40%gcc
qmy6dpi 	bzip2@1.0.8%gcc
ohbrdtp 	gdbm@1.23%gcc
cb6x34k 	    readline@8.2%gcc
gk4xs2i 		ncurses@6.5%gcc
h3x3l7s     pkgconf@2.2.0%gcc
xqtp62n     zlib-ng@2.1.6%gcc

mhzfdlk diffutils@3.10%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc

qhjiz57 expat@2.6.2%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
ca45y6k     libbsd@0.12.1%gcc
evfudm6 	libmd@1.0.4%gcc

v4yzc2w findutils@4.9.0%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc

f47qm6q gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc

ohbrdtp gdbm@1.23%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
cb6x34k     readline@8.2%gcc
gk4xs2i 	ncurses@6.5%gcc
h3x3l7s 	    pkgconf@2.2.0%gcc

eux6e6v gettext@0.22.5%gcc
qmy6dpi     bzip2@1.0.8%gcc
mhzfdlk 	diffutils@3.10%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
jv5es2y     libxml2@2.10.3%gcc
h3x3l7s 	pkgconf@2.2.0%gcc
xqtp62n 	zlib-ng@2.1.6%gcc
gk4xs2i     ncurses@6.5%gcc
wx4xfdn     tar@1.34%gcc
gk55zt7 	pigz@2.8%gcc
ew3aaos 	zstd@1.5.6%gcc
syttnnt     xz@5.4.6%gcc

a7drdl4 glibc@2.35%gcc

qfrotcc gmake@4.4.1%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc

2sexbnq hdf5@1.14.3%gcc
fkjttm2     cmake@3.27.9%gcc
cc6xd2h 	curl@8.7.1%gcc
pn6bnmh 	    nghttp2@1.57.0%gcc
mhzfdlk 		diffutils@3.10%gcc
vunusyx 	    openssl@3.3.0%gcc
yw5x67u 		ca-certificates-mozilla@2023-05-30%gcc
uliw6sp 	    perl@5.38.0%gcc
br27jq6 		berkeley-db@18.1.40%gcc
qmy6dpi 		bzip2@1.0.8%gcc
ohbrdtp 		gdbm@1.23%gcc
cb6x34k 		    readline@8.2%gcc
gk4xs2i 	ncurses@6.5%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
h3x3l7s     pkgconf@2.2.0%gcc
xqtp62n     zlib-ng@2.1.6%gcc

rprkf3q hdf5@1.14.3%gcc
fkjttm2     cmake@3.27.9%gcc
cc6xd2h 	curl@8.7.1%gcc
pn6bnmh 	    nghttp2@1.57.0%gcc
mhzfdlk 		diffutils@3.10%gcc
vunusyx 	    openssl@3.3.0%gcc
yw5x67u 		ca-certificates-mozilla@2023-05-30%gcc
gk4xs2i 	ncurses@6.5%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
kzonshw     openmpi@5.0.3%gcc
ljmgup2 	autoconf@2.72%gcc
7d6p4sf 	    m4@1.4.19%gcc
jwy3fyz 		libsigsegv@2.14%gcc
p742yhm 	automake@1.16.5%gcc
ujih6ik 	hwloc@2.9.1%gcc
esgx75j 	    libpciaccess@0.17%gcc
egkyddp 		util-macros@1.19.3%gcc
jv5es2y 	    libxml2@2.10.3%gcc
syttnnt 		xz@5.4.6%gcc
uv2twd5 	libevent@2.1.12%gcc
lop7htu 	libtool@2.4.7%gcc
v4yzc2w 	    findutils@4.9.0%gcc
oece2d6 	numactl@2.0.14%gcc
iiuja4v 	openssh@9.7p1%gcc
kqbte2e 	    krb5@1.20.1%gcc
6wy33u6 		bison@3.8.2%gcc
eux6e6v 		gettext@0.22.5%gcc
wx4xfdn 		    tar@1.34%gcc
gk55zt7 			pigz@2.8%gcc
ew3aaos 			zstd@1.5.6%gcc
swglgxe 	    libedit@3.1-20230828%gcc
qwi6aof 	    libxcrypt@4.4.35%gcc
uliw6sp 	perl@5.38.0%gcc
br27jq6 	    berkeley-db@18.1.40%gcc
qmy6dpi 	    bzip2@1.0.8%gcc
ohbrdtp 	    gdbm@1.23%gcc
cb6x34k 		readline@8.2%gcc
bzewb3i 	pmix@5.0.1%gcc
h3x3l7s     pkgconf@2.2.0%gcc
xqtp62n     zlib-ng@2.1.6%gcc

qvu3z3l hdf5@1.14.3%gcc
fkjttm2     cmake@3.27.9%gcc
cc6xd2h 	curl@8.7.1%gcc
pn6bnmh 	    nghttp2@1.57.0%gcc
mhzfdlk 		diffutils@3.10%gcc
vunusyx 	    openssl@3.3.0%gcc
yw5x67u 		ca-certificates-mozilla@2023-05-30%gcc
uliw6sp 	    perl@5.38.0%gcc
br27jq6 		berkeley-db@18.1.40%gcc
qmy6dpi 		bzip2@1.0.8%gcc
ohbrdtp 		gdbm@1.23%gcc
gk4xs2i 	ncurses@6.5%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
ovudrqh     mpich@4.2.1%gcc
v4yzc2w 	findutils@4.9.0%gcc
ujih6ik 	hwloc@2.9.1%gcc
3z7q5qf 	libfabric@1.21.0%gcc
esgx75j 	libpciaccess@0.17%gcc
lop7htu 	    libtool@2.4.7%gcc
egkyddp 	    util-macros@1.19.3%gcc
jv5es2y 	libxml2@2.10.3%gcc
syttnnt 	    xz@5.4.6%gcc
47js6ms 	yaksa@0.3%gcc
ljmgup2 	    autoconf@2.72%gcc
p742yhm 	    automake@1.16.5%gcc
7d6p4sf 	    m4@1.4.19%gcc
jwy3fyz 		libsigsegv@2.14%gcc
2esnie5 	    python@3.11.7%gcc
qhjiz57 		expat@2.6.2%gcc
ca45y6k 		    libbsd@0.12.1%gcc
evfudm6 			libmd@1.0.4%gcc
eux6e6v 		gettext@0.22.5%gcc
wx4xfdn 		    tar@1.34%gcc
gk55zt7 			pigz@2.8%gcc
ew3aaos 			zstd@1.5.6%gcc
dcinbzl 		libffi@3.4.6%gcc
qwi6aof 		libxcrypt@4.4.35%gcc
cb6x34k 		readline@8.2%gcc
ejzddmp 		sqlite@3.43.2%gcc
xshts7x 		util-linux-uuid@2.38.1%gcc
h3x3l7s     pkgconf@2.2.0%gcc
xqtp62n     zlib-ng@2.1.6%gcc

ujih6ik hwloc@2.9.1%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
esgx75j     libpciaccess@0.17%gcc
lop7htu 	libtool@2.4.7%gcc
v4yzc2w 	    findutils@4.9.0%gcc
7d6p4sf 	    m4@1.4.19%gcc
mhzfdlk 		diffutils@3.10%gcc
jwy3fyz 		libsigsegv@2.14%gcc
egkyddp 	util-macros@1.19.3%gcc
jv5es2y     libxml2@2.10.3%gcc
syttnnt 	xz@5.4.6%gcc
xqtp62n 	zlib-ng@2.1.6%gcc
gk4xs2i     ncurses@6.5%gcc
h3x3l7s     pkgconf@2.2.0%gcc

kqbte2e krb5@1.20.1%gcc
6wy33u6     bison@3.8.2%gcc
7d6p4sf 	m4@1.4.19%gcc
jwy3fyz 	    libsigsegv@2.14%gcc
mhzfdlk     diffutils@3.10%gcc
v4yzc2w     findutils@4.9.0%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
eux6e6v     gettext@0.22.5%gcc
qmy6dpi 	bzip2@1.0.8%gcc
jv5es2y 	libxml2@2.10.3%gcc
h3x3l7s 	    pkgconf@2.2.0%gcc
gk4xs2i 	ncurses@6.5%gcc
wx4xfdn 	tar@1.34%gcc
gk55zt7 	    pigz@2.8%gcc
ew3aaos 	    zstd@1.5.6%gcc
syttnnt 	xz@5.4.6%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
vunusyx     openssl@3.3.0%gcc
yw5x67u 	ca-certificates-mozilla@2023-05-30%gcc
xqtp62n 	zlib-ng@2.1.6%gcc
uliw6sp     perl@5.38.0%gcc
br27jq6 	berkeley-db@18.1.40%gcc
ohbrdtp 	gdbm@1.23%gcc
cb6x34k 	    readline@8.2%gcc

ca45y6k libbsd@0.12.1%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
evfudm6     libmd@1.0.4%gcc

swglgxe libedit@3.1-20230828%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
gk4xs2i     ncurses@6.5%gcc
h3x3l7s     pkgconf@2.2.0%gcc

uv2twd5 libevent@2.1.12%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
vunusyx     openssl@3.3.0%gcc
yw5x67u 	ca-certificates-mozilla@2023-05-30%gcc
uliw6sp 	perl@5.38.0%gcc
br27jq6 	    berkeley-db@18.1.40%gcc
qmy6dpi 	    bzip2@1.0.8%gcc
mhzfdlk 		diffutils@3.10%gcc
ohbrdtp 	    gdbm@1.23%gcc
cb6x34k 		readline@8.2%gcc
gk4xs2i 		    ncurses@6.5%gcc
h3x3l7s 			pkgconf@2.2.0%gcc
xqtp62n 	zlib-ng@2.1.6%gcc

3z7q5qf libfabric@1.21.0%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc

dcinbzl libffi@3.4.6%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc

evfudm6 libmd@1.0.4%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc

esgx75j libpciaccess@0.17%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
lop7htu     libtool@2.4.7%gcc
v4yzc2w 	findutils@4.9.0%gcc
7d6p4sf 	m4@1.4.19%gcc
mhzfdlk 	    diffutils@3.10%gcc
jwy3fyz 	    libsigsegv@2.14%gcc
h3x3l7s     pkgconf@2.2.0%gcc
egkyddp     util-macros@1.19.3%gcc

jwy3fyz libsigsegv@2.14%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc

lop7htu libtool@2.4.7%gcc
v4yzc2w     findutils@4.9.0%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
7d6p4sf     m4@1.4.19%gcc
mhzfdlk 	diffutils@3.10%gcc
jwy3fyz 	libsigsegv@2.14%gcc

qwi6aof libxcrypt@4.4.35%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
uliw6sp     perl@5.38.0%gcc
br27jq6 	berkeley-db@18.1.40%gcc
qmy6dpi 	bzip2@1.0.8%gcc
mhzfdlk 	    diffutils@3.10%gcc
ohbrdtp 	gdbm@1.23%gcc
cb6x34k 	    readline@8.2%gcc
gk4xs2i 		ncurses@6.5%gcc
h3x3l7s 		    pkgconf@2.2.0%gcc
xqtp62n 	zlib-ng@2.1.6%gcc

jv5es2y libxml2@2.10.3%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
h3x3l7s     pkgconf@2.2.0%gcc
syttnnt     xz@5.4.6%gcc
xqtp62n     zlib-ng@2.1.6%gcc

7d6p4sf m4@1.4.19%gcc
mhzfdlk     diffutils@3.10%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
jwy3fyz     libsigsegv@2.14%gcc

ovudrqh mpich@4.2.1%gcc
v4yzc2w     findutils@4.9.0%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
ujih6ik     hwloc@2.9.1%gcc
gk4xs2i 	ncurses@6.5%gcc
3z7q5qf     libfabric@1.21.0%gcc
esgx75j     libpciaccess@0.17%gcc
lop7htu 	libtool@2.4.7%gcc
egkyddp 	util-macros@1.19.3%gcc
jv5es2y     libxml2@2.10.3%gcc
syttnnt 	xz@5.4.6%gcc
xqtp62n 	zlib-ng@2.1.6%gcc
h3x3l7s     pkgconf@2.2.0%gcc
47js6ms     yaksa@0.3%gcc
ljmgup2 	autoconf@2.72%gcc
uliw6sp 	    perl@5.38.0%gcc
br27jq6 		berkeley-db@18.1.40%gcc
p742yhm 	automake@1.16.5%gcc
7d6p4sf 	m4@1.4.19%gcc
mhzfdlk 	    diffutils@3.10%gcc
jwy3fyz 	    libsigsegv@2.14%gcc
2esnie5 	python@3.11.7%gcc
qmy6dpi 	    bzip2@1.0.8%gcc
qhjiz57 	    expat@2.6.2%gcc
ca45y6k 		libbsd@0.12.1%gcc
evfudm6 		    libmd@1.0.4%gcc
ohbrdtp 	    gdbm@1.23%gcc
eux6e6v 	    gettext@0.22.5%gcc
wx4xfdn 		tar@1.34%gcc
gk55zt7 		    pigz@2.8%gcc
ew3aaos 		    zstd@1.5.6%gcc
dcinbzl 	    libffi@3.4.6%gcc
qwi6aof 	    libxcrypt@4.4.35%gcc
vunusyx 	    openssl@3.3.0%gcc
yw5x67u 		ca-certificates-mozilla@2023-05-30%gcc
cb6x34k 	    readline@8.2%gcc
ejzddmp 	    sqlite@3.43.2%gcc
xshts7x 	    util-linux-uuid@2.38.1%gcc

gk4xs2i ncurses@6.5%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
h3x3l7s     pkgconf@2.2.0%gcc

pn6bnmh nghttp2@1.57.0%gcc
mhzfdlk     diffutils@3.10%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
h3x3l7s     pkgconf@2.2.0%gcc

oece2d6 numactl@2.0.14%gcc
ljmgup2     autoconf@2.72%gcc
uliw6sp 	perl@5.38.0%gcc
br27jq6 	    berkeley-db@18.1.40%gcc
qmy6dpi 	    bzip2@1.0.8%gcc
ohbrdtp 	    gdbm@1.23%gcc
cb6x34k 		readline@8.2%gcc
gk4xs2i 		    ncurses@6.5%gcc
h3x3l7s 			pkgconf@2.2.0%gcc
xqtp62n 	    zlib-ng@2.1.6%gcc
p742yhm     automake@1.16.5%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
lop7htu     libtool@2.4.7%gcc
v4yzc2w 	findutils@4.9.0%gcc
7d6p4sf     m4@1.4.19%gcc
mhzfdlk 	diffutils@3.10%gcc
jwy3fyz 	libsigsegv@2.14%gcc

kzonshw openmpi@5.0.3%gcc
ljmgup2     autoconf@2.72%gcc
7d6p4sf 	m4@1.4.19%gcc
mhzfdlk 	    diffutils@3.10%gcc
jwy3fyz 	    libsigsegv@2.14%gcc
p742yhm     automake@1.16.5%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
ujih6ik     hwloc@2.9.1%gcc
esgx75j 	libpciaccess@0.17%gcc
egkyddp 	    util-macros@1.19.3%gcc
jv5es2y 	libxml2@2.10.3%gcc
syttnnt 	    xz@5.4.6%gcc
gk4xs2i 	ncurses@6.5%gcc
uv2twd5     libevent@2.1.12%gcc
vunusyx 	openssl@3.3.0%gcc
yw5x67u 	    ca-certificates-mozilla@2023-05-30%gcc
lop7htu     libtool@2.4.7%gcc
v4yzc2w 	findutils@4.9.0%gcc
oece2d6     numactl@2.0.14%gcc
iiuja4v     openssh@9.7p1%gcc
kqbte2e 	krb5@1.20.1%gcc
6wy33u6 	    bison@3.8.2%gcc
eux6e6v 	    gettext@0.22.5%gcc
wx4xfdn 		tar@1.34%gcc
gk55zt7 		    pigz@2.8%gcc
ew3aaos 		    zstd@1.5.6%gcc
swglgxe 	libedit@3.1-20230828%gcc
qwi6aof 	libxcrypt@4.4.35%gcc
uliw6sp     perl@5.38.0%gcc
br27jq6 	berkeley-db@18.1.40%gcc
qmy6dpi 	bzip2@1.0.8%gcc
ohbrdtp 	gdbm@1.23%gcc
cb6x34k 	    readline@8.2%gcc
h3x3l7s     pkgconf@2.2.0%gcc
bzewb3i     pmix@5.0.1%gcc
xqtp62n     zlib-ng@2.1.6%gcc

iiuja4v openssh@9.7p1%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
kqbte2e     krb5@1.20.1%gcc
6wy33u6 	bison@3.8.2%gcc
7d6p4sf 	    m4@1.4.19%gcc
jwy3fyz 		libsigsegv@2.14%gcc
mhzfdlk 	diffutils@3.10%gcc
v4yzc2w 	findutils@4.9.0%gcc
eux6e6v 	gettext@0.22.5%gcc
qmy6dpi 	    bzip2@1.0.8%gcc
jv5es2y 	    libxml2@2.10.3%gcc
wx4xfdn 	    tar@1.34%gcc
gk55zt7 		pigz@2.8%gcc
ew3aaos 		zstd@1.5.6%gcc
syttnnt 	    xz@5.4.6%gcc
uliw6sp 	perl@5.38.0%gcc
br27jq6 	    berkeley-db@18.1.40%gcc
ohbrdtp 	    gdbm@1.23%gcc
cb6x34k 		readline@8.2%gcc
swglgxe     libedit@3.1-20230828%gcc
h3x3l7s 	pkgconf@2.2.0%gcc
qwi6aof     libxcrypt@4.4.35%gcc
gk4xs2i     ncurses@6.5%gcc
vunusyx     openssl@3.3.0%gcc
yw5x67u 	ca-certificates-mozilla@2023-05-30%gcc
xqtp62n     zlib-ng@2.1.6%gcc

vunusyx openssl@3.3.0%gcc
yw5x67u     ca-certificates-mozilla@2023-05-30%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
uliw6sp     perl@5.38.0%gcc
br27jq6 	berkeley-db@18.1.40%gcc
qmy6dpi 	bzip2@1.0.8%gcc
mhzfdlk 	    diffutils@3.10%gcc
ohbrdtp 	gdbm@1.23%gcc
cb6x34k 	    readline@8.2%gcc
gk4xs2i 		ncurses@6.5%gcc
h3x3l7s 		    pkgconf@2.2.0%gcc
xqtp62n     zlib-ng@2.1.6%gcc

uliw6sp perl@5.38.0%gcc
br27jq6     berkeley-db@18.1.40%gcc
qmy6dpi     bzip2@1.0.8%gcc
mhzfdlk 	diffutils@3.10%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
ohbrdtp     gdbm@1.23%gcc
cb6x34k 	readline@8.2%gcc
gk4xs2i 	    ncurses@6.5%gcc
h3x3l7s 		pkgconf@2.2.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
xqtp62n     zlib-ng@2.1.6%gcc

gk55zt7 pigz@2.8%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
xqtp62n     zlib-ng@2.1.6%gcc

h3x3l7s pkgconf@2.2.0%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc

bzewb3i pmix@5.0.1%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
ujih6ik     hwloc@2.9.1%gcc
esgx75j 	libpciaccess@0.17%gcc
lop7htu 	    libtool@2.4.7%gcc
v4yzc2w 		findutils@4.9.0%gcc
7d6p4sf 		m4@1.4.19%gcc
mhzfdlk 		    diffutils@3.10%gcc
jwy3fyz 		    libsigsegv@2.14%gcc
egkyddp 	    util-macros@1.19.3%gcc
jv5es2y 	libxml2@2.10.3%gcc
syttnnt 	    xz@5.4.6%gcc
xqtp62n 	    zlib-ng@2.1.6%gcc
gk4xs2i 	ncurses@6.5%gcc
uv2twd5     libevent@2.1.12%gcc
vunusyx 	openssl@3.3.0%gcc
yw5x67u 	    ca-certificates-mozilla@2023-05-30%gcc
uliw6sp 	    perl@5.38.0%gcc
br27jq6 		berkeley-db@18.1.40%gcc
qmy6dpi 		bzip2@1.0.8%gcc
ohbrdtp 		gdbm@1.23%gcc
cb6x34k 		    readline@8.2%gcc
h3x3l7s     pkgconf@2.2.0%gcc

2esnie5 python@3.11.7%gcc
qmy6dpi     bzip2@1.0.8%gcc
mhzfdlk 	diffutils@3.10%gcc
qhjiz57     expat@2.6.2%gcc
ca45y6k 	libbsd@0.12.1%gcc
evfudm6 	    libmd@1.0.4%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
ohbrdtp     gdbm@1.23%gcc
eux6e6v     gettext@0.22.5%gcc
jv5es2y 	libxml2@2.10.3%gcc
wx4xfdn 	tar@1.34%gcc
gk55zt7 	    pigz@2.8%gcc
ew3aaos 	    zstd@1.5.6%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
dcinbzl     libffi@3.4.6%gcc
qwi6aof     libxcrypt@4.4.35%gcc
uliw6sp 	perl@5.38.0%gcc
br27jq6 	    berkeley-db@18.1.40%gcc
gk4xs2i     ncurses@6.5%gcc
vunusyx     openssl@3.3.0%gcc
yw5x67u 	ca-certificates-mozilla@2023-05-30%gcc
h3x3l7s     pkgconf@2.2.0%gcc
cb6x34k     readline@8.2%gcc
ejzddmp     sqlite@3.43.2%gcc
xshts7x     util-linux-uuid@2.38.1%gcc
syttnnt     xz@5.4.6%gcc
xqtp62n     zlib-ng@2.1.6%gcc

cb6x34k readline@8.2%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
gk4xs2i     ncurses@6.5%gcc
h3x3l7s 	pkgconf@2.2.0%gcc

ejzddmp sqlite@3.43.2%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
cb6x34k     readline@8.2%gcc
gk4xs2i 	ncurses@6.5%gcc
h3x3l7s 	    pkgconf@2.2.0%gcc
xqtp62n     zlib-ng@2.1.6%gcc

wx4xfdn tar@1.34%gcc
qmy6dpi     bzip2@1.0.8%gcc
mhzfdlk 	diffutils@3.10%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
gk55zt7     pigz@2.8%gcc
xqtp62n 	zlib-ng@2.1.6%gcc
syttnnt     xz@5.4.6%gcc
ew3aaos     zstd@1.5.6%gcc

aoh7bkq tcl@8.6.12%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
6bhcy77     zlib-ng@2.0.7%gcc  cflags=-O3

dpakck4 tcl@8.6.12%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
xqtp62n     zlib-ng@2.1.6%gcc

xshts7x util-linux-uuid@2.38.1%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
h3x3l7s     pkgconf@2.2.0%gcc

egkyddp util-macros@1.19.3%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc

syttnnt xz@5.4.6%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc

47js6ms yaksa@0.3%gcc
ljmgup2     autoconf@2.72%gcc
uliw6sp 	perl@5.38.0%gcc
br27jq6 	    berkeley-db@18.1.40%gcc
p742yhm     automake@1.16.5%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc
lop7htu     libtool@2.4.7%gcc
v4yzc2w 	findutils@4.9.0%gcc
7d6p4sf     m4@1.4.19%gcc
mhzfdlk 	diffutils@3.10%gcc
jwy3fyz 	libsigsegv@2.14%gcc
2esnie5     python@3.11.7%gcc
qmy6dpi 	bzip2@1.0.8%gcc
qhjiz57 	expat@2.6.2%gcc
ca45y6k 	    libbsd@0.12.1%gcc
evfudm6 		libmd@1.0.4%gcc
ohbrdtp 	gdbm@1.23%gcc
eux6e6v 	gettext@0.22.5%gcc
jv5es2y 	    libxml2@2.10.3%gcc
wx4xfdn 	    tar@1.34%gcc
gk55zt7 		pigz@2.8%gcc
ew3aaos 		zstd@1.5.6%gcc
dcinbzl 	libffi@3.4.6%gcc
qwi6aof 	libxcrypt@4.4.35%gcc
gk4xs2i 	ncurses@6.5%gcc
vunusyx 	openssl@3.3.0%gcc
yw5x67u 	    ca-certificates-mozilla@2023-05-30%gcc
h3x3l7s 	pkgconf@2.2.0%gcc
cb6x34k 	readline@8.2%gcc
ejzddmp 	sqlite@3.43.2%gcc
xshts7x 	util-linux-uuid@2.38.1%gcc
syttnnt 	xz@5.4.6%gcc
xqtp62n 	zlib-ng@2.1.6%gcc

dbx6km5 zlib-ng@2.0.7%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc

6bhcy77 zlib-ng@2.0.7%gcc  cflags=-O3
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc

xqtp62n zlib-ng@2.1.6%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc

ew3aaos zstd@1.5.6%gcc
f47qm6q     gcc-runtime@11.4.0%gcc
a7drdl4     glibc@2.35%gcc
qfrotcc     gmake@4.4.1%gcc

==> 67 installed packages

Spack models the dependencies of packages as a directed acyclic graph (DAG). The spack find -d command shows the tree representation of that graph. We can also use the spack graph command to view the entire DAG as a graph.

$ spack graph hdf5+hl+mpi ^mpich
o hdf5@1.14.3/qvu3z3l
|\
| |\
| | |\
| | | |\
| | | | |\
| | | | | |\
| | o | | | | mpich@4.2.1/ovudrqh
| |/| | | | |
| | |\| | | |
| | |\ \ \ \ \
| | | |\ \ \ \ \
| | | | |\ \ \ \ \
| | | | | |\ \ \ \ \
| | | | | | |\ \ \ \ \
| | | | | | | |\ \ \ \ \
| | | | | | | | |_|/ / /
| | | | | | | |/| | | |
| | | | | | | | |\ \ \ \
| | | | | | | | | |_|/ /
| | | | | | | | |/| | |
| | o | | | | | | | | | yaksa@0.3/47js6ms
| | |\ \ \ \ \ \ \ \ \ \
| | | |\ \ \ \ \ \ \ \ \ \
| | | | |\ \ \ \ \ \ \ \ \ \
| | | | | |\ \ \ \ \ \ \ \ \ \
| | | | | | |_|_|_|_|_|_|_|/ /
| | | | | |/| | | | | | | | |
| | | | | | |\ \ \ \ \ \ \ \ \
| | | | | | | |_|_|_|_|/ / / /
| | | | | | |/| | | | | | | |
| | | | | | | |\ \ \ \ \ \ \ \
| | | | | | | | |_|_|_|_|/ / /
| | | | | | | |/| | | | | | |
| | | | | | | | |\ \ \ \ \ \ \
| | o | | | | | | | | | | | | | python@3.11.7/2esnie5
| |/| | | | | | | | | | | | | |
|/|/| | | | | | | | | | | | | |
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |_|_|/ / / / / / / / / / /
| | | | | | | | | | |/| | | | | | | | | | | | |
| | | | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |_|_|/ / / / / / / / / /
| | | | | | | | | | | |/| | | | | | | | | | | |
| | | | | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | |_|_|/ / / / / / / / /
| | | | | | | | | | | | | | |/| | | | | | | | | | |
| | | | | | | | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \
| | | o | | | | | | | | | | | | | | | | | | | | | | | util-linux-uuid@2.38.1/xshts7x
| | |/| | | | | | | | | | | | | | | | | | | | | | | |
| |/| | | | | | | | | | | | | | | | | | | | | | | | |
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | |_|_|_|_|_|_|/ / / / / / / / / / / / / / / / /
| | | |/| | | | | | | | | | | | | | | | | | | | | | |
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | |_|_|_|_|_|_|/ / / / / / / / / / / / / / / /
| | | | |/| | | | | | | | | | | | | | | | | | | | | |
| | | | | | |_|_|_|_|_|_|/ / / / / / / / / / / / / /
| | | | | |/| | | | | | | | | | | | | | | | | | | |
| | | | | | o | | | | | | | | | | | | | | | | | | | sqlite@3.43.2/ejzddmp
| |_|_|_|_|/| | | | | | | | | | | | | | | | | | | |
|/| | | |_|/| | | | | | | | | | | | | | | | | | | |
| | | |/| |/| | | | | | | | | | | | | | | | | | | |
| | | | |/|/| | | | | | | | | | | | | | | | | | | |
| | | | | | |/ / / / / / / / / / / / / / / / / / /
| | | | | | | | | o | | | | | | | | | | | | | | | libxcrypt@4.4.35/qwi6aof
| | | | |_|_|_|_|/| | | | | | | | | | | | | | | |
| | | |/| |_|_|_|/| | | | | | | | | | | | | | | |
| | | | |/| |_|_|/| | | | | | | | | | | | | | | |
| | | | | |/| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | o | | | | | | | | | | | | | | libffi@3.4.6/dcinbzl
| | | | |_|_|_|_|_|/| | | | | | | | | | | | | | |
| | | |/| |_|_|_|_|/| | | | | | | | | | | | | | |
| | | | |/| |_|_|_|/ / / / / / / / / / / / / / /
| | | | | |/| | | | | | | | | | | | | | | | | |
| | | | | | | | | | o | | | | | | | | | | | | | gettext@0.22.5/eux6e6v
| | | |_|_|_|_|_|_|/| | | | | | | | | | | | | |
| | |/| |_|_|_|_|_|/| | | | | | | | | | | | | |
| | | |/| |_|_|_|_|/| | | | | | | | | | | | | |
| | | | |/| |_|_|_|/| | | | | | | | | | | | | |
| | | | | |/| | | |/| | | | | | | | | | | | | |
| | | | | | | | |/| | | | | | | | | | | | | | |
| | | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |_|_|_|_|_|_|_|/ / / / / /
| | | | | | | | | | | |/| | | | | | | | | | | | |
| | | | | | | | | | | | | |/ / / / / / / / / / /
| | | | | | | | | | | | |/| | | | | | | | | | |
| | | | | | | | | | o | | | | | | | | | | | | | tar@1.34/wx4xfdn
| | | |_|_|_|_|_|_|/| | | | | | | | | | | | | |
| | |/| |_|_|_|_|_|/| | | | | | | | | | | | | |
| | | |/| |_|_|_|_|/| | | | | | | | | | | | | |
| | | | |/| |_|_|_|/| | | | | | | | | | | | | |
| | | | | |/| | | | | | | | | | | | | | | | | |
| | | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |/ / / / / / / / / / / /
| | | | | | | | | | | | |/| | | | | | | | | | | |
| | | | | | | | | | o | | | | | | | | | | | | | | zstd@1.5.6/ew3aaos
| | | | |_|_|_|_|_|/| | | | | | | | | | | | | | |
| | | |/| |_|_|_|_|/| | | | | | | | | | | | | | |
| | | | |/| |_|_|_|/ / / / / / / / / / / / / / /
| | | | | |/| | | | | | | | | | | | | | | | | |
| | | | | | | | | | o | | | | | | | | | | | | | pigz@2.8/gk55zt7
| |_|_|_|_|_|_|_|_|/| | | | | | | | | | | | | |
|/| | | |_|_|_|_|_|/| | | | | | | | | | | | | |
| | | |/| |_|_|_|_|/| | | | | | | | | | | | | |
| | | | |/| |_|_|_|/ / / / / / / / / / / / / /
| | | | | |/| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | o | | | | | | | | | expat@2.6.2/qhjiz57
| | | | |_|_|_|_|_|_|_|_|/| | | | | | | | | |
| | | |/| |_|_|_|_|_|_|_|/| | | | | | | | | |
| | | | |/| |_|_|_|_|_|_|/| | | | | | | | | |
| | | | | |/| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | o | | | | | | | | | libbsd@0.12.1/ca45y6k
| | | | |_|_|_|_|_|_|_|_|/| | | | | | | | | |
| | | |/| |_|_|_|_|_|_|_|/| | | | | | | | | |
| | | | |/| |_|_|_|_|_|_|/| | | | | | | | | |
| | | | | |/| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | o | | | | | | | | | libmd@1.0.4/evfudm6
| | | | |_|_|_|_|_|_|_|_|/| | | | | | | | | |
| | | |/| |_|_|_|_|_|_|_|/| | | | | | | | | |
| | | | |/| |_|_|_|_|_|_|/ / / / / / / / / /
| | | | | |/| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | o | | | | | | automake@1.16.5/p742yhm
| | | | |_|_|_|_|_|_|_|_|_|_|/| | | | | | |
| | | |/| |_|_|_|_|_|_|_|_|_|/| | | | | | |
| | | | |/| |_|_|_|_|_|_|_|_|/| | | | | | |
| | | | | |/| | | | |_|_|_|_|/| | | | | | |
| | | | | | | | | |/| | | | | | | | | | | |
| | | | | | | | | | | | | | | |/ / / / / /
| | | | | | | | | | | | | | | o | | | | | autoconf@2.72/ljmgup2
| | | | |_|_|_|_|_|_|_|_|_|_|/| | | | | |
| | | |/| |_|_|_|_|_|_|_|_|_|/| | | | | |
| | | | |/| |_|_|_|_|_|_|_|_|/| | | | | |
| | | | | |/| | | | |_|_|_|_|/| | | | | |
| | | | | | | | | |/| | | | |/ / / / / /
| | | | | | | | | | | | | |/| | | | | |
| | | | | | | | | | | | | | | | o | | | libfabric@1.21.0/3z7q5qf
| | | | |_|_|_|_|_|_|_|_|_|_|_|/| | | |
| | | |/| |_|_|_|_|_|_|_|_|_|_|/| | | |
| | | | |/| |_|_|_|_|_|_|_|_|_|/ / / /
| | | | | |/| | | | | | | | | | | | |
| | | | | | | | | | | | | | | | o | | hwloc@2.9.1/ujih6ik
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|/| | |
| |/| | |_|_|_|_|_|_|_|_|_|_|_|/| | |
| | | |/| |_|_|_|_|_|_|_|_|_|_|/| | |
| | | | |/| |_|_|_|_|_|_|_|_|_|/| | |
| | | | | |/| | | |_|_|_|_|_|_|/| | |
| | | | | | | | |/| | | |_|_|_|/| | |
| | | | | | | | | | | |/| | | |/ / /
| | | | | | | | | | | o | | | | | | libxml2@2.10.3/jv5es2y
| |_|_|_|_|_|_|_|_|_|/| | | | | | |
|/| |_|_|_|_|_|_|_|_|/| | | | | | |
| |/| |_|_|_|_|_|_|_|/| | | | | | |
| | |/| |_|_|_|_|_|_|/| | | | | | |
| | | |/| |_|_|_|_|_|/| | | | | | |
| | | | |/| |_|_|_|_|/ / / / / / /
| | | | | |/| | | | | | | | | | |
| | o | | | | | | | | | | | | | | xz@5.4.6/syttnnt
| | |\| | | | | | | | | | | | | |
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | |_|/ / / / / / / / / / / / /
| | |/| | | | | | | | | | | | | |
| | | |/ / / / / / / / / / / / /
| | | | | | | | | | | | | o | | libpciaccess@0.17/esgx75j
| | |_|_|_|_|_|_|_|_|_|_|/| | |
| |/| |_|_|_|_|_|_|_|_|_|/| | |
| | |/| |_|_|_|_|_|_|_|_|/| | |
| | | |/| |_|_|_|_|_|_|_|/| | |
| | | | |/| | | | | | | |/| | |
| | | | | | | | | | | | | o | | util-macros@1.19.3/egkyddp
| | | |_|_|_|_|_|_|_|_|_|/| | |
| | |/| |_|_|_|_|_|_|_|_|/| | |
| | | |/| |_|_|_|_|_|_|_|/ / /
| | | | |/| | | | | | | | | |
| | | | | | | | | | | | o | | libtool@2.4.7/lop7htu
| | | |_|_|_|_|_|_|_|_|/| | |
| | |/| |_|_|_|_|_|_|_|/| | |
| | | |/| |_|_|_|_|_|_|/| | |
| | | | |/| | | | | | |/| | |
| | | | | | | | | | | | |/ /
| | | | | | | | | | | o | | m4@1.4.19/7d6p4sf
| | | |_|_|_|_|_|_|_|/| | |
| | |/| |_|_|_|_|_|_|/| | |
| | | |/| |_|_|_|_|_|/| | |
| | | | |/| | | | | | | | |
| | | | | | | | | | | |\ \ \
| | | | | | | | | | | o | | | libsigsegv@2.14/jwy3fyz
| | | |_|_|_|_|_|_|_|/| | | |
| | |/| |_|_|_|_|_|_|/| | | |
| | | |/| |_|_|_|_|_|/ / / /
| | | | |/| | | | | | | | |
| | | | | | | | | | | | o | findutils@4.9.0/v4yzc2w
| | | |_|_|_|_|_|_|_|_|/| |
| | |/| |_|_|_|_|_|_|_|/| |
| | | |/| |_|_|_|_|_|_|/ /
| | | | |/| | | | | | | |
| | | | | | | | | | | | o cmake@3.27.9/fkjttm2
| |_|_|_|_|_|_|_|_|_|_|/|
|/| | |_|_|_|_|_|_|_|_|/|
| | |/| |_|_|_|_|_|_|_|/|
| | | |/| |_|_|_|_|_|_|/|
| | | | |/| | | |_|_|_|/|
| | | | | | | |/| | | | |
| | | | | | | | | | | | o curl@8.7.1/cc6xd2h
| |_|_|_|_|_|_|_|_|_|_|/|
|/| |_|_|_|_|_|_|_|_|_|/|
| |/| |_|_|_|_|_|_|_|_|/|
| | |/| |_|_|_|_|_|_|_|/|
| | | |/| |_|_|_|_|_|_|/|
| | | | |/| | |_|_|_|_|/|
| | | | | | |/| | |_|_|/|
| | | | | | | | |/| | | |
| | | | | | o | | | | | | openssl@3.3.0/vunusyx
| |_|_|_|_|/| | | | | | |
|/| | |_|_|/| | | | | | |
| | |/| |_|/| | | | | | |
| | | |/| |/| | | | | | |
| | | | |/| | | | | | | |
| | | | | | |\ \ \ \ \ \ \
| | | | | | | |_|/ / / / /
| | | | | | |/| | | | | |
| | | | | | o | | | | | | perl@5.38.0/uliw6sp
| |_|_|_|_|/| | | | | | |
|/| | |_|_|/| | | | | | |
| | |/| |_|/| | | | | | |
| | | |/| |/| | | | | | |
| | | | |/| | | | | | | |
| | | | | | |\ \ \ \ \ \ \
| | | | | | | |_|_|_|/ / /
| | | | | | |/| | | | | |
| | | | | | | |\ \ \ \ \ \
| | | | | | | | |_|_|/ / /
| | | | | | | |/| | | | |
o | | | | | | | | | | | | zlib-ng@2.1.6/xqtp62n
|\ \ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / / / / /
|/| | | | | | | | | | | |
| |\ \ \ \ \ \ \ \ \ \ \ \
| | |_|/ / / / / / / / / /
| |/| | | | | | | | | | |
| | |/ / / / / / / / / /
| | | | | o | | | | | | gdbm@1.23/ohbrdtp
| |_|_|_|/| | | | | | |
|/| |_|_|/| | | | | | |
| |/| |_|/| | | | | | |
| | |/| |/ / / / / / /
| | | | o | | | | | | readline@8.2/cb6x34k
| |_|_|/| | | | | | |
|/| |_|/| | | | | | |
| |/| |/| | | | | | |
| | |/| | | | | | | |
| | | | | |_|_|/ / /
| | | | |/| | | | |
| | | | o | | | | | ncurses@6.5/gk4xs2i
| |_|_|/| | | | | |
|/| |_|/| | | | | |
| |/| |/| | | | | |
| | |/|/ / / / / /
| | | | o | | | | bzip2@1.0.8/qmy6dpi
| |_|_|/| | | | |
|/| |_|/| | | | |
| |/| |/| | | | |
| | |/| | | | | |
| | | | | |_|/ /
| | | | |/| | |
| | | | | o | | berkeley-db@18.1.40/br27jq6
| |_|_|_|/| | |
|/| |_|_|/| | |
| |/| |_|/ / /
| | |/| | | |
| | | | | o | ca-certificates-mozilla@2023-05-30/yw5x67u
| | |_|_|/| |
| |/| |_|/ /
| | |/| | |
| | | | | o nghttp2@1.57.0/pn6bnmh
| |_|_|_|/|
|/| |_|_|/|
| |/| |_|/|
| | |/| |/|
| | | |/|/
| | | o | pkgconf@2.2.0/h3x3l7s
| |_|/| |
|/| |/| |
| |/|/ /
| | | o diffutils@3.10/mhzfdlk
| |_|/|
|/| |/|
| |/|/
o | | gmake@4.4.1/qfrotcc
|\| |
| |/
|/|
o | gcc-runtime@11.4.0/f47qm6q
|/
o glibc@2.35/a7drdl4

HDF5 is more complicated than our basic example of zlib-ng and Tcl, but it’s still within the realm of software that an experienced HPC user could reasonably expect to manually install given a bit of time. Now let’s look at an even more complicated package.

$ spack install trilinos
[+] /usr (external glibc-2.35-a7drdl4tlx4bu3mzhor75pskvd3pdot6)
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxcrypt-4.4.35-qwi6aof3wwuahmefzsrnvhristv2zglh
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libpciaccess-0.17-esgx75jgr6iu4dkcw566yvz4tmx33ljz
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/numactl-2.0.14-oece2d6cta5zgxcbziturcqsugvbehjg
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/berkeley-db-18.1.40-br27jq6mkoumsbtdldgzcm3lw5zqjvel
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/nghttp2-1.57.0-pn6bnmhdnu3jaiukkhvak4dbvzez4d7i
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libevent-2.1.12-uv2twd5kir57zlvu4ntf3cffa2lad47g
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tar-1.34-wx4xfdnr4uzmlkbzpeuizbduh4e5klhj
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/readline-8.2-cb6x34ku73pjh3f4t7rmpthnxuumw25x
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hwloc-2.9.1-ujih6ikevwjglzswfu4wf7eimac2pvsh
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libedit-3.1-20230828-swglgxeckeajkjp4b7d66fbsyn6hjsdh
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/curl-8.7.1-cc6xd2h6vihed63v7gavflnhgxty3pwc
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gettext-0.22.5-eux6e6vvrk7uz4tx3vmjkyonhnvhseeu
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gdbm-1.23-ohbrdtphnhbycgd6p3btrxzjbtkwiqn6
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pmix-5.0.1-bzewb3i2g5m4lv2jq3prq6nqvzrpdilw
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/cmake-3.27.9-fkjttm2fmowwdwblxovotnaxqxtehkku
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/krb5-1.20.1-kqbte2e4fgnkv2m2zwcagwgkiluqlkdn
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/perl-5.38.0-uliw6spxatqyj5bjxwtf6ckndktozqqo
==> Installing kokkos-4.2.01-4blypc6xygkwlzcvexbqylr63g65tpqk [29/33]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-kokkos-4.2.01-4blypc6xygkwlzcvexbqylr63g65tpqk.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/kokkos-4.2.01/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-kokkos-4.2.01-4blypc6xygkwlzcvexbqylr63g65tpqk.spack
==> Extracting kokkos-4.2.01-4blypc6xygkwlzcvexbqylr63g65tpqk from binary cache
==> kokkos: Successfully installed kokkos-4.2.01-4blypc6xygkwlzcvexbqylr63g65tpqk
  Search: 0.00s.  Fetch: 0.24s.  Install: 0.23s.  Extract: 0.18s.  Relocate: 0.02s.  Total: 0.47s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/kokkos-4.2.01-4blypc6xygkwlzcvexbqylr63g65tpqk
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssh-9.7p1-iiuja4vvxdkrnzipyeyvzpxiqln2o2sd
==> Installing openblas-0.3.26-udkgdwb572f3cpn2el5noyuwoe6k5ujp [31/33]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-openblas-0.3.26-udkgdwb572f3cpn2el5noyuwoe6k5ujp.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openblas-0.3.26/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-openblas-0.3.26-udkgdwb572f3cpn2el5noyuwoe6k5ujp.spack
==> Extracting openblas-0.3.26-udkgdwb572f3cpn2el5noyuwoe6k5ujp from binary cache
==> openblas: Successfully installed openblas-0.3.26-udkgdwb572f3cpn2el5noyuwoe6k5ujp
  Search: 0.00s.  Fetch: 0.04s.  Install: 0.90s.  Extract: 0.79s.  Relocate: 0.08s.  Total: 0.94s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openblas-0.3.26-udkgdwb572f3cpn2el5noyuwoe6k5ujp
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal
==> Installing trilinos-15.1.1-jlxw43juyunkrzjxsmzsoocykongu57a [33/33]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-trilinos-15.1.1-jlxw43juyunkrzjxsmzsoocykongu57a.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/trilinos-15.1.1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-trilinos-15.1.1-jlxw43juyunkrzjxsmzsoocykongu57a.spack
==> Extracting trilinos-15.1.1-jlxw43juyunkrzjxsmzsoocykongu57a from binary cache
==> trilinos: Successfully installed trilinos-15.1.1-jlxw43juyunkrzjxsmzsoocykongu57a
  Search: 0.00s.  Fetch: 0.04s.  Install: 2.17s.  Extract: 1.93s.  Relocate: 0.21s.  Total: 2.22s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/trilinos-15.1.1-jlxw43juyunkrzjxsmzsoocykongu57a

Now we’re starting to see the power of Spack. Trilinos in its default configuration has 23 top level dependencies, many of which have dependencies of their own. Installing more complex packages can take days or weeks even for an experienced user. Although we’ve done a binary installation for the tutorial, a source installation of Trilinos using Spack takes about 3 hours (depending on the system), but only 20 seconds of programmer time.

Spack manages consistency of the entire DAG. Every MPI dependency will be satisfied by the same configuration of MPI, etc. If we install Trilinos again specifying a dependency on our previous HDF5 built with MPICH:

$ spack install trilinos +hdf5 ^hdf5+hl+mpi ^mpich
[+] /usr (external glibc-2.35-a7drdl4tlx4bu3mzhor75pskvd3pdot6)
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/kokkos-4.2.01-4blypc6xygkwlzcvexbqylr63g65tpqk
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/nghttp2-1.57.0-pn6bnmhdnu3jaiukkhvak4dbvzez4d7i
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libfabric-1.21.0-3z7q5qftz7kfzn6rf6o7dccbm5ctt22b
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openblas-0.3.26-udkgdwb572f3cpn2el5noyuwoe6k5ujp
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/yaksa-0.3-47js6ms5cpd6rj5ufdg67ygraqapr3it
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pkgconf-2.2.0-h3x3l7sed4l2efuskhaldi6ilmkoyeaa
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libpciaccess-0.17-esgx75jgr6iu4dkcw566yvz4tmx33ljz
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hwloc-2.9.1-ujih6ikevwjglzswfu4wf7eimac2pvsh
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/curl-8.7.1-cc6xd2h6vihed63v7gavflnhgxty3pwc
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/mpich-4.2.1-ovudrqhfm7chac5wbwswczq372l5tkrx
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/cmake-3.27.9-fkjttm2fmowwdwblxovotnaxqxtehkku
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hdf5-1.14.3-qvu3z3lghzh6vlox6af35fxe23phyqv7
==> Installing trilinos-15.1.1-ugmv6no2s7zowc2tmccwdnmlv7ht2zoq [21/21]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-trilinos-15.1.1-ugmv6no2s7zowc2tmccwdnmlv7ht2zoq.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/trilinos-15.1.1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-trilinos-15.1.1-ugmv6no2s7zowc2tmccwdnmlv7ht2zoq.spack
==> Extracting trilinos-15.1.1-ugmv6no2s7zowc2tmccwdnmlv7ht2zoq from binary cache
==> trilinos: Successfully installed trilinos-15.1.1-ugmv6no2s7zowc2tmccwdnmlv7ht2zoq
  Search: 0.00s.  Fetch: 0.24s.  Install: 2.28s.  Extract: 2.00s.  Relocate: 0.21s.  Total: 2.52s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/trilinos-15.1.1-ugmv6no2s7zowc2tmccwdnmlv7ht2zoq

We see that every package in the Trilinos DAG that depends on MPI now uses MPICH.

$ spack find -d trilinos
-- linux-ubuntu22.04-x86_64_v3 / gcc@11.4.0 ---------------------
trilinos@15.1.1
    cmake@3.27.9
	curl@8.7.1
	    nghttp2@1.57.0
		diffutils@3.10
	    openssl@3.3.0
		ca-certificates-mozilla@2023-05-30
	ncurses@6.5
	zlib-ng@2.1.6
    gcc-runtime@11.4.0
    glibc@2.35
    gmake@4.4.1
    hwloc@2.9.1
	libpciaccess@0.17
	    util-macros@1.19.3
	libxml2@2.10.3
	    xz@5.4.6
	pkgconf@2.2.0
    kokkos@4.2.01
    openblas@0.3.26
	perl@5.38.0
	    berkeley-db@18.1.40
	    bzip2@1.0.8
	    gdbm@1.23
		readline@8.2
    openmpi@5.0.3
	autoconf@2.72
	    m4@1.4.19
		libsigsegv@2.14
	automake@1.16.5
	libevent@2.1.12
	libtool@2.4.7
	    findutils@4.9.0
	numactl@2.0.14
	openssh@9.7p1
	    krb5@1.20.1
		bison@3.8.2
		gettext@0.22.5
		    tar@1.34
			pigz@2.8
			zstd@1.5.6
	    libedit@3.1-20230828
	    libxcrypt@4.4.35
	pmix@5.0.1

trilinos@15.1.1
    cmake@3.27.9
	curl@8.7.1
	    nghttp2@1.57.0
		diffutils@3.10
	    openssl@3.3.0
		ca-certificates-mozilla@2023-05-30
	ncurses@6.5
	zlib-ng@2.1.6
    gcc-runtime@11.4.0
    glibc@2.35
    gmake@4.4.1
    hdf5@1.14.3
	pkgconf@2.2.0
    hwloc@2.9.1
	libpciaccess@0.17
	    libtool@2.4.7
	    util-macros@1.19.3
	libxml2@2.10.3
	    xz@5.4.6
    kokkos@4.2.01
    mpich@4.2.1
	findutils@4.9.0
	libfabric@1.21.0
	yaksa@0.3
	    autoconf@2.72
	    automake@1.16.5
	    m4@1.4.19
		libsigsegv@2.14
	    python@3.11.7
		expat@2.6.2
		    libbsd@0.12.1
			libmd@1.0.4
		gettext@0.22.5
		    tar@1.34
			pigz@2.8
			zstd@1.5.6
		libffi@3.4.6
		libxcrypt@4.4.35
		readline@8.2
		sqlite@3.43.2
		util-linux-uuid@2.38.1
    openblas@0.3.26
	perl@5.38.0
	    berkeley-db@18.1.40
	    bzip2@1.0.8
	    gdbm@1.23

==> 2 installed packages

As we discussed before, the spack find -d command shows the dependency information as a tree. While that is often sufficient, many complicated packages, including Trilinos, have dependencies that cannot be fully represented as a tree. Again, the spack graph command shows the full DAG of the dependency information.

$ spack graph trilinos
o trilinos@15.1.1/jlxw43j
|\
| |\
| | |\
| | | |\
| | | | |\
| | | | | |\
| | | | | | |\
o | | | | | | | openmpi@5.0.3/kzonshw
|\ \ \ \ \ \ \ \
| |\ \ \ \ \ \ \ \
| | |\ \ \ \ \ \ \ \
| | | |\ \ \ \ \ \ \ \
| | | | |\ \ \ \ \ \ \ \
| | | | | |\ \ \ \ \ \ \ \
| | | | | | |\ \ \ \ \ \ \ \
| | | | | | | |\ \ \ \ \ \ \ \
| | | | | | | | |\ \ \ \ \ \ \ \
| | | | | | | | | |_|_|/ / / / /
| | | | | | | | |/| | | | | | |
| | | | | | | | | |\ \ \ \ \ \ \
| | | | | | | | | | |_|_|/ / / /
| | | | | | | | | |/| | | | | |
| | | | | | | | | | |\ \ \ \ \ \
| | | | | | | | | | | |_|_|/ / /
| | | | | | | | | | |/| | | | |
| | | | | | | | | | | |\ \ \ \ \
| | | | | | | | | | | | |_|_|/ /
| | | | | | | | | | | |/| | | |
| | | | | | | | | | | | |\ \ \ \
| o | | | | | | | | | | | | | | | pmix@5.0.1/bzewb3i
| |\| | | | | | | | | | | | | | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | |_|_|_|_|_|/ / / / / / / / / /
| |/| | | | | | | | | | | | | | |
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | |_|_|_|_|_|/ / / / / / / / /
| | |/| | | | | | | | | | | | | |
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | |_|_|_|_|_|/ / / / / / / /
| | | |/| | | | | | | | | | | | |
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | |_|_|_|_|_|/ / / / / / /
| | | | |/| | | | | | | | | | | |
| | | | | | |_|_|_|/ / / / / / /
| | | | | |/| | | | | | | | | |
| | | | | | | | o | | | | | | | openssh@9.7p1/iiuja4v
| |_|_|_|_|_|_|/| | | | | | | |
|/| | | |_|_|_|/| | | | | | | |
| | | |/| |_|_|/| | | | | | | |
| | | | |/| |_|/| | | | | | | |
| | | | | |/| | | | | | | | | |
| | | | | | | | |\ \ \ \ \ \ \ \
| | | | | | | | | |\ \ \ \ \ \ \ \
| | | | | | | | | | |\ \ \ \ \ \ \ \
| | | | | | | | | | | |\ \ \ \ \ \ \ \
| | | | | | | | | | o | | | | | | | | | libxcrypt@4.4.35/qwi6aof
| | | | |_|_|_|_|_|/| | | | | | | | | |
| | | |/| |_|_|_|_|/| | | | | | | | | |
| | | | |/| |_|_|_|/| | | | | | | | | |
| | | | | |/| | |_|/ / / / / / / / / /
| | | | | | | |/| | | | | | | | | | |
| | | | | | | | | | o | | | | | | | | libedit@3.1-20230828/swglgxe
| | | | |_|_|_|_|_|/| | | | | | | | |
| | | |/| |_|_|_|_|/| | | | | | | | |
| | | | |/| |_|_|_|/| | | | | | | | |
| | | | | |/| |_|_|/| | | | | | | | |
| | | | | | |/| | |/ / / / / / / / /
| | | | | | | | | | o | | | | | | | krb5@1.20.1/kqbte2e
| | | | |_|_|_|_|_|/| | | | | | | |
| | | |/| |_|_|_|_|/| | | | | | | |
| | | | |/| |_|_|_|/| | | | | | | |
| | | | | |/| | |_|/| | | | | | | |
| | | | | | | |/| |/| | | | | | | |
| | | | | | | | |/| | | | | | | | |
| | | | | | | | | | |\ \ \ \ \ \ \ \
| | | | | | | | | | | |\ \ \ \ \ \ \ \
| | | | | | | | | | | | |\ \ \ \ \ \ \ \
| | | | | | | | | | o | | | | | | | | | | gettext@0.22.5/eux6e6v
| | | | |_|_|_|_|_|/| | | | | | | | | | |
| | | |/| |_|_|_|_|/| | | | | | | | | | |
| | | | |/| |_|_|_|/| | | | | | | | | | |
| | | | | |/| | | |/| | | | | | | | | | |
| | | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | o | | | | | | | | | | | | tar@1.34/wx4xfdn
| | | | |_|_|_|_|_|_|/| | | | | | | | | | | | |
| | | |/| |_|_|_|_|_|/| | | | | | | | | | | | |
| | | | |/| |_|_|_|_|/| | | | | | | | | | | | |
| | | | | |/| | | | |/| | | | | | | | | | | | |
| | | | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | |/ / / / / / / / / / /
| | | | | | | | | | | | | |/| | | | | | | | | | |
| | | | | | | | | | | o | | | | | | | | | | | | | zstd@1.5.6/ew3aaos
| | | | |_|_|_|_|_|_|/| | | | | | | | | | | | | |
| | | |/| |_|_|_|_|_|/| | | | | | | | | | | | | |
| | | | |/| |_|_|_|_|/ / / / / / / / / / / / / /
| | | | | |/| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | o | | | | | | | | | | | | pigz@2.8/gk55zt7
| |_|_|_|_|_|_|_|_|_|/| | | | | | | | | | | | |
|/| | | |_|_|_|_|_|_|/| | | | | | | | | | | | |
| | | |/| |_|_|_|_|_|/| | | | | | | | | | | | |
| | | | |/| |_|_|_|_|/ / / / / / / / / / / / /
| | | | | |/| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | o | | | | | | | bison@3.8.2/6wy33u6
| | | | |_|_|_|_|_|_|_|_|_|_|/| | | | | | | |
| | | |/| |_|_|_|_|_|_|_|_|_|/| | | | | | | |
| | | | |/| |_|_|_|_|_|_|_|_|/| | | | | | | |
| | | | | |/| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | o | | | | | | numactl@2.0.14/oece2d6
| | | | |_|_|_|_|_|_|_|_|_|_|_|/| | | | | | |
| | | |/| |_|_|_|_|_|_|_|_|_|_|/| | | | | | |
| | | | |/| |_|_|_|_|_|_|_|_|_|/| | | | | | |
| | | | | |/| | | | | | | | | |/| | | | | | |
| | | | | | | | | | | | | | | | |\| | | | | |
| | | | | | | | | | | | | | | | |\ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | |_|/ / / / /
| | | | | | | | | | | | | | | | |/| | | | | |
| | | | | | | | | | | | | | | | | |/ / / / /
| o | | | | | | | | | | | | | | | | | | | | libevent@2.1.12/uv2twd5
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | |_|_|_|_|_|_|/ / / / / / / / / / / / / /
| |/| | | | | | | | | | | | | | | | | | | |
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | |_|/ / / / / / / / / / / / / / / / / /
| | |/| | | | | | | | | | | | | | | | | | |
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | |_|/ / / / / / / / / / / / / / / / /
| | | |/| | | | | | | | | | | | | | | | | |
| | | | |/ / / / / / / / / / / / / / / / /
| | | | | | | | | | | | | | | o | | | | | automake@1.16.5/p742yhm
| | | |_|_|_|_|_|_|_|_|_|_|_|/| | | | | |
| | |/| |_|_|_|_|_|_|_|_|_|_|/| | | | | |
| | | |/| |_|_|_|_|_|_|_|_|_|/| | | | | |
| | | | |/| | | |_|_|_|_|_|_|/| | | | | |
| | | | | | | |/| | | | | | | | | | | | |
| | | | | | | | | | | | | | | |/ / / / /
| | | | | | | | | | | | | | | o | | | | autoconf@2.72/ljmgup2
| | | |_|_|_|_|_|_|_|_|_|_|_|/| | | | |
| | |/| |_|_|_|_|_|_|_|_|_|_|/| | | | |
| | | |/| |_|_|_|_|_|_|_|_|_|/| | | | |
| | | | |/| | | |_|_|_|_|_|_|/| | | | |
| | | | | | | |/| | | | | | |/ / / / /
| | | | | | | | | | | | | | | | o | | openblas@0.3.26/udkgdwb
| | | |_|_|_|_|_|_|_|_|_|_|_|_|/| | |
| | |/| |_|_|_|_|_|_|_|_|_|_|_|/| | |
| | | |/| |_|_|_|_|_|_|_|_|_|_|/| | |
| | | | |/| | | |_|_|_|_|_|_|_|/ / /
| | | | | | | |/| | | | | | | | | |
| | | | | | | | | | | | | | | | o | kokkos@4.2.01/4blypc6
| | | |_|_|_|_|_|_|_|_|_|_|_|_|/| |
| | |/| |_|_|_|_|_|_|_|_|_|_|_|/| |
| | | |/| |_|_|_|_|_|_|_|_|_|_|/| |
| | | | |/| | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |/
| | | | | o | | | | | | | | | | | hwloc@2.9.1/ujih6ik
| | | |_|/| | | | | | | | | | | |
| | |/| |/| | | | | | | | | | | |
| | | |/|/| | | | | | | | | | | |
| | | | | |\| | | | | | | | | | |
| | | | | |\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | |_|_|/ / / / / / / / /
| | | | | |/| | | | | | | | | | |
| | | | | | |\ \ \ \ \ \ \ \ \ \ \
| | | | | | | |_|_|_|_|/ / / / / /
| | | | | | |/| | | | | | | | | |
| | | | | | o | | | | | | | | | | libxml2@2.10.3/jv5es2y
| |_|_|_|_|/| | | | | | | | | | |
|/| | |_|_|/| | | | | | | | | | |
| | |/| |_|/| | | | | | | | | | |
| | | |/| |/| | | | | | | | | | |
| | | | |/| | | | | | | | | | | |
| | | | | | |\ \ \ \ \ \ \ \ \ \ \
| | | | | | | |_|_|_|/ / / / / / /
| | | | | | |/| | | | | | | | | |
| | | | | | | |/ / / / / / / / /
| | | | | | o | | | | | | | | | xz@5.4.6/syttnnt
| | | |_|_|/| | | | | | | | | |
| | |/| |_|/| | | | | | | | | |
| | | |/| |/ / / / / / / / / /
| | | | |/| | | | | | | | | |
| | | | | | | o | | | | | | | libpciaccess@0.17/esgx75j
| | | |_|_|_|/| | | | | | | |
| | |/| |_|_|/| | | | | | | |
| | | |/| |_|/| | | | | | | |
| | | | |/| |/| | | | | | | |
| | | | | | | |\ \ \ \ \ \ \ \
| | | | | | | | | |_|_|_|_|/ /
| | | | | | | | |/| | | | | |
| | | | | | | o | | | | | | | util-macros@1.19.3/egkyddp
| | | |_|_|_|/| | | | | | | |
| | |/| |_|_|/| | | | | | | |
| | | |/| |_|/ / / / / / / /
| | | | |/| | | | | | | | |
| | | | | | | o | | | | | | libtool@2.4.7/lop7htu
| | | |_|_|_|/| | | | | | |
| | |/| |_|_|/| | | | | | |
| | | |/| |_|/| | | | | | |
| | | | |/| | | | | | | | |
| | | | | | | |\ \ \ \ \ \ \
| | | | | | | | |_|_|_|_|/ /
| | | | | | | |/| | | | | |
| | | | | | | | | |/ / / /
| | | | | | | | |/| | | |
| | | | | | | o | | | | | m4@1.4.19/7d6p4sf
| | | |_|_|_|/| | | | | |
| | |/| |_|_|/| | | | | |
| | | |/| |_|/| | | | | |
| | | | |/| | | | | | | |
| | | | | | | |\ \ \ \ \ \
| | | | | | | | | |_|_|/ /
| | | | | | | | |/| | | |
| | | | | | | o | | | | | libsigsegv@2.14/jwy3fyz
| | | |_|_|_|/| | | | | |
| | |/| |_|_|/| | | | | |
| | | |/| |_|/ / / / / /
| | | | |/| | | | | | |
| | | | | | | | o | | | findutils@4.9.0/v4yzc2w
| | | |_|_|_|_|/| | | |
| | |/| |_|_|_|/| | | |
| | | |/| |_|_|/ / / /
| | | | |/| | | | | |
| | | | | | | | | | o cmake@3.27.9/fkjttm2
| |_|_|_|_|_|_|_|_|/|
|/| | |_|_|_|_|_|_|/|
| | |/| |_|_|_|_|_|/|
| | | |/| |_|_|_|_|/|
| | | | |/| |_|_|_|/|
| | | | | |/| | | | |
| | | | | | | | | | o curl@8.7.1/cc6xd2h
| |_|_|_|_|_|_|_|_|/|
|/| |_|_|_|_|_|_|_|/|
| |/| |_|_|_|_|_|_|/|
| | |/| |_|_|_|_|_|/|
| | | |/| |_|_|_|_|/|
| | | | |/| | |_|_|/|
| | | | | | |/| | |/|
| | | | | | | | |/| |
| o | | | | | | | | | openssl@3.3.0/vunusyx
|/| | | | | | | | | |
| |\| | | | | | | | |
| |\ \ \ \ \ \ \ \ \ \
| | |_|_|_|_|_|_|/ / /
| |/| | | | | | | | |
| | |\ \ \ \ \ \ \ \ \
| | | |_|/ / / / / / /
| | |/| | | | | | | |
| | | |\ \ \ \ \ \ \ \
| | | | |_|/ / / / / /
| | | |/| | | | | | |
| o | | | | | | | | | perl@5.38.0/uliw6sp
|/| | | | | | | | | |
| |\| | | | | | | | |
| |\ \ \ \ \ \ \ \ \ \
| | |_|_|_|/ / / / / /
| |/| | | | | | | | |
| | |\ \ \ \ \ \ \ \ \
| | | |\ \ \ \ \ \ \ \ \
| | | | |_|/ / / / / / /
| | | |/| | | | | | | |
| | | | |\ \ \ \ \ \ \ \
| | | | | |_|_|_|_|_|/ /
| | | | |/| | | | | | |
o | | | | | | | | | | | zlib-ng@2.1.6/xqtp62n
|\| | | | | | | | | | |
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / / / / /
|/| | | | | | | | | | |
| | |/ / / / / / / / /
| |/| | | | | | | | |
| | | o | | | | | | | gdbm@1.23/ohbrdtp
| |_|/| | | | | | | |
|/| |/| | | | | | | |
| |/|/| | | | | | | |
| | | o | | | | | | | readline@8.2/cb6x34k
| |_|/| | | | | | | |
|/| |/| | | | | | | |
| |/|/| | | | | | | |
| | | | |_|_|/ / / /
| | | |/| | | | | |
| | | o | | | | | | ncurses@6.5/gk4xs2i
| |_|/| | | | | | |
|/| |/| | | | | | |
| |/|/| | | | | | |
| | | | |_|_|/ / /
| | | |/| | | | |
| | | | o | | | | bzip2@1.0.8/qmy6dpi
| |_|_|/| | | | |
|/| |_|/| | | | |
| |/| |/| | | | |
| | |/| | | | | |
| | | | | |_|/ /
| | | | |/| | |
| | | | | o | | berkeley-db@18.1.40/br27jq6
| |_|_|_|/| | |
|/| |_|_|/| | |
| |/| |_|/ / /
| | |/| | | |
| | | | | o | ca-certificates-mozilla@2023-05-30/yw5x67u
| |_|_|_|/| |
|/| |_|_|/ /
| |/| | | |
| | | | | o nghttp2@1.57.0/pn6bnmh
| |_|_|_|/|
|/| |_|_|/|
| |/| |_|/|
| | |/| |/|
| | | |/|/
| | | o | pkgconf@2.2.0/h3x3l7s
| |_|/| |
|/| |/| |
| |/|/ /
| | | o diffutils@3.10/mhzfdlk
| |_|/|
|/| |/|
| |/|/
| | o gmake@4.4.1/qfrotcc
| |/|
|/|/
| o gcc-runtime@11.4.0/f47qm6q
|/
o glibc@2.35/a7drdl4

You can control how the output is displayed with a number of options.

The ASCII output from spack graph can be difficult to parse for complicated packages. The output can be changed to the Graphviz .dot format using the --dot flag.

$ spack graph --dot trilinos | dot -Tpdf > trilinos_graph.pdf

Uninstalling Packages

Earlier we installed many configurations each of zlib-ng and Tcl. Now we will go through and uninstall some of those packages that we didn’t really need.

$ spack find -d tcl
-- linux-ubuntu22.04-x86_64_v3 / clang@14.0.0 -------------------
tcl@8.6.12
    glibc@2.35
    gmake@4.4.1
    zlib-ng@2.0.7


-- linux-ubuntu22.04-x86_64_v3 / gcc@11.4.0 ---------------------
tcl@8.6.12
    gcc-runtime@11.4.0
    glibc@2.35
    gmake@4.4.1
    zlib-ng@2.0.7

tcl@8.6.12
    gcc-runtime@11.4.0
    glibc@2.35
    gmake@4.4.1
    zlib-ng@2.1.6

==> 3 installed packages
$ spack find zlib-ng
-- linux-ubuntu22.04-x86_64_v3 / clang@14.0.0 -------------------
zlib-ng@2.0.7  zlib-ng@2.1.6

-- linux-ubuntu22.04-x86_64_v3 / gcc@10.5.0 ---------------------
zlib-ng@2.1.6

-- linux-ubuntu22.04-x86_64_v3 / gcc@11.4.0 ---------------------
zlib-ng@2.0.7  zlib-ng@2.0.7  zlib-ng@2.1.6
==> 6 installed packages

We can uninstall packages by spec using the same syntax as install.

$ spack uninstall -y zlib-ng %gcc@10
==> Successfully uninstalled zlib-ng@2.1.6%gcc@10.5.0+compat+new_strategies+opt+pic+shared build_system=autotools arch=linux-ubuntu22.04-x86_64_v3/2wtyhbq
$ spack find -lf zlib-ng
-- linux-ubuntu22.04-x86_64_v3 / clang@14.0.0 -------------------
4ffssvw zlib-ng@2.0.7%clang  tzedx4j zlib-ng@2.1.6%clang

-- linux-ubuntu22.04-x86_64_v3 / gcc@11.4.0 ---------------------
dbx6km5 zlib-ng@2.0.7%gcc  6bhcy77 zlib-ng@2.0.7%gcc  cflags=-O3  xqtp62n zlib-ng@2.1.6%gcc
==> 5 installed packages

We can also uninstall packages by referring only to their hash.

We can use either -f (force) or -R (remove dependents as well) to remove packages that are required by another installed package.

$ spack uninstall zlib-ng/4ff
==> Refusing to uninstall the following specs
    -- linux-ubuntu22.04-x86_64_v3 / clang@14.0.0 -------------------
    4ffssvw zlib-ng@2.0.7

==> The following dependents are still installed:
    -- linux-ubuntu22.04-x86_64_v3 / clang@14.0.0 -------------------
    anfehzn tcl@8.6.12

==> Error: There are still dependents.
  use `spack uninstall --dependents` to remove dependents too
  use `spack uninstall --force` to override
$ spack uninstall -y -R zlib-ng/4ff
==> Successfully uninstalled tcl@8.6.12%clang@14.0.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3/anfehzn
==> Successfully uninstalled zlib-ng@2.0.7%clang@14.0.0+compat+new_strategies+opt+pic+shared build_system=autotools arch=linux-ubuntu22.04-x86_64_v3/4ffssvw

Spack will not uninstall packages that are not sufficiently specified. The -a (all) flag can be used to uninstall multiple packages at once.

$ spack uninstall trilinos
==> Error: trilinos matches multiple packages:

    -- linux-ubuntu22.04-x86_64_v3 / gcc@11.4.0 ---------------------
    jlxw43j trilinos@15.1.1  ugmv6no trilinos@15.1.1

==> Error: You can either:
    a) use a more specific spec, or
    b) specify the spec by its hash (e.g. `spack uninstall /hash`), or
    c) use `spack uninstall --all` to uninstall ALL matching specs.
$ spack uninstall /jlx
y
    -- linux-ubuntu22.04-x86_64_v3 / gcc@11.4.0 ---------------------
    jlxw43j trilinos@15.1.1

==> 1 packages will be uninstalled. Do you want to proceed? [y/N] ==> Successfully uninstalled trilinos@15.1.1%gcc@11.4.0~adelus~adios2+amesos+amesos2+anasazi+aztec~basker+belos~boost~chaco~complex~cuda~cuda_rdc~debug~dtk+epetra+epetraext~epetraextbtf~epetraextexperimental~epetraextgraphreorderings~exodus+explicit_template_instantiation~float+fortran~gtest~hdf5~hypre+ifpack+ifpack2~intrepid~intrepid2~ipo~isorropia+kokkos~mesquite~minitensor+ml+mpi+muelu~mumps~nox~openmp~pamgen~panzer~phalanx~piro~python~rocm~rocm_rdc~rol~rythmos+sacado~scorec~shards+shared~shylu~stk~stokhos~stratimikos~strumpack~suite-sparse~superlu~superlu-dist~teko~tempus~test~thyra+tpetra~trilinoscouplings~wrapper~x11~zoltan~zoltan2 build_system=cmake build_type=Release cxxstd=17 generator=make gotype=long_long arch=linux-ubuntu22.04-x86_64_v3/jlxw43j

Advanced spack find Usage

We will go over some additional uses for the spack find command not already covered in the Installing Spack and Uninstalling Packages sections.

The spack find command can accept what we call “anonymous specs.” These are expressions in spec syntax that do not contain a package name. For example, spack find ^mpich will return every installed package that depends on MPICH, and spack find cflags="-O3" will return every package which was built with cflags="-O3".

$ spack find ^mpich
-- linux-ubuntu22.04-x86_64_v3 / gcc@11.4.0 ---------------------
hdf5@1.14.3  trilinos@15.1.1
==> 2 installed packages
$ spack find cflags=-O3
-- linux-ubuntu22.04-x86_64_v3 / gcc@11.4.0 ---------------------
zlib-ng@2.0.7
==> 1 installed package

The find command can also show which packages were installed explicitly (rather than pulled in as a dependency) using the lowercase -x flag. The uppercase -X flag shows implicit installs only. The find command can also show the path to which a Spack package was installed using the -p flag.

$ spack find -px
-- linux-ubuntu22.04-x86_64_v3 / clang@14.0.0 -------------------
zlib-ng@2.1.6  /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/clang-14.0.0/zlib-ng-2.1.6-tzedx4jhu5vzbwh7fh4xiyvndmwy4maq

-- linux-ubuntu22.04-x86_64_v3 / gcc@11.4.0 ---------------------
gmake@4.4.1	 /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo
hdf5@1.14.3	 /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hdf5-1.14.3-2sexbnqu6g5s53zkr2flv7wvrjkdc7ub
hdf5@1.14.3	 /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hdf5-1.14.3-rprkf3qfnulnteqv6l2hfqieu4ssp2h5
hdf5@1.14.3	 /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hdf5-1.14.3-qvu3z3lghzh6vlox6af35fxe23phyqv7
tcl@8.6.12	 /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tcl-8.6.12-aoh7bkqsupi6ldu7hx5jp6q6365pujze
tcl@8.6.12	 /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tcl-8.6.12-dpakck4vt2fme3lnoqyqmmzttko5j3cu
trilinos@15.1.1  /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/trilinos-15.1.1-ugmv6no2s7zowc2tmccwdnmlv7ht2zoq
zlib-ng@2.0.7	 /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.0.7-dbx6km5h4gmz43zwulyopdlp7eg3s6hj
zlib-ng@2.0.7	 /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.0.7-6bhcy7746dslww56qov4muqsyikm3fgs
==> 10 installed packages

Customizing Compilers

Spack manages a list of available compilers on the system, detected automatically from the user’s PATH variable. The spack compilers command is an alias for the command spack compiler list.

$ spack compilers
==> Available compilers
-- clang ubuntu22.04-x86_64 -------------------------------------
clang@14.0.0

-- gcc ubuntu22.04-x86_64 ---------------------------------------
gcc@11.4.0  gcc@10.5.0

The compilers are maintained in a YAML file. Later in the tutorial you will learn how to configure compilers by hand for special cases. Spack also has tools to add compilers, and compilers built with Spack can be added to the configuration.

$ spack install gcc@12
[+] /usr (external glibc-2.35-a7drdl4tlx4bu3mzhor75pskvd3pdot6)
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/berkeley-db-18.1.40-br27jq6mkoumsbtdldgzcm3lw5zqjvel
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo
==> Installing autoconf-archive-2023.02.20-rq5jepflkcjrdarashhdmody3xoweq3x [6/30]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-autoconf-archive-2023.02.20-rq5jepflkcjrdarashhdmody3xoweq3x.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/autoconf-archive-2023.02.20/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-autoconf-archive-2023.02.20-rq5jepflkcjrdarashhdmody3xoweq3x.spack
==> Extracting autoconf-archive-2023.02.20-rq5jepflkcjrdarashhdmody3xoweq3x from binary cache
==> autoconf-archive: Successfully installed autoconf-archive-2023.02.20-rq5jepflkcjrdarashhdmody3xoweq3x
  Search: 0.00s.  Fetch: 0.23s.  Install: 0.20s.  Extract: 0.17s.  Relocate: 0.01s.  Total: 0.43s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/autoconf-archive-2023.02.20-rq5jepflkcjrdarashhdmody3xoweq3x
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/findutils-4.9.0-v4yzc2wwg33pu64bs64rfhu6k4nb3r33
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/diffutils-3.10-mhzfdlk4s72qc2lndxqz4v6tcxkis5ez
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libsigsegv-2.14-jwy3fyzf5vk74lvkdpa6uf4rqlvfz7my
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libtool-2.4.7-lop7htuzty2qpcu6own5hdvs6evoa2bg
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/m4-1.4.19-7d6p4sfrp4viryzbg5nxd2nsgm46d6x2
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/readline-8.2-cb6x34ku73pjh3f4t7rmpthnxuumw25x
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tar-1.34-wx4xfdnr4uzmlkbzpeuizbduh4e5klhj
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gdbm-1.23-ohbrdtphnhbycgd6p3btrxzjbtkwiqn6
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gettext-0.22.5-eux6e6vvrk7uz4tx3vmjkyonhnvhseeu
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/perl-5.38.0-uliw6spxatqyj5bjxwtf6ckndktozqqo
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/automake-1.16.5-p742yhmxrgeohdxdmiduznbou2rnf3bt
==> Installing texinfo-7.0.3-y6pez2asfozl3agjwfjkak2wcysgx72s [24/30]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-texinfo-7.0.3-y6pez2asfozl3agjwfjkak2wcysgx72s.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/texinfo-7.0.3/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-texinfo-7.0.3-y6pez2asfozl3agjwfjkak2wcysgx72s.spack
==> Extracting texinfo-7.0.3-y6pez2asfozl3agjwfjkak2wcysgx72s from binary cache
==> texinfo: Successfully installed texinfo-7.0.3-y6pez2asfozl3agjwfjkak2wcysgx72s
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.27s.  Extract: 0.19s.  Relocate: 0.06s.  Total: 0.28s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/texinfo-7.0.3-y6pez2asfozl3agjwfjkak2wcysgx72s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/autoconf-2.72-ljmgup2xu5fzbqhilaeonlgfasmo5hhh
==> Installing gmp-6.2.1-5znqdnf25vtk4ec5s7mk4zkz6i6cz3gq [26/30]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-gmp-6.2.1-5znqdnf25vtk4ec5s7mk4zkz6i6cz3gq.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmp-6.2.1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-gmp-6.2.1-5znqdnf25vtk4ec5s7mk4zkz6i6cz3gq.spack
==> Extracting gmp-6.2.1-5znqdnf25vtk4ec5s7mk4zkz6i6cz3gq from binary cache
==> gmp: Successfully installed gmp-6.2.1-5znqdnf25vtk4ec5s7mk4zkz6i6cz3gq
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.08s.  Extract: 0.04s.  Relocate: 0.02s.  Total: 0.09s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmp-6.2.1-5znqdnf25vtk4ec5s7mk4zkz6i6cz3gq
==> Installing mpfr-4.2.1-c42jb452v4vwgf63vu3jwhqfru24xq6h [27/30]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-mpfr-4.2.1-c42jb452v4vwgf63vu3jwhqfru24xq6h.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/mpfr-4.2.1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-mpfr-4.2.1-c42jb452v4vwgf63vu3jwhqfru24xq6h.spack
==> Extracting mpfr-4.2.1-c42jb452v4vwgf63vu3jwhqfru24xq6h from binary cache
==> mpfr: Successfully installed mpfr-4.2.1-c42jb452v4vwgf63vu3jwhqfru24xq6h
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.18s.  Extract: 0.11s.  Relocate: 0.04s.  Total: 0.19s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/mpfr-4.2.1-c42jb452v4vwgf63vu3jwhqfru24xq6h
==> Installing gawk-5.3.0-3duehf4iefmj7rfyv52adv2x4yahvwm3 [28/30]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-gawk-5.3.0-3duehf4iefmj7rfyv52adv2x4yahvwm3.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gawk-5.3.0/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-gawk-5.3.0-3duehf4iefmj7rfyv52adv2x4yahvwm3.spack
==> Extracting gawk-5.3.0-3duehf4iefmj7rfyv52adv2x4yahvwm3 from binary cache
==> gawk: Successfully installed gawk-5.3.0-3duehf4iefmj7rfyv52adv2x4yahvwm3
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.15s.  Extract: 0.09s.  Relocate: 0.04s.  Total: 0.16s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gawk-5.3.0-3duehf4iefmj7rfyv52adv2x4yahvwm3
==> Installing mpc-1.3.1-t7z22epcb4ifdqdft6juyncq7pjlvffz [29/30]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-mpc-1.3.1-t7z22epcb4ifdqdft6juyncq7pjlvffz.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/mpc-1.3.1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-mpc-1.3.1-t7z22epcb4ifdqdft6juyncq7pjlvffz.spack
==> Extracting mpc-1.3.1-t7z22epcb4ifdqdft6juyncq7pjlvffz from binary cache
==> mpc: Successfully installed mpc-1.3.1-t7z22epcb4ifdqdft6juyncq7pjlvffz
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.12s.  Extract: 0.03s.  Relocate: 0.05s.  Total: 0.13s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/mpc-1.3.1-t7z22epcb4ifdqdft6juyncq7pjlvffz
==> Installing gcc-12.3.0-hc3fmfiuomxfx4gnvorj3z3y2gjf2doh [30/30]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-gcc-12.3.0-hc3fmfiuomxfx4gnvorj3z3y2gjf2doh.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-12.3.0/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-gcc-12.3.0-hc3fmfiuomxfx4gnvorj3z3y2gjf2doh.spack
==> Extracting gcc-12.3.0-hc3fmfiuomxfx4gnvorj3z3y2gjf2doh from binary cache
==> Wrote new spec file to /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-12.3.0-hc3fmfiuomxfx4gnvorj3z3y2gjf2doh/lib/gcc/x86_64-pc-linux-gnu/12.3.0/specs
==> gcc: Successfully installed gcc-12.3.0-hc3fmfiuomxfx4gnvorj3z3y2gjf2doh
  Search: 0.00s.  Fetch: 0.41s.  Install: 17.15s.  Extract: 15.37s.  Relocate: 1.73s.  Total: 17.56s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-12.3.0-hc3fmfiuomxfx4gnvorj3z3y2gjf2doh
$ spack find -p gcc
-- linux-ubuntu22.04-x86_64_v3 / gcc@11.4.0 ---------------------
gcc@12.3.0  /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-12.3.0-hc3fmfiuomxfx4gnvorj3z3y2gjf2doh
==> 1 installed package

We can add GCC to Spack as an available compiler using the spack compiler add command. This will allow future packages to build with gcc@12.3.0. To avoid having to copy and paste GCC’s path, we can use spack location -i to get the installation prefix.

$ spack compiler add "$(spack location -i gcc@12)"
==> Added 1 new compiler to /home/spack/.spack/linux/compilers.yaml
    gcc@12.3.0
==> Compilers are defined in the following files:
    /home/spack/.spack/linux/compilers.yaml

We can also remove compilers from our configuration using spack compiler remove <compiler_spec>

$ spack compiler remove gcc@12
==> gcc@12.3.0 has been removed