Tutorial setup

If you have not done the prior sections, you’ll need to start the docker image:

docker run -it ghcr.io/spack/tutorial:cineca23

and then set Spack up like this:

git clone --depth=100 --branch=releases/v0.19 https://github.com/spack/spack
. spack/share/spack/setup-env.sh
spack tutorial -y
spack bootstrap now
spack compiler find

See the Basic Installation Tutorial for full details on setup. For more help, join us in the #tutorial channel on Slack – get an invitation at spackpm.herokuapp.com

Stacks Tutorial

So far, we’ve talked about Spack environments in the context of a unified user environment or development environment. But environments in Spack have much broader capabilities. In this tutorial we will consider how to use a specialized sort of Spack environment, that we call a Spack stack, to manage large deployments of software using Spack.

Spec matrices

In a typical Spack environment for a single user, a simple list of specs is sufficient. For software deployment, however, we often have a set of packages we want to install across a wide range of MPIs or compilers. In the following we’ll mimic the creation of a software stack using different libraries for LAPACK and MPI and a compiler for the software which is more recent than the one provided by the system.

Setup the compiler

Let’s create a new anonymous environment and setup the compiler we want to use to build our stack:

$ mkdir -p ~/stacks && cd ~/stacks
$ spack env create -d .
==> Created environment in /home/spack/stacks
==> You can activate this environment with:
==>   spack env activate /home/spack/stacks
$ spack env activate .
$ spack add gcc@8.4.0 %gcc@7.5.0
==> Adding gcc@8.4.0%gcc@7.5.0 to environment /home/spack/stacks
$ spack config edit
# This is a Spack Environment file.
#
# It describes a set of packages to be installed, along with
# configuration settings.
spack:
  # add package specs to the `specs` list
  specs:
  - gcc@8.4.0%gcc@7.5.0
  view: false
  concretizer:
    unify: true

For now, we’ll avoid the view directive. We’ll come back to this later. Let’s concretize and install our compiler:

$ spack concretize -f
$ spack install

Finally, let’s register it as a new compiler in the environment:

$ spack location -i gcc
/home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e
$ spack compiler find "$(spack location -i gcc)"
==> Added 1 new compiler to /home/spack/stacks/spack.yaml
    gcc@8.4.0
==> Compilers are defined in the following files:
    /home/spack/.spack/linux/compilers.yaml  /home/spack/stacks/spack.yaml

Asking Spack to list the compilers we have available should confirm the presence of gcc@8.4.0:

$ spack compiler list
==> Available compilers
-- clang ubuntu18.04-x86_64 -------------------------------------
clang@7.0.0

-- gcc ubuntu18.04-x86_64 ---------------------------------------
gcc@8.4.0  gcc@7.5.0  gcc@6.5.0

The manifest file at this point should look like:

# This is a Spack Environment file.
#
# It describes a set of packages to be installed, along with
# configuration settings.
spack:
  # add package specs to the `specs` list
  specs:
  - gcc@8.4.0%gcc@7.5.0
  view: false
  concretizer:
    unify: true
  compilers:
  - compiler:
      spec: gcc@8.4.0
      paths:
        cc: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gcc
        cxx: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/g++
        f77: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gfortran
        fc: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gfortran
      flags: {}
      operating_system: ubuntu18.04
      target: x86_64
      modules: []
      environment: {}
      extra_rpaths: []

Note

Setting up a Spack installed compiler for reuse in the same environment is, currently, an iterative process. This requires either to install the compiler first - like done here, or to use more than one environment. An example of the latter approach can be found at this link.

Install software against different MPIs and LAPACKs

Let’s now try to install 4 different versions of netlib-scalapack, compiled with gcc@8.4.0 and linked against different LAPACK and MPI providers. The simplest way to express a cross-product like this in Spack is through a matrix:

$ spack config edit
# This is a Spack Environment file.
#
# It describes a set of packages to be installed, along with
# configuration settings.
spack:
  # add package specs to the `specs` list
  specs:
  - gcc@8.4.0%gcc@7.5.0
  - matrix:
    - [netlib-scalapack]
    - [^openmpi, ^mpich]
    - [^openblas, ^netlib-lapack]
    - ["%gcc@8.4.0"]
  view: false
  concretizer:
    unify: false
  compilers:
  - compiler:
      spec: gcc@8.4.0
      paths:
        cc: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gcc
        cxx: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/g++
        f77: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gfortran
        fc: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gfortran
      flags: {}
      operating_system: ubuntu18.04
      target: x86_64
      modules: []
      environment: {}
      extra_rpaths: []

Notice that we have to change the concretizer configuration here. By default, environments co-concretize all specs to be compatible, but that’s simply impossible in an environment with multiple specs for each package. We set the concretizer unification to false to allow all of these builds in one environment:

$ spack concretize -f
==> Starting concretization pool with 5 processes
==> Environment concretized in 17.98 seconds.
==> Concretized gcc@8.4.0%gcc@7.5.0
[+]  uobbegc  gcc@8.4.0%gcc@7.5.0~binutils+bootstrap~graphite~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages=c,c++,fortran patches=98a9c96 arch=linux-ubuntu18.04-x86_64
[+]  c3uhkcj	  ^diffutils@3.8%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  ltvovvv	      ^libiconv@1.16%gcc@7.5.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  dco3nzd	  ^gawk@5.1.1%gcc@7.5.0~nls build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  e262sf6	      ^libsigsegv@2.13%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  kgyvtw5	      ^readline@8.1.2%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  zcuawli		  ^ncurses@6.3%gcc@7.5.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  k2lfw6f		      ^pkgconf@1.8.0%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  iowhen4	  ^gmp@6.2.1%gcc@7.5.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  btoteei	      ^autoconf@2.69%gcc@7.5.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu18.04-x86_64
[+]  rxjqnjw	      ^automake@1.16.5%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  z7d5q4f	      ^m4@1.4.19%gcc@7.5.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu18.04-x86_64
[+]  bdxu4wn	  ^libtool@2.4.7%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  l5bs2ru	  ^mpc@1.1.0%gcc@7.5.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  3brr36e	  ^mpfr@3.1.6%gcc@7.5.0 build_system=autotools libs=shared,static patches=7a6dd71 arch=linux-ubuntu18.04-x86_64
[+]  hdyi7fu	  ^texinfo@6.5%gcc@7.5.0 build_system=autotools patches=12f6edb,1732115 arch=linux-ubuntu18.04-x86_64
[+]  eydiwim	      ^perl@5.36.0%gcc@7.5.0+cpanm+shared+threads build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  53fb72w		  ^berkeley-db@18.1.40%gcc@7.5.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu18.04-x86_64
[+]  cxcreln		  ^bzip2@1.0.8%gcc@7.5.0~debug~pic+shared build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  cpmynty		  ^gdbm@1.23%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  2hfr5rb	  ^zlib@1.2.13%gcc@7.5.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu18.04-x86_64

==> Concretized netlib-scalapack%gcc@8.4.0 ^openblas ^openmpi
 -   nuulbgb  netlib-scalapack@2.2.0%gcc@8.4.0~ipo~pic+shared build_system=cmake build_type=Release patches=072b006,1c9ce5f arch=linux-ubuntu18.04-x86_64
 -   3oinxkn	  ^cmake@3.24.3%gcc@8.4.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu18.04-x86_64
 -   pm3k5t4	      ^ncurses@6.3%gcc@8.4.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   4h2attb	      ^openssl@1.1.1s%gcc@8.4.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu18.04-x86_64
 -   tug2vtk		  ^ca-certificates-mozilla@2022-10-11%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
 -   62oqts5	  ^openblas@0.3.21%gcc@8.4.0~bignuma~consistent_fpcsr+fortran~ilp64+locking+pic+shared build_system=makefile patches=d3d9b15 symbol_suffix=none threads=none arch=linux-ubuntu18.04-x86_64
 -   oxh2v73	      ^perl@5.36.0%gcc@8.4.0+cpanm+shared+threads build_system=generic arch=linux-ubuntu18.04-x86_64
 -   gfnsus4		  ^berkeley-db@18.1.40%gcc@8.4.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu18.04-x86_64
 -   h2cyuuc		  ^bzip2@1.0.8%gcc@8.4.0~debug~pic+shared build_system=generic arch=linux-ubuntu18.04-x86_64
 -   42nykx7		      ^diffutils@3.8%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   6dpdzlt		  ^gdbm@1.23%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   vrvkcpj		      ^readline@8.1.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   cnq37ia	  ^openmpi@4.1.4%gcc@8.4.0~atomics~cuda~cxx~cxx_exceptions~gpfs~internal-hwloc~java~legacylaunchers~lustre~memchecker+romio+rsh~singularity+static+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=linux-ubuntu18.04-x86_64
 -   76vxdwi	      ^hwloc@2.8.0%gcc@8.4.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
 -   ygwuejw		  ^libpciaccess@0.16%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   caquoxb		      ^util-macros@1.19.3%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   rsueryu		  ^libxml2@2.10.1%gcc@8.4.0~python build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   faxyug5		      ^libiconv@1.16%gcc@8.4.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
 -   yalo3gm		      ^xz@5.2.7%gcc@8.4.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
 -   qo6lo2m	      ^numactl@2.0.14%gcc@8.4.0 build_system=autotools patches=4e1d78c,62fc8a8,ff37630 arch=linux-ubuntu18.04-x86_64
 -   3ur6efa		  ^autoconf@2.69%gcc@8.4.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu18.04-x86_64
 -   ltwno6t		  ^automake@1.16.5%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   uejcu2m		  ^libtool@2.4.7%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   64hyzlr		  ^m4@1.4.19%gcc@8.4.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu18.04-x86_64
 -   hzetpcu		      ^libsigsegv@2.13%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   bu2y2rn	      ^openssh@9.1p1%gcc@8.4.0+gssapi build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   lbq4bnu		  ^krb5@1.19.3%gcc@8.4.0+shared build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   mne2r6i		      ^bison@3.8.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   lxoekir		      ^gettext@0.21.1%gcc@8.4.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   vkidral			  ^tar@1.34%gcc@8.4.0 build_system=autotools zip=pigz arch=linux-ubuntu18.04-x86_64
 -   x4i7we6			      ^pigz@2.7%gcc@8.4.0 build_system=makefile arch=linux-ubuntu18.04-x86_64
 -   2b73tir			      ^zstd@1.5.2%gcc@8.4.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu18.04-x86_64
 -   zl6rdlr		  ^libedit@3.1-20210216%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   db44f6t	      ^pkgconf@1.8.0%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   alwqqyv	      ^pmix@4.1.2%gcc@8.4.0~docs+pmi_backwards_compatibility~restful build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   zlkggwb		  ^libevent@2.1.12%gcc@8.4.0+openssl build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   qaq2asl	      ^zlib@1.2.13%gcc@8.4.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu18.04-x86_64

==> Concretized netlib-scalapack%gcc@8.4.0 ^netlib-lapack ^openmpi
 -   iuphysy  netlib-scalapack@2.2.0%gcc@8.4.0~ipo~pic+shared build_system=cmake build_type=Release patches=072b006,1c9ce5f arch=linux-ubuntu18.04-x86_64
 -   3oinxkn	  ^cmake@3.24.3%gcc@8.4.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu18.04-x86_64
 -   pm3k5t4	      ^ncurses@6.3%gcc@8.4.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   4h2attb	      ^openssl@1.1.1s%gcc@8.4.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu18.04-x86_64
 -   tug2vtk		  ^ca-certificates-mozilla@2022-10-11%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
 -   d75mbpb	  ^netlib-lapack@3.10.1%gcc@8.4.0~external-blas~ipo+lapacke+shared~xblas build_system=cmake build_type=RelWithDebInfo arch=linux-ubuntu18.04-x86_64
 -   cnq37ia	  ^openmpi@4.1.4%gcc@8.4.0~atomics~cuda~cxx~cxx_exceptions~gpfs~internal-hwloc~java~legacylaunchers~lustre~memchecker+romio+rsh~singularity+static+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=linux-ubuntu18.04-x86_64
 -   76vxdwi	      ^hwloc@2.8.0%gcc@8.4.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
 -   ygwuejw		  ^libpciaccess@0.16%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   caquoxb		      ^util-macros@1.19.3%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   rsueryu		  ^libxml2@2.10.1%gcc@8.4.0~python build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   faxyug5		      ^libiconv@1.16%gcc@8.4.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
 -   yalo3gm		      ^xz@5.2.7%gcc@8.4.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
 -   qo6lo2m	      ^numactl@2.0.14%gcc@8.4.0 build_system=autotools patches=4e1d78c,62fc8a8,ff37630 arch=linux-ubuntu18.04-x86_64
 -   3ur6efa		  ^autoconf@2.69%gcc@8.4.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu18.04-x86_64
 -   ltwno6t		  ^automake@1.16.5%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   uejcu2m		  ^libtool@2.4.7%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   64hyzlr		  ^m4@1.4.19%gcc@8.4.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu18.04-x86_64
 -   42nykx7		      ^diffutils@3.8%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   hzetpcu		      ^libsigsegv@2.13%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   bu2y2rn	      ^openssh@9.1p1%gcc@8.4.0+gssapi build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   lbq4bnu		  ^krb5@1.19.3%gcc@8.4.0+shared build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   mne2r6i		      ^bison@3.8.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   lxoekir		      ^gettext@0.21.1%gcc@8.4.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   vkidral			  ^tar@1.34%gcc@8.4.0 build_system=autotools zip=pigz arch=linux-ubuntu18.04-x86_64
 -   x4i7we6			      ^pigz@2.7%gcc@8.4.0 build_system=makefile arch=linux-ubuntu18.04-x86_64
 -   2b73tir			      ^zstd@1.5.2%gcc@8.4.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu18.04-x86_64
 -   zl6rdlr		  ^libedit@3.1-20210216%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   oxh2v73	      ^perl@5.36.0%gcc@8.4.0+cpanm+shared+threads build_system=generic arch=linux-ubuntu18.04-x86_64
 -   gfnsus4		  ^berkeley-db@18.1.40%gcc@8.4.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu18.04-x86_64
 -   h2cyuuc		  ^bzip2@1.0.8%gcc@8.4.0~debug~pic+shared build_system=generic arch=linux-ubuntu18.04-x86_64
 -   6dpdzlt		  ^gdbm@1.23%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   vrvkcpj		      ^readline@8.1.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   db44f6t	      ^pkgconf@1.8.0%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   alwqqyv	      ^pmix@4.1.2%gcc@8.4.0~docs+pmi_backwards_compatibility~restful build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   zlkggwb		  ^libevent@2.1.12%gcc@8.4.0+openssl build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   qaq2asl	      ^zlib@1.2.13%gcc@8.4.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu18.04-x86_64

==> Concretized netlib-scalapack%gcc@8.4.0 ^mpich ^openblas
 -   vae5gpb  netlib-scalapack@2.2.0%gcc@8.4.0~ipo~pic+shared build_system=cmake build_type=Release patches=072b006,1c9ce5f arch=linux-ubuntu18.04-x86_64
 -   3oinxkn	  ^cmake@3.24.3%gcc@8.4.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu18.04-x86_64
 -   pm3k5t4	      ^ncurses@6.3%gcc@8.4.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   4h2attb	      ^openssl@1.1.1s%gcc@8.4.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu18.04-x86_64
 -   tug2vtk		  ^ca-certificates-mozilla@2022-10-11%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
 -   qaq2asl		  ^zlib@1.2.13%gcc@8.4.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu18.04-x86_64
 -   dehzhtf	  ^mpich@4.0.2%gcc@8.4.0~argobots~cuda+fortran+hwloc+hydra+libxml2+pci~rocm+romio~slurm~two_level_namespace~vci~verbs+wrapperrpath build_system=autotools datatype-engine=auto device=ch4 netmod=ofi patches=d4c0e99 pmi=pmi arch=linux-ubuntu18.04-x86_64
 -   ye45pox	      ^findutils@4.9.0%gcc@8.4.0 build_system=autotools patches=440b954 arch=linux-ubuntu18.04-x86_64
 -   76vxdwi	      ^hwloc@2.8.0%gcc@8.4.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
 -   zmoqcfm	      ^libfabric@1.16.1%gcc@8.4.0~debug~kdreg build_system=autotools fabrics=sockets,tcp,udp arch=linux-ubuntu18.04-x86_64
 -   ygwuejw	      ^libpciaccess@0.16%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   uejcu2m		  ^libtool@2.4.7%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   caquoxb		  ^util-macros@1.19.3%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   rsueryu	      ^libxml2@2.10.1%gcc@8.4.0~python build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   faxyug5		  ^libiconv@1.16%gcc@8.4.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
 -   yalo3gm		  ^xz@5.2.7%gcc@8.4.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
 -   db44f6t	      ^pkgconf@1.8.0%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   ohap5mv	      ^yaksa@0.2%gcc@8.4.0~cuda~rocm build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   3ur6efa		  ^autoconf@2.69%gcc@8.4.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu18.04-x86_64
 -   ltwno6t		  ^automake@1.16.5%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   64hyzlr		  ^m4@1.4.19%gcc@8.4.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu18.04-x86_64
 -   42nykx7		      ^diffutils@3.8%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   hzetpcu		      ^libsigsegv@2.13%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   4ots64k		  ^python@3.10.8%gcc@8.4.0+bz2+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-ubuntu18.04-x86_64
 -   ecxz4tu		      ^expat@2.4.8%gcc@8.4.0+libbsd build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   p666k37			  ^libbsd@0.11.5%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   mbjxxpr			      ^libmd@1.0.4%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   lxoekir		      ^gettext@0.21.1%gcc@8.4.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   vkidral			  ^tar@1.34%gcc@8.4.0 build_system=autotools zip=pigz arch=linux-ubuntu18.04-x86_64
 -   x4i7we6			      ^pigz@2.7%gcc@8.4.0 build_system=makefile arch=linux-ubuntu18.04-x86_64
 -   2b73tir			      ^zstd@1.5.2%gcc@8.4.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu18.04-x86_64
 -   pfw5zcj		      ^libffi@3.4.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   vrvkcpj		      ^readline@8.1.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   e373hd3		      ^sqlite@3.39.4%gcc@8.4.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   72abeix		      ^util-linux-uuid@2.38.1%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   62oqts5	  ^openblas@0.3.21%gcc@8.4.0~bignuma~consistent_fpcsr+fortran~ilp64+locking+pic+shared build_system=makefile patches=d3d9b15 symbol_suffix=none threads=none arch=linux-ubuntu18.04-x86_64
 -   oxh2v73	      ^perl@5.36.0%gcc@8.4.0+cpanm+shared+threads build_system=generic arch=linux-ubuntu18.04-x86_64
 -   gfnsus4		  ^berkeley-db@18.1.40%gcc@8.4.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu18.04-x86_64
 -   h2cyuuc		  ^bzip2@1.0.8%gcc@8.4.0~debug~pic+shared build_system=generic arch=linux-ubuntu18.04-x86_64
 -   6dpdzlt		  ^gdbm@1.23%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64

==> Concretized netlib-scalapack%gcc@8.4.0 ^mpich ^netlib-lapack
 -   xqcf6y4  netlib-scalapack@2.2.0%gcc@8.4.0~ipo~pic+shared build_system=cmake build_type=Release patches=072b006,1c9ce5f arch=linux-ubuntu18.04-x86_64
 -   3oinxkn	  ^cmake@3.24.3%gcc@8.4.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu18.04-x86_64
 -   pm3k5t4	      ^ncurses@6.3%gcc@8.4.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   4h2attb	      ^openssl@1.1.1s%gcc@8.4.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu18.04-x86_64
 -   tug2vtk		  ^ca-certificates-mozilla@2022-10-11%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
 -   oxh2v73		  ^perl@5.36.0%gcc@8.4.0+cpanm+shared+threads build_system=generic arch=linux-ubuntu18.04-x86_64
 -   gfnsus4		      ^berkeley-db@18.1.40%gcc@8.4.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu18.04-x86_64
 -   h2cyuuc		      ^bzip2@1.0.8%gcc@8.4.0~debug~pic+shared build_system=generic arch=linux-ubuntu18.04-x86_64
 -   6dpdzlt		      ^gdbm@1.23%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   qaq2asl		  ^zlib@1.2.13%gcc@8.4.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu18.04-x86_64
 -   dehzhtf	  ^mpich@4.0.2%gcc@8.4.0~argobots~cuda+fortran+hwloc+hydra+libxml2+pci~rocm+romio~slurm~two_level_namespace~vci~verbs+wrapperrpath build_system=autotools datatype-engine=auto device=ch4 netmod=ofi patches=d4c0e99 pmi=pmi arch=linux-ubuntu18.04-x86_64
 -   ye45pox	      ^findutils@4.9.0%gcc@8.4.0 build_system=autotools patches=440b954 arch=linux-ubuntu18.04-x86_64
 -   76vxdwi	      ^hwloc@2.8.0%gcc@8.4.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
 -   zmoqcfm	      ^libfabric@1.16.1%gcc@8.4.0~debug~kdreg build_system=autotools fabrics=sockets,tcp,udp arch=linux-ubuntu18.04-x86_64
 -   ygwuejw	      ^libpciaccess@0.16%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   uejcu2m		  ^libtool@2.4.7%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   caquoxb		  ^util-macros@1.19.3%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   rsueryu	      ^libxml2@2.10.1%gcc@8.4.0~python build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   faxyug5		  ^libiconv@1.16%gcc@8.4.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
 -   yalo3gm		  ^xz@5.2.7%gcc@8.4.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
 -   db44f6t	      ^pkgconf@1.8.0%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   ohap5mv	      ^yaksa@0.2%gcc@8.4.0~cuda~rocm build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   3ur6efa		  ^autoconf@2.69%gcc@8.4.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu18.04-x86_64
 -   ltwno6t		  ^automake@1.16.5%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   64hyzlr		  ^m4@1.4.19%gcc@8.4.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu18.04-x86_64
 -   42nykx7		      ^diffutils@3.8%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   hzetpcu		      ^libsigsegv@2.13%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   4ots64k		  ^python@3.10.8%gcc@8.4.0+bz2+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-ubuntu18.04-x86_64
 -   ecxz4tu		      ^expat@2.4.8%gcc@8.4.0+libbsd build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   p666k37			  ^libbsd@0.11.5%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   mbjxxpr			      ^libmd@1.0.4%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   lxoekir		      ^gettext@0.21.1%gcc@8.4.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   vkidral			  ^tar@1.34%gcc@8.4.0 build_system=autotools zip=pigz arch=linux-ubuntu18.04-x86_64
 -   x4i7we6			      ^pigz@2.7%gcc@8.4.0 build_system=makefile arch=linux-ubuntu18.04-x86_64
 -   2b73tir			      ^zstd@1.5.2%gcc@8.4.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu18.04-x86_64
 -   pfw5zcj		      ^libffi@3.4.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   vrvkcpj		      ^readline@8.1.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   e373hd3		      ^sqlite@3.39.4%gcc@8.4.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   72abeix		      ^util-linux-uuid@2.38.1%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
 -   d75mbpb	  ^netlib-lapack@3.10.1%gcc@8.4.0~external-blas~ipo+lapacke+shared~xblas build_system=cmake build_type=RelWithDebInfo arch=linux-ubuntu18.04-x86_64

$ spack install
==> Installing environment /home/spack/stacks
==> Installing pkgconf-1.8.0-db44f6t42lbdqfklztgeegyqraop6n5i
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-pkgconf-1.8.0-db44f6t42lbdqfklztgeegyqraop6n5i.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/pkgconf-1.8.0/linux-ubuntu18.04-x86_64-gcc-8.4.0-pkgconf-1.8.0-db44f6t42lbdqfklztgeegyqraop6n5i.spack
==> Extracting pkgconf-1.8.0-db44f6t42lbdqfklztgeegyqraop6n5i from binary cache
==> pkgconf: Successfully installed pkgconf-1.8.0-db44f6t42lbdqfklztgeegyqraop6n5i
  Fetch: 0.25s.	 Build: 0.29s.	Total: 0.54s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/pkgconf-1.8.0-db44f6t42lbdqfklztgeegyqraop6n5i
==> Installing ca-certificates-mozilla-2022-10-11-tug2vtkcqjcweeha6k3imy2cgsekfx4x
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-ca-certificates-mozilla-2022-10-11-tug2vtkcqjcweeha6k3imy2cgsekfx4x.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/ca-certificates-mozilla-2022-10-11/linux-ubuntu18.04-x86_64-gcc-8.4.0-ca-certificates-mozilla-2022-10-11-tug2vtkcqjcweeha6k3imy2cgsekfx4x.spack
==> Extracting ca-certificates-mozilla-2022-10-11-tug2vtkcqjcweeha6k3imy2cgsekfx4x from binary cache
==> ca-certificates-mozilla: Successfully installed ca-certificates-mozilla-2022-10-11-tug2vtkcqjcweeha6k3imy2cgsekfx4x
  Fetch: 0.01s.	 Build: 0.22s.	Total: 0.23s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/ca-certificates-mozilla-2022-10-11-tug2vtkcqjcweeha6k3imy2cgsekfx4x
==> Installing berkeley-db-18.1.40-gfnsus4apotrlab2cpoxvbp2a6bpzeho
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-berkeley-db-18.1.40-gfnsus4apotrlab2cpoxvbp2a6bpzeho.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/berkeley-db-18.1.40/linux-ubuntu18.04-x86_64-gcc-8.4.0-berkeley-db-18.1.40-gfnsus4apotrlab2cpoxvbp2a6bpzeho.spack
==> Extracting berkeley-db-18.1.40-gfnsus4apotrlab2cpoxvbp2a6bpzeho from binary cache
==> berkeley-db: Successfully installed berkeley-db-18.1.40-gfnsus4apotrlab2cpoxvbp2a6bpzeho
  Fetch: 0.01s.	 Build: 0.28s.	Total: 0.30s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/berkeley-db-18.1.40-gfnsus4apotrlab2cpoxvbp2a6bpzeho
==> Installing libiconv-1.16-faxyug5doa3hfblsepnazevtaojz6lwd
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-libiconv-1.16-faxyug5doa3hfblsepnazevtaojz6lwd.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/libiconv-1.16/linux-ubuntu18.04-x86_64-gcc-8.4.0-libiconv-1.16-faxyug5doa3hfblsepnazevtaojz6lwd.spack
==> Extracting libiconv-1.16-faxyug5doa3hfblsepnazevtaojz6lwd from binary cache
==> libiconv: Successfully installed libiconv-1.16-faxyug5doa3hfblsepnazevtaojz6lwd
  Fetch: 0.01s.	 Build: 0.28s.	Total: 0.29s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/libiconv-1.16-faxyug5doa3hfblsepnazevtaojz6lwd
==> Installing zlib-1.2.13-qaq2aslmr4ixn64tuzkovirtyfh3v3ee
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-zlib-1.2.13-qaq2aslmr4ixn64tuzkovirtyfh3v3ee.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/zlib-1.2.13/linux-ubuntu18.04-x86_64-gcc-8.4.0-zlib-1.2.13-qaq2aslmr4ixn64tuzkovirtyfh3v3ee.spack
==> Extracting zlib-1.2.13-qaq2aslmr4ixn64tuzkovirtyfh3v3ee from binary cache
==> zlib: Successfully installed zlib-1.2.13-qaq2aslmr4ixn64tuzkovirtyfh3v3ee
  Fetch: 0.01s.	 Build: 0.23s.	Total: 0.24s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/zlib-1.2.13-qaq2aslmr4ixn64tuzkovirtyfh3v3ee
==> Installing libsigsegv-2.13-hzetpcu2av5jcqewrblvd7p2qrdsfe4c
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-libsigsegv-2.13-hzetpcu2av5jcqewrblvd7p2qrdsfe4c.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/libsigsegv-2.13/linux-ubuntu18.04-x86_64-gcc-8.4.0-libsigsegv-2.13-hzetpcu2av5jcqewrblvd7p2qrdsfe4c.spack
==> Extracting libsigsegv-2.13-hzetpcu2av5jcqewrblvd7p2qrdsfe4c from binary cache
==> libsigsegv: Successfully installed libsigsegv-2.13-hzetpcu2av5jcqewrblvd7p2qrdsfe4c
  Fetch: 0.01s.	 Build: 0.23s.	Total: 0.24s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/libsigsegv-2.13-hzetpcu2av5jcqewrblvd7p2qrdsfe4c
==> Installing util-macros-1.19.3-caquoxbkuf7ku76xe3vrndx5olmmsum3
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-util-macros-1.19.3-caquoxbkuf7ku76xe3vrndx5olmmsum3.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/util-macros-1.19.3/linux-ubuntu18.04-x86_64-gcc-8.4.0-util-macros-1.19.3-caquoxbkuf7ku76xe3vrndx5olmmsum3.spack
==> Extracting util-macros-1.19.3-caquoxbkuf7ku76xe3vrndx5olmmsum3 from binary cache
==> util-macros: Successfully installed util-macros-1.19.3-caquoxbkuf7ku76xe3vrndx5olmmsum3
  Fetch: 0.01s.	 Build: 0.23s.	Total: 0.24s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/util-macros-1.19.3-caquoxbkuf7ku76xe3vrndx5olmmsum3
==> Installing xz-5.2.7-yalo3gmoe3z4d4kvvotpmfpic6ptith6
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-xz-5.2.7-yalo3gmoe3z4d4kvvotpmfpic6ptith6.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/xz-5.2.7/linux-ubuntu18.04-x86_64-gcc-8.4.0-xz-5.2.7-yalo3gmoe3z4d4kvvotpmfpic6ptith6.spack
==> Extracting xz-5.2.7-yalo3gmoe3z4d4kvvotpmfpic6ptith6 from binary cache
==> xz: Successfully installed xz-5.2.7-yalo3gmoe3z4d4kvvotpmfpic6ptith6
  Fetch: 0.01s.	 Build: 0.29s.	Total: 0.30s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/xz-5.2.7-yalo3gmoe3z4d4kvvotpmfpic6ptith6
==> Installing zstd-1.5.2-2b73tirbzuagu4mxnldwso2i2pwky4gz
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-zstd-1.5.2-2b73tirbzuagu4mxnldwso2i2pwky4gz.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/zstd-1.5.2/linux-ubuntu18.04-x86_64-gcc-8.4.0-zstd-1.5.2-2b73tirbzuagu4mxnldwso2i2pwky4gz.spack
==> Extracting zstd-1.5.2-2b73tirbzuagu4mxnldwso2i2pwky4gz from binary cache
==> zstd: Successfully installed zstd-1.5.2-2b73tirbzuagu4mxnldwso2i2pwky4gz
  Fetch: 0.01s.	 Build: 0.26s.	Total: 0.27s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/zstd-1.5.2-2b73tirbzuagu4mxnldwso2i2pwky4gz
==> Installing findutils-4.9.0-ye45poxpmtfgnl5kxnrvphm4vfis7hc7
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-findutils-4.9.0-ye45poxpmtfgnl5kxnrvphm4vfis7hc7.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/findutils-4.9.0/linux-ubuntu18.04-x86_64-gcc-8.4.0-findutils-4.9.0-ye45poxpmtfgnl5kxnrvphm4vfis7hc7.spack
==> Extracting findutils-4.9.0-ye45poxpmtfgnl5kxnrvphm4vfis7hc7 from binary cache
==> findutils: Successfully installed findutils-4.9.0-ye45poxpmtfgnl5kxnrvphm4vfis7hc7
  Fetch: 0.01s.	 Build: 0.26s.	Total: 0.28s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/findutils-4.9.0-ye45poxpmtfgnl5kxnrvphm4vfis7hc7
==> Installing libfabric-1.16.1-zmoqcfmoxi6lepi6xcktjka2mmqmttj2
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-libfabric-1.16.1-zmoqcfmoxi6lepi6xcktjka2mmqmttj2.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/libfabric-1.16.1/linux-ubuntu18.04-x86_64-gcc-8.4.0-libfabric-1.16.1-zmoqcfmoxi6lepi6xcktjka2mmqmttj2.spack
==> Extracting libfabric-1.16.1-zmoqcfmoxi6lepi6xcktjka2mmqmttj2 from binary cache
==> libfabric: Successfully installed libfabric-1.16.1-zmoqcfmoxi6lepi6xcktjka2mmqmttj2
  Fetch: 0.01s.	 Build: 0.27s.	Total: 0.27s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/libfabric-1.16.1-zmoqcfmoxi6lepi6xcktjka2mmqmttj2
==> Installing libmd-1.0.4-mbjxxprrfbccebuzqjeqsmctal3ssqno
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-libmd-1.0.4-mbjxxprrfbccebuzqjeqsmctal3ssqno.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/libmd-1.0.4/linux-ubuntu18.04-x86_64-gcc-8.4.0-libmd-1.0.4-mbjxxprrfbccebuzqjeqsmctal3ssqno.spack
==> Extracting libmd-1.0.4-mbjxxprrfbccebuzqjeqsmctal3ssqno from binary cache
==> libmd: Successfully installed libmd-1.0.4-mbjxxprrfbccebuzqjeqsmctal3ssqno
  Fetch: 0.01s.	 Build: 0.23s.	Total: 0.25s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/libmd-1.0.4-mbjxxprrfbccebuzqjeqsmctal3ssqno
==> Installing libffi-3.4.2-pfw5zcjgdzf36nq4litknqxqroymqffv
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-libffi-3.4.2-pfw5zcjgdzf36nq4litknqxqroymqffv.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/libffi-3.4.2/linux-ubuntu18.04-x86_64-gcc-8.4.0-libffi-3.4.2-pfw5zcjgdzf36nq4litknqxqroymqffv.spack
==> Extracting libffi-3.4.2-pfw5zcjgdzf36nq4litknqxqroymqffv from binary cache
==> libffi: Successfully installed libffi-3.4.2-pfw5zcjgdzf36nq4litknqxqroymqffv
  Fetch: 0.02s.	 Build: 0.24s.	Total: 0.26s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/libffi-3.4.2-pfw5zcjgdzf36nq4litknqxqroymqffv
==> Installing util-linux-uuid-2.38.1-72abeixl6i53icyjzlyej35bc5v6z5j7
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-util-linux-uuid-2.38.1-72abeixl6i53icyjzlyej35bc5v6z5j7.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/util-linux-uuid-2.38.1/linux-ubuntu18.04-x86_64-gcc-8.4.0-util-linux-uuid-2.38.1-72abeixl6i53icyjzlyej35bc5v6z5j7.spack
==> Extracting util-linux-uuid-2.38.1-72abeixl6i53icyjzlyej35bc5v6z5j7 from binary cache
==> util-linux-uuid: Successfully installed util-linux-uuid-2.38.1-72abeixl6i53icyjzlyej35bc5v6z5j7
  Fetch: 0.01s.	 Build: 0.28s.	Total: 0.29s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/util-linux-uuid-2.38.1-72abeixl6i53icyjzlyej35bc5v6z5j7
==> Installing ncurses-6.3-pm3k5t4dgytjo2gfmrjlu6x6t4s2rust
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-ncurses-6.3-pm3k5t4dgytjo2gfmrjlu6x6t4s2rust.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/ncurses-6.3/linux-ubuntu18.04-x86_64-gcc-8.4.0-ncurses-6.3-pm3k5t4dgytjo2gfmrjlu6x6t4s2rust.spack
==> Extracting ncurses-6.3-pm3k5t4dgytjo2gfmrjlu6x6t4s2rust from binary cache
==> ncurses: Successfully installed ncurses-6.3-pm3k5t4dgytjo2gfmrjlu6x6t4s2rust
  Fetch: 0.02s.	 Build: 0.69s.	Total: 0.71s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/ncurses-6.3-pm3k5t4dgytjo2gfmrjlu6x6t4s2rust
==> Installing diffutils-3.8-42nykx7z5xb3ixivz5slj7zvrjjzlx5q
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-diffutils-3.8-42nykx7z5xb3ixivz5slj7zvrjjzlx5q.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/diffutils-3.8/linux-ubuntu18.04-x86_64-gcc-8.4.0-diffutils-3.8-42nykx7z5xb3ixivz5slj7zvrjjzlx5q.spack
==> Extracting diffutils-3.8-42nykx7z5xb3ixivz5slj7zvrjjzlx5q from binary cache
==> diffutils: Successfully installed diffutils-3.8-42nykx7z5xb3ixivz5slj7zvrjjzlx5q
  Fetch: 0.01s.	 Build: 0.26s.	Total: 0.27s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/diffutils-3.8-42nykx7z5xb3ixivz5slj7zvrjjzlx5q
==> Installing pigz-2.7-x4i7we6fzr35b7lqatx74m6llcwyrkyp
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-pigz-2.7-x4i7we6fzr35b7lqatx74m6llcwyrkyp.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/pigz-2.7/linux-ubuntu18.04-x86_64-gcc-8.4.0-pigz-2.7-x4i7we6fzr35b7lqatx74m6llcwyrkyp.spack
==> Extracting pigz-2.7-x4i7we6fzr35b7lqatx74m6llcwyrkyp from binary cache
==> pigz: Successfully installed pigz-2.7-x4i7we6fzr35b7lqatx74m6llcwyrkyp
  Fetch: 0.01s.	 Build: 0.24s.	Total: 0.25s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/pigz-2.7-x4i7we6fzr35b7lqatx74m6llcwyrkyp
==> Installing libxml2-2.10.1-rsueryued5ulmbop3bck4av3233zfu46
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-libxml2-2.10.1-rsueryued5ulmbop3bck4av3233zfu46.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/libxml2-2.10.1/linux-ubuntu18.04-x86_64-gcc-8.4.0-libxml2-2.10.1-rsueryued5ulmbop3bck4av3233zfu46.spack
==> Extracting libxml2-2.10.1-rsueryued5ulmbop3bck4av3233zfu46 from binary cache
==> libxml2: Successfully installed libxml2-2.10.1-rsueryued5ulmbop3bck4av3233zfu46
  Fetch: 0.01s.	 Build: 0.31s.	Total: 0.32s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/libxml2-2.10.1-rsueryued5ulmbop3bck4av3233zfu46
==> Installing libbsd-0.11.5-p666k37vii7szqjc5nrms72tedrrdcjk
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-libbsd-0.11.5-p666k37vii7szqjc5nrms72tedrrdcjk.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/libbsd-0.11.5/linux-ubuntu18.04-x86_64-gcc-8.4.0-libbsd-0.11.5-p666k37vii7szqjc5nrms72tedrrdcjk.spack
==> Extracting libbsd-0.11.5-p666k37vii7szqjc5nrms72tedrrdcjk from binary cache
==> libbsd: Successfully installed libbsd-0.11.5-p666k37vii7szqjc5nrms72tedrrdcjk
  Fetch: 0.01s.	 Build: 0.27s.	Total: 0.29s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/libbsd-0.11.5-p666k37vii7szqjc5nrms72tedrrdcjk
==> Installing readline-8.1.2-vrvkcpjtvnydpvy4rvtl6m2xy2udro5o
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-readline-8.1.2-vrvkcpjtvnydpvy4rvtl6m2xy2udro5o.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/readline-8.1.2/linux-ubuntu18.04-x86_64-gcc-8.4.0-readline-8.1.2-vrvkcpjtvnydpvy4rvtl6m2xy2udro5o.spack
==> Extracting readline-8.1.2-vrvkcpjtvnydpvy4rvtl6m2xy2udro5o from binary cache
==> readline: Successfully installed readline-8.1.2-vrvkcpjtvnydpvy4rvtl6m2xy2udro5o
  Fetch: 0.01s.	 Build: 0.26s.	Total: 0.27s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/readline-8.1.2-vrvkcpjtvnydpvy4rvtl6m2xy2udro5o
==> Installing libedit-3.1-20210216-zl6rdlrrnkrqylk4wmyudt3i6rttartb
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-libedit-3.1-20210216-zl6rdlrrnkrqylk4wmyudt3i6rttartb.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/libedit-3.1-20210216/linux-ubuntu18.04-x86_64-gcc-8.4.0-libedit-3.1-20210216-zl6rdlrrnkrqylk4wmyudt3i6rttartb.spack
==> Extracting libedit-3.1-20210216-zl6rdlrrnkrqylk4wmyudt3i6rttartb from binary cache
==> libedit: Successfully installed libedit-3.1-20210216-zl6rdlrrnkrqylk4wmyudt3i6rttartb
  Fetch: 0.01s.	 Build: 0.25s.	Total: 0.26s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/libedit-3.1-20210216-zl6rdlrrnkrqylk4wmyudt3i6rttartb
==> Installing m4-1.4.19-64hyzlrbff467naai56gnb7uyfglmc7u
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-m4-1.4.19-64hyzlrbff467naai56gnb7uyfglmc7u.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/m4-1.4.19/linux-ubuntu18.04-x86_64-gcc-8.4.0-m4-1.4.19-64hyzlrbff467naai56gnb7uyfglmc7u.spack
==> Extracting m4-1.4.19-64hyzlrbff467naai56gnb7uyfglmc7u from binary cache
==> m4: Successfully installed m4-1.4.19-64hyzlrbff467naai56gnb7uyfglmc7u
  Fetch: 0.01s.	 Build: 0.26s.	Total: 0.27s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/m4-1.4.19-64hyzlrbff467naai56gnb7uyfglmc7u
==> Installing bzip2-1.0.8-h2cyuucpkzjs6sdabvgfwab3m2x4uh2b
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-bzip2-1.0.8-h2cyuucpkzjs6sdabvgfwab3m2x4uh2b.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/bzip2-1.0.8/linux-ubuntu18.04-x86_64-gcc-8.4.0-bzip2-1.0.8-h2cyuucpkzjs6sdabvgfwab3m2x4uh2b.spack
==> Extracting bzip2-1.0.8-h2cyuucpkzjs6sdabvgfwab3m2x4uh2b from binary cache
==> bzip2: Successfully installed bzip2-1.0.8-h2cyuucpkzjs6sdabvgfwab3m2x4uh2b
  Fetch: 0.01s.	 Build: 0.24s.	Total: 0.25s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/bzip2-1.0.8-h2cyuucpkzjs6sdabvgfwab3m2x4uh2b
==> Installing expat-2.4.8-ecxz4tuzy6ahlwyoqgfcd2fu7h4b4mxf
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-expat-2.4.8-ecxz4tuzy6ahlwyoqgfcd2fu7h4b4mxf.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/expat-2.4.8/linux-ubuntu18.04-x86_64-gcc-8.4.0-expat-2.4.8-ecxz4tuzy6ahlwyoqgfcd2fu7h4b4mxf.spack
==> Extracting expat-2.4.8-ecxz4tuzy6ahlwyoqgfcd2fu7h4b4mxf from binary cache
==> expat: Successfully installed expat-2.4.8-ecxz4tuzy6ahlwyoqgfcd2fu7h4b4mxf
  Fetch: 0.01s.	 Build: 0.25s.	Total: 0.26s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/expat-2.4.8-ecxz4tuzy6ahlwyoqgfcd2fu7h4b4mxf
==> Installing gdbm-1.23-6dpdzltsq23p7ybeihohvptihbgdfabv
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-gdbm-1.23-6dpdzltsq23p7ybeihohvptihbgdfabv.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/gdbm-1.23/linux-ubuntu18.04-x86_64-gcc-8.4.0-gdbm-1.23-6dpdzltsq23p7ybeihohvptihbgdfabv.spack
==> Extracting gdbm-1.23-6dpdzltsq23p7ybeihohvptihbgdfabv from binary cache
==> gdbm: Successfully installed gdbm-1.23-6dpdzltsq23p7ybeihohvptihbgdfabv
  Fetch: 0.01s.	 Build: 0.25s.	Total: 0.26s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/gdbm-1.23-6dpdzltsq23p7ybeihohvptihbgdfabv
==> Installing sqlite-3.39.4-e373hd3b7ze6ojjvsopuf7mwms45p7av
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-sqlite-3.39.4-e373hd3b7ze6ojjvsopuf7mwms45p7av.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/sqlite-3.39.4/linux-ubuntu18.04-x86_64-gcc-8.4.0-sqlite-3.39.4-e373hd3b7ze6ojjvsopuf7mwms45p7av.spack
==> Extracting sqlite-3.39.4-e373hd3b7ze6ojjvsopuf7mwms45p7av from binary cache
==> sqlite: Successfully installed sqlite-3.39.4-e373hd3b7ze6ojjvsopuf7mwms45p7av
  Fetch: 0.02s.	 Build: 0.42s.	Total: 0.44s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/sqlite-3.39.4-e373hd3b7ze6ojjvsopuf7mwms45p7av
==> Installing libtool-2.4.7-uejcu2mij7ixp7omiai2epblynem6zov
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-libtool-2.4.7-uejcu2mij7ixp7omiai2epblynem6zov.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/libtool-2.4.7/linux-ubuntu18.04-x86_64-gcc-8.4.0-libtool-2.4.7-uejcu2mij7ixp7omiai2epblynem6zov.spack
==> Extracting libtool-2.4.7-uejcu2mij7ixp7omiai2epblynem6zov from binary cache
==> libtool: Successfully installed libtool-2.4.7-uejcu2mij7ixp7omiai2epblynem6zov
  Fetch: 0.01s.	 Build: 0.26s.	Total: 0.27s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/libtool-2.4.7-uejcu2mij7ixp7omiai2epblynem6zov
==> Installing tar-1.34-vkidralbkkcokits4dlaq657neoxyd5a
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-tar-1.34-vkidralbkkcokits4dlaq657neoxyd5a.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/tar-1.34/linux-ubuntu18.04-x86_64-gcc-8.4.0-tar-1.34-vkidralbkkcokits4dlaq657neoxyd5a.spack
==> Extracting tar-1.34-vkidralbkkcokits4dlaq657neoxyd5a from binary cache
==> tar: Successfully installed tar-1.34-vkidralbkkcokits4dlaq657neoxyd5a
  Fetch: 0.01s.	 Build: 0.29s.	Total: 0.30s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/tar-1.34-vkidralbkkcokits4dlaq657neoxyd5a
==> Installing perl-5.36.0-oxh2v73sjo5g4ngwugwvj6guhjmpspoj
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-perl-5.36.0-oxh2v73sjo5g4ngwugwvj6guhjmpspoj.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/perl-5.36.0/linux-ubuntu18.04-x86_64-gcc-8.4.0-perl-5.36.0-oxh2v73sjo5g4ngwugwvj6guhjmpspoj.spack
==> Extracting perl-5.36.0-oxh2v73sjo5g4ngwugwvj6guhjmpspoj from binary cache
==> perl: Successfully installed perl-5.36.0-oxh2v73sjo5g4ngwugwvj6guhjmpspoj
  Fetch: 0.03s.	 Build: 1.32s.	Total: 1.35s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/perl-5.36.0-oxh2v73sjo5g4ngwugwvj6guhjmpspoj
==> Installing libpciaccess-0.16-ygwuejwrnnffrmh7ozwjlujlbsstmf7i
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-libpciaccess-0.16-ygwuejwrnnffrmh7ozwjlujlbsstmf7i.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/libpciaccess-0.16/linux-ubuntu18.04-x86_64-gcc-8.4.0-libpciaccess-0.16-ygwuejwrnnffrmh7ozwjlujlbsstmf7i.spack
==> Extracting libpciaccess-0.16-ygwuejwrnnffrmh7ozwjlujlbsstmf7i from binary cache
==> libpciaccess: Successfully installed libpciaccess-0.16-ygwuejwrnnffrmh7ozwjlujlbsstmf7i
  Fetch: 0.02s.	 Build: 0.24s.	Total: 0.25s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/libpciaccess-0.16-ygwuejwrnnffrmh7ozwjlujlbsstmf7i
==> Installing gettext-0.21.1-lxoekirfrdswt32um44bxgx45577yfvl
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-gettext-0.21.1-lxoekirfrdswt32um44bxgx45577yfvl.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/gettext-0.21.1/linux-ubuntu18.04-x86_64-gcc-8.4.0-gettext-0.21.1-lxoekirfrdswt32um44bxgx45577yfvl.spack
==> Extracting gettext-0.21.1-lxoekirfrdswt32um44bxgx45577yfvl from binary cache
==> gettext: Successfully installed gettext-0.21.1-lxoekirfrdswt32um44bxgx45577yfvl
  Fetch: 0.03s.	 Build: 0.76s.	Total: 0.79s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/gettext-0.21.1-lxoekirfrdswt32um44bxgx45577yfvl
==> Installing autoconf-2.69-3ur6efamfv45qe6bwrsegp226uztpud3
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-autoconf-2.69-3ur6efamfv45qe6bwrsegp226uztpud3.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/autoconf-2.69/linux-ubuntu18.04-x86_64-gcc-8.4.0-autoconf-2.69-3ur6efamfv45qe6bwrsegp226uztpud3.spack
==> Extracting autoconf-2.69-3ur6efamfv45qe6bwrsegp226uztpud3 from binary cache
==> autoconf: Successfully installed autoconf-2.69-3ur6efamfv45qe6bwrsegp226uztpud3
  Fetch: 0.01s.	 Build: 0.27s.	Total: 0.28s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/autoconf-2.69-3ur6efamfv45qe6bwrsegp226uztpud3
==> Installing bison-3.8.2-mne2r6ip5e4k3uniisdaukoylkxwo7h6
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-bison-3.8.2-mne2r6ip5e4k3uniisdaukoylkxwo7h6.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/bison-3.8.2/linux-ubuntu18.04-x86_64-gcc-8.4.0-bison-3.8.2-mne2r6ip5e4k3uniisdaukoylkxwo7h6.spack
==> Extracting bison-3.8.2-mne2r6ip5e4k3uniisdaukoylkxwo7h6 from binary cache
==> bison: Successfully installed bison-3.8.2-mne2r6ip5e4k3uniisdaukoylkxwo7h6
  Fetch: 0.02s.	 Build: 0.32s.	Total: 0.34s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/bison-3.8.2-mne2r6ip5e4k3uniisdaukoylkxwo7h6
==> Installing openssl-1.1.1s-4h2attb2yqu7tfqpyggx3fwoks7e5yw5
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-openssl-1.1.1s-4h2attb2yqu7tfqpyggx3fwoks7e5yw5.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/openssl-1.1.1s/linux-ubuntu18.04-x86_64-gcc-8.4.0-openssl-1.1.1s-4h2attb2yqu7tfqpyggx3fwoks7e5yw5.spack
==> Extracting openssl-1.1.1s-4h2attb2yqu7tfqpyggx3fwoks7e5yw5 from binary cache
==> openssl: Successfully installed openssl-1.1.1s-4h2attb2yqu7tfqpyggx3fwoks7e5yw5
  Fetch: 0.02s.	 Build: 0.33s.	Total: 0.35s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/openssl-1.1.1s-4h2attb2yqu7tfqpyggx3fwoks7e5yw5
==> Installing openblas-0.3.21-62oqts527i2i2cwxiyz3o5vujvldkdu2
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-openblas-0.3.21-62oqts527i2i2cwxiyz3o5vujvldkdu2.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/openblas-0.3.21/linux-ubuntu18.04-x86_64-gcc-8.4.0-openblas-0.3.21-62oqts527i2i2cwxiyz3o5vujvldkdu2.spack
==> Extracting openblas-0.3.21-62oqts527i2i2cwxiyz3o5vujvldkdu2 from binary cache
==> openblas: Successfully installed openblas-0.3.21-62oqts527i2i2cwxiyz3o5vujvldkdu2
  Fetch: 0.04s.	 Build: 0.82s.	Total: 0.86s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/openblas-0.3.21-62oqts527i2i2cwxiyz3o5vujvldkdu2
==> Installing hwloc-2.8.0-76vxdwi4w2irmphqqhwqu42byta32nl6
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-hwloc-2.8.0-76vxdwi4w2irmphqqhwqu42byta32nl6.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/hwloc-2.8.0/linux-ubuntu18.04-x86_64-gcc-8.4.0-hwloc-2.8.0-76vxdwi4w2irmphqqhwqu42byta32nl6.spack
==> Extracting hwloc-2.8.0-76vxdwi4w2irmphqqhwqu42byta32nl6 from binary cache
==> hwloc: Successfully installed hwloc-2.8.0-76vxdwi4w2irmphqqhwqu42byta32nl6
  Fetch: 0.02s.	 Build: 0.38s.	Total: 0.40s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/hwloc-2.8.0-76vxdwi4w2irmphqqhwqu42byta32nl6
==> Installing automake-1.16.5-ltwno6tnljlf7unvjo4qmu5aux2mflni
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-automake-1.16.5-ltwno6tnljlf7unvjo4qmu5aux2mflni.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/automake-1.16.5/linux-ubuntu18.04-x86_64-gcc-8.4.0-automake-1.16.5-ltwno6tnljlf7unvjo4qmu5aux2mflni.spack
==> Extracting automake-1.16.5-ltwno6tnljlf7unvjo4qmu5aux2mflni from binary cache
==> automake: Successfully installed automake-1.16.5-ltwno6tnljlf7unvjo4qmu5aux2mflni
  Fetch: 0.01s.	 Build: 0.29s.	Total: 0.30s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/automake-1.16.5-ltwno6tnljlf7unvjo4qmu5aux2mflni
==> Installing libevent-2.1.12-zlkggwbcrqgken7oty37uu5dtqzsnf7k
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-libevent-2.1.12-zlkggwbcrqgken7oty37uu5dtqzsnf7k.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/libevent-2.1.12/linux-ubuntu18.04-x86_64-gcc-8.4.0-libevent-2.1.12-zlkggwbcrqgken7oty37uu5dtqzsnf7k.spack
==> Extracting libevent-2.1.12-zlkggwbcrqgken7oty37uu5dtqzsnf7k from binary cache
==> libevent: Successfully installed libevent-2.1.12-zlkggwbcrqgken7oty37uu5dtqzsnf7k
  Fetch: 0.02s.	 Build: 0.32s.	Total: 0.34s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/libevent-2.1.12-zlkggwbcrqgken7oty37uu5dtqzsnf7k
==> Installing cmake-3.24.3-3oinxkn2xq7ccs47db4dltvmijdtwrdz
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-cmake-3.24.3-3oinxkn2xq7ccs47db4dltvmijdtwrdz.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/cmake-3.24.3/linux-ubuntu18.04-x86_64-gcc-8.4.0-cmake-3.24.3-3oinxkn2xq7ccs47db4dltvmijdtwrdz.spack
==> Extracting cmake-3.24.3-3oinxkn2xq7ccs47db4dltvmijdtwrdz from binary cache
==> cmake: Successfully installed cmake-3.24.3-3oinxkn2xq7ccs47db4dltvmijdtwrdz
  Fetch: 0.04s.	 Build: 0.98s.	Total: 1.02s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/cmake-3.24.3-3oinxkn2xq7ccs47db4dltvmijdtwrdz
==> Installing krb5-1.19.3-lbq4bnu5gurxp6jbkngustwhgm2z5xm3
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-krb5-1.19.3-lbq4bnu5gurxp6jbkngustwhgm2z5xm3.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/krb5-1.19.3/linux-ubuntu18.04-x86_64-gcc-8.4.0-krb5-1.19.3-lbq4bnu5gurxp6jbkngustwhgm2z5xm3.spack
==> Extracting krb5-1.19.3-lbq4bnu5gurxp6jbkngustwhgm2z5xm3 from binary cache
==> krb5: Successfully installed krb5-1.19.3-lbq4bnu5gurxp6jbkngustwhgm2z5xm3
  Fetch: 0.02s.	 Build: 0.43s.	Total: 0.45s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/krb5-1.19.3-lbq4bnu5gurxp6jbkngustwhgm2z5xm3
==> Installing python-3.10.8-4ots64kzypfb4jdds63fs57utcyr75ha
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-python-3.10.8-4ots64kzypfb4jdds63fs57utcyr75ha.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/python-3.10.8/linux-ubuntu18.04-x86_64-gcc-8.4.0-python-3.10.8-4ots64kzypfb4jdds63fs57utcyr75ha.spack
==> Extracting python-3.10.8-4ots64kzypfb4jdds63fs57utcyr75ha from binary cache
==> python: Successfully installed python-3.10.8-4ots64kzypfb4jdds63fs57utcyr75ha
  Fetch: 0.07s.	 Build: 2.78s.	Total: 2.84s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/python-3.10.8-4ots64kzypfb4jdds63fs57utcyr75ha
==> Installing numactl-2.0.14-qo6lo2my62jkyyuuhmfgbdg4dc4s6hwg
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-numactl-2.0.14-qo6lo2my62jkyyuuhmfgbdg4dc4s6hwg.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/numactl-2.0.14/linux-ubuntu18.04-x86_64-gcc-8.4.0-numactl-2.0.14-qo6lo2my62jkyyuuhmfgbdg4dc4s6hwg.spack
==> Extracting numactl-2.0.14-qo6lo2my62jkyyuuhmfgbdg4dc4s6hwg from binary cache
==> numactl: Successfully installed numactl-2.0.14-qo6lo2my62jkyyuuhmfgbdg4dc4s6hwg
  Fetch: 0.01s.	 Build: 0.26s.	Total: 0.27s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/numactl-2.0.14-qo6lo2my62jkyyuuhmfgbdg4dc4s6hwg
==> Installing pmix-4.1.2-alwqqyva54zk4tbop2lwecba7ajukvkc
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-pmix-4.1.2-alwqqyva54zk4tbop2lwecba7ajukvkc.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/pmix-4.1.2/linux-ubuntu18.04-x86_64-gcc-8.4.0-pmix-4.1.2-alwqqyva54zk4tbop2lwecba7ajukvkc.spack
==> Extracting pmix-4.1.2-alwqqyva54zk4tbop2lwecba7ajukvkc from binary cache
==> pmix: Successfully installed pmix-4.1.2-alwqqyva54zk4tbop2lwecba7ajukvkc
  Fetch: 0.02s.	 Build: 0.33s.	Total: 0.35s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/pmix-4.1.2-alwqqyva54zk4tbop2lwecba7ajukvkc
==> Installing netlib-lapack-3.10.1-d75mbpb5eg6kv3dk5ez2p7ku3bw2keoa
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-netlib-lapack-3.10.1-d75mbpb5eg6kv3dk5ez2p7ku3bw2keoa.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/netlib-lapack-3.10.1/linux-ubuntu18.04-x86_64-gcc-8.4.0-netlib-lapack-3.10.1-d75mbpb5eg6kv3dk5ez2p7ku3bw2keoa.spack
==> Extracting netlib-lapack-3.10.1-d75mbpb5eg6kv3dk5ez2p7ku3bw2keoa from binary cache
==> netlib-lapack: Successfully installed netlib-lapack-3.10.1-d75mbpb5eg6kv3dk5ez2p7ku3bw2keoa
  Fetch: 0.02s.	 Build: 0.47s.	Total: 0.49s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/netlib-lapack-3.10.1-d75mbpb5eg6kv3dk5ez2p7ku3bw2keoa
==> Installing openssh-9.1p1-bu2y2rn5k37ckcdj7rlsqma7mysrf27s
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-openssh-9.1p1-bu2y2rn5k37ckcdj7rlsqma7mysrf27s.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/openssh-9.1p1/linux-ubuntu18.04-x86_64-gcc-8.4.0-openssh-9.1p1-bu2y2rn5k37ckcdj7rlsqma7mysrf27s.spack
==> Extracting openssh-9.1p1-bu2y2rn5k37ckcdj7rlsqma7mysrf27s from binary cache
==> openssh: Successfully installed openssh-9.1p1-bu2y2rn5k37ckcdj7rlsqma7mysrf27s
  Fetch: 0.02s.	 Build: 0.34s.	Total: 0.36s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/openssh-9.1p1-bu2y2rn5k37ckcdj7rlsqma7mysrf27s
==> Installing yaksa-0.2-ohap5mv5lhrx7lrfvjgfdpgehodlbb5u
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-yaksa-0.2-ohap5mv5lhrx7lrfvjgfdpgehodlbb5u.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/yaksa-0.2/linux-ubuntu18.04-x86_64-gcc-8.4.0-yaksa-0.2-ohap5mv5lhrx7lrfvjgfdpgehodlbb5u.spack
==> Extracting yaksa-0.2-ohap5mv5lhrx7lrfvjgfdpgehodlbb5u from binary cache
==> yaksa: Successfully installed yaksa-0.2-ohap5mv5lhrx7lrfvjgfdpgehodlbb5u
  Fetch: 0.03s.	 Build: 0.62s.	Total: 0.65s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/yaksa-0.2-ohap5mv5lhrx7lrfvjgfdpgehodlbb5u
==> Installing openmpi-4.1.4-cnq37ia4lu75epxegwxb2f2p2i5jd7cq
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-openmpi-4.1.4-cnq37ia4lu75epxegwxb2f2p2i5jd7cq.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/openmpi-4.1.4/linux-ubuntu18.04-x86_64-gcc-8.4.0-openmpi-4.1.4-cnq37ia4lu75epxegwxb2f2p2i5jd7cq.spack
==> Extracting openmpi-4.1.4-cnq37ia4lu75epxegwxb2f2p2i5jd7cq from binary cache
==> openmpi: Successfully installed openmpi-4.1.4-cnq37ia4lu75epxegwxb2f2p2i5jd7cq
  Fetch: 0.02s.	 Build: 0.62s.	Total: 0.64s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/openmpi-4.1.4-cnq37ia4lu75epxegwxb2f2p2i5jd7cq
==> Installing mpich-4.0.2-dehzhtf2pyyjg2zwuuzrngja7ipd3d3l
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-mpich-4.0.2-dehzhtf2pyyjg2zwuuzrngja7ipd3d3l.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/mpich-4.0.2/linux-ubuntu18.04-x86_64-gcc-8.4.0-mpich-4.0.2-dehzhtf2pyyjg2zwuuzrngja7ipd3d3l.spack
==> Extracting mpich-4.0.2-dehzhtf2pyyjg2zwuuzrngja7ipd3d3l from binary cache
==> mpich: Successfully installed mpich-4.0.2-dehzhtf2pyyjg2zwuuzrngja7ipd3d3l
  Fetch: 0.03s.	 Build: 1.18s.	Total: 1.21s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/mpich-4.0.2-dehzhtf2pyyjg2zwuuzrngja7ipd3d3l
==> Installing netlib-scalapack-2.2.0-nuulbgbxel3ifjhoc4a2afu2ig6hfzpy
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-netlib-scalapack-2.2.0-nuulbgbxel3ifjhoc4a2afu2ig6hfzpy.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/netlib-scalapack-2.2.0/linux-ubuntu18.04-x86_64-gcc-8.4.0-netlib-scalapack-2.2.0-nuulbgbxel3ifjhoc4a2afu2ig6hfzpy.spack
==> Extracting netlib-scalapack-2.2.0-nuulbgbxel3ifjhoc4a2afu2ig6hfzpy from binary cache
==> netlib-scalapack: Successfully installed netlib-scalapack-2.2.0-nuulbgbxel3ifjhoc4a2afu2ig6hfzpy
  Fetch: 0.02s.	 Build: 0.38s.	Total: 0.39s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/netlib-scalapack-2.2.0-nuulbgbxel3ifjhoc4a2afu2ig6hfzpy
==> Installing netlib-scalapack-2.2.0-iuphysy66zc32x7sg64f54uupqlzsx2k
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-netlib-scalapack-2.2.0-iuphysy66zc32x7sg64f54uupqlzsx2k.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/netlib-scalapack-2.2.0/linux-ubuntu18.04-x86_64-gcc-8.4.0-netlib-scalapack-2.2.0-iuphysy66zc32x7sg64f54uupqlzsx2k.spack
==> Extracting netlib-scalapack-2.2.0-iuphysy66zc32x7sg64f54uupqlzsx2k from binary cache
==> netlib-scalapack: Successfully installed netlib-scalapack-2.2.0-iuphysy66zc32x7sg64f54uupqlzsx2k
  Fetch: 0.02s.	 Build: 0.34s.	Total: 0.36s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/netlib-scalapack-2.2.0-iuphysy66zc32x7sg64f54uupqlzsx2k
==> Installing netlib-scalapack-2.2.0-vae5gpbotmv3xnruc7xr6hdiv76ah2fl
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-netlib-scalapack-2.2.0-vae5gpbotmv3xnruc7xr6hdiv76ah2fl.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/netlib-scalapack-2.2.0/linux-ubuntu18.04-x86_64-gcc-8.4.0-netlib-scalapack-2.2.0-vae5gpbotmv3xnruc7xr6hdiv76ah2fl.spack
==> Extracting netlib-scalapack-2.2.0-vae5gpbotmv3xnruc7xr6hdiv76ah2fl from binary cache
==> netlib-scalapack: Successfully installed netlib-scalapack-2.2.0-vae5gpbotmv3xnruc7xr6hdiv76ah2fl
  Fetch: 0.02s.	 Build: 0.35s.	Total: 0.37s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/netlib-scalapack-2.2.0-vae5gpbotmv3xnruc7xr6hdiv76ah2fl
==> Installing netlib-scalapack-2.2.0-xqcf6y4havpul5wqpm2wyrg2q3jmcdgj
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64-gcc-8.4.0-netlib-scalapack-2.2.0-xqcf6y4havpul5wqpm2wyrg2q3jmcdgj.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-8.4.0/netlib-scalapack-2.2.0/linux-ubuntu18.04-x86_64-gcc-8.4.0-netlib-scalapack-2.2.0-xqcf6y4havpul5wqpm2wyrg2q3jmcdgj.spack
==> Extracting netlib-scalapack-2.2.0-xqcf6y4havpul5wqpm2wyrg2q3jmcdgj from binary cache
==> netlib-scalapack: Successfully installed netlib-scalapack-2.2.0-xqcf6y4havpul5wqpm2wyrg2q3jmcdgj
  Fetch: 0.02s.	 Build: 0.33s.	Total: 0.35s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.4.0/netlib-scalapack-2.2.0-xqcf6y4havpul5wqpm2wyrg2q3jmcdgj
$ spack find
==> In environment /home/spack/stacks
==> Root specs
-- no arch / gcc@7.5.0 ------------------------------------------
gcc@8.4.0%gcc@7.5.0

-- no arch / gcc@8.4.0 ------------------------------------------
netlib-scalapack%gcc@8.4.0  netlib-scalapack%gcc@8.4.0	netlib-scalapack%gcc@8.4.0  netlib-scalapack%gcc@8.4.0

==> Installed packages
-- linux-ubuntu18.04-x86_64 / gcc@7.5.0 -------------------------
autoconf@2.69	 berkeley-db@18.1.40  diffutils@3.8  gcc@8.4.0	gmp@6.2.1      libsigsegv@2.13	m4@1.4.19  mpfr@3.1.6	perl@5.36.0    readline@8.1.2  zlib@1.2.13
automake@1.16.5	 bzip2@1.0.8	      gawk@5.1.1     gdbm@1.23	libiconv@1.16  libtool@2.4.7	mpc@1.1.0  ncurses@6.3	pkgconf@1.8.0  texinfo@6.5

-- linux-ubuntu18.04-x86_64 / gcc@8.4.0 -------------------------
autoconf@2.69	     ca-certificates-mozilla@2022-10-11	 gdbm@1.23	 libedit@3.1-20210216  libmd@1.0.4	  m4@1.4.19		  netlib-scalapack@2.2.0  openmpi@4.1.4	  pkgconf@1.8.0	  tar@1.34		  zlib@1.2.13
automake@1.16.5	     cmake@3.24.3			 gettext@0.21.1	 libevent@2.1.12       libpciaccess@0.16  mpich@4.0.2		  netlib-scalapack@2.2.0  openssh@9.1p1	  pmix@4.1.2	  util-linux-uuid@2.38.1  zstd@1.5.2
berkeley-db@18.1.40  diffutils@3.8			 hwloc@2.8.0	 libfabric@1.16.1      libsigsegv@2.13	  ncurses@6.3		  netlib-scalapack@2.2.0  openssl@1.1.1s  python@3.10.8	  util-macros@1.19.3
bison@3.8.2	     expat@2.4.8			 krb5@1.19.3	 libffi@3.4.2	       libtool@2.4.7	  netlib-lapack@3.10.1	  numactl@2.0.14	  perl@5.36.0	  readline@8.1.2  xz@5.2.7
bzip2@1.0.8	     findutils@4.9.0			 libbsd@0.11.5	 libiconv@1.16	       libxml2@2.10.1	  netlib-scalapack@2.2.0  openblas@0.3.21	  pigz@2.7	  sqlite@3.39.4	  yaksa@0.2
==> 73 installed packages

The matrix operation does exactly what it looks like it does. It performs the cross-product of the spec constraints appearing in the lists. This allows us to deploy software that will satisfy the expectations of HPC users.

Note

Depending on the use case, for software deployment we can set concretizer unification either to false or to when_possible. The latter option will cause Spack to allow deviations based on the specific abstract specs we requested, but otherwise minimize the proliferation of duplicate specs in the environment.

Finally, we can also exclude some values from a matrix:

# This is a Spack Environment file.
#
# It describes a set of packages to be installed, along with
# configuration settings.
spack:
  # add package specs to the `specs` list
  specs:
  - gcc@8.4.0%gcc@7.5.0
  - matrix:
    - [netlib-scalapack]
    - [^openmpi, ^mpich]
    - [^openblas, ^netlib-lapack]
    - ["%gcc@8.4.0"]
  - matrix:
    - [py-scipy]
    - [^openblas, ^netlib-lapack]
    - ["%gcc@8.4.0"]
    exclude:
    - "py-scipy ^netlib-lapack"
  view: false
  concretizer:
    unify: false
  compilers:
  - compiler:
      spec: gcc@8.4.0
      paths:
        cc: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gcc
        cxx: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/g++
        f77: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gfortran
        fc: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gfortran
      flags: {}
      operating_system: ubuntu18.04
      target: x86_64
      modules: []
      environment: {}
      extra_rpaths: []

Here we constructed a list with both py-scipy ^netlib-lapack and py-scipy ^openblas, and excluded the former from the final output. This example might seem a bit silly right now, where we have a single spec, but it can be really useful to keep configuration file tidy in presence of multiple root specs or when reusing named lists (as we’ll see next).

Let’s concretize the environment and install the specs once again:

$ spack concretize -f
$ spack install

At this point the environment contains only py-scipy ^openblas. Let’s verify it:

$ spack find -l py-scipy
==> In environment /home/spack/stacks
==> Root specs
-- no arch / gcc@7.5.0 ------------------------------------------
------- gcc@8.4.0%gcc@7.5.0

-- no arch / gcc@8.4.0 ------------------------------------------
------- netlib-scalapack%gcc@8.4.0  ------- netlib-scalapack%gcc@8.4.0	------- netlib-scalapack%gcc@8.4.0  ------- netlib-scalapack%gcc@8.4.0	------- py-scipy%gcc@8.4.0

==> Installed packages
-- linux-ubuntu18.04-x86_64 / gcc@8.4.0 -------------------------
oliuwzs py-scipy@1.8.1
==> 1 installed package

Named lists in spack environments

Spack also allows for named lists in environments. We can use these lists to clean up our example above. These named lists are defined in the definitions key of the spack.yaml file. Our lists today will be simple lists of packages or constraints, but in more complicated examples the named lists can include matrices as well. Let’s clean up our file a bit now:

# This is a Spack Environment file.
#
# It describes a set of packages to be installed, along with
# configuration settings.
spack:
  definitions:
    - mpis: [openmpi, mpich]
    - lapacks: [^openblas, ^netlib-lapack]
    - compilers: ["%gcc@8.4.0"]
    - mpi_packages: [netlib-scalapack]
    - serial_packages: [py-scipy]

  specs:
  - gcc@8.4.0%gcc@7.5.0
  - matrix:
    - [$mpi_packages]
    - [$^mpis]
    - [$lapacks]
    - [$compilers]
  - matrix:
    - [$serial_packages]
    - [$lapacks]
    - [$compilers]
    exclude:
    - "py-scipy ^netlib-lapack"
  view: false
  concretizer:
    unify: false
  compilers:
  - compiler:
      spec: gcc@8.4.0
      paths:
        cc: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gcc
        cxx: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/g++
        f77: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gfortran
        fc: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gfortran
      flags: {}
      operating_system: ubuntu18.04
      target: x86_64
      modules: []
      environment: {}
      extra_rpaths: []

This syntax may take some time getting used to. Specifically, matrices and references to named lists are always “splatted” into their current position, rather than included as a list object in yaml. This may seem counterintuitive, but it becomes important when we look to combine lists.

Notice that the mpi constraints can be declared as packages and then applied as dependencies using the $^ syntax. The same is true for compilers (using $%), so we’re showing both syntaxes here.

Conditional definitions

Spec list definitions can also be conditioned on a when clause. The when clause is a python conditional that is evaluated in a restricted environment. The variables available in when clauses are:

variable name value
platform The spack platform name for this machine
os The default spack os name and version string for this machine
target The default spack target string for this machine
architecture The default spack architecture string platform-os-target for this machine
arch Alias for architecture
env A dictionary representing the users environment variables
re The python re module for regex
hostname The hostname of this node

Let’s say we only want to limit to just use mpich, unless the SPACK_STACK_USE_OPENMPI environment variable is set. To do so we could write the following spack.yaml:

# This is a Spack Environment file.
#
# It describes a set of packages to be installed, along with
# configuration settings.
spack:
  definitions:
    - mpis: [mpich]
    - mpis: [openmpi]
      when: 'env.get("SPACK_STACK_USE_OPENMPI", "") == "1"'
    - lapacks: [^openblas, ^netlib-lapack]
    - compilers: ["%gcc@8.4.0"]
    - mpi_packages: [netlib-scalapack]
    - serial_packages: [py-scipy]

  specs:
  - gcc@8.4.0%gcc@7.5.0
  - matrix:
    - [$mpi_packages]
    - [$^mpis]
    - [$lapacks]
    - [$compilers]
  - matrix:
    - [$serial_packages]
    - [$lapacks]
    - [$compilers]
    exclude:
    - "py-scipy ^netlib-lapack"
  view: false
  concretizer:
    unify: false
  compilers:
  - compiler:
      spec: gcc@8.4.0
      paths:
        cc: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gcc
        cxx: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/g++
        f77: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gfortran
        fc: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gfortran
      flags: {}
      operating_system: ubuntu18.04
      target: x86_64
      modules: []
      environment: {}
      extra_rpaths: []

Named lists in the Spack stack are concatenated, so we can define our MPI list in one place unconditionally, and then conditionally append one or more values to it.

Let’s first check what happens when we concretize and don’t set any environment variable:

$ spack concretize -f
==> Starting concretization pool with 4 processes
==> Environment concretized in 18.04 seconds.
==> Concretized gcc@8.4.0%gcc@7.5.0
[+]  uobbegc  gcc@8.4.0%gcc@7.5.0~binutils+bootstrap~graphite~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages=c,c++,fortran patches=98a9c96 arch=linux-ubuntu18.04-x86_64
[+]  c3uhkcj	  ^diffutils@3.8%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  ltvovvv	      ^libiconv@1.16%gcc@7.5.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  dco3nzd	  ^gawk@5.1.1%gcc@7.5.0~nls build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  e262sf6	      ^libsigsegv@2.13%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  kgyvtw5	      ^readline@8.1.2%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  zcuawli		  ^ncurses@6.3%gcc@7.5.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  k2lfw6f		      ^pkgconf@1.8.0%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  iowhen4	  ^gmp@6.2.1%gcc@7.5.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  btoteei	      ^autoconf@2.69%gcc@7.5.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu18.04-x86_64
[+]  rxjqnjw	      ^automake@1.16.5%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  z7d5q4f	      ^m4@1.4.19%gcc@7.5.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu18.04-x86_64
[+]  bdxu4wn	  ^libtool@2.4.7%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  l5bs2ru	  ^mpc@1.1.0%gcc@7.5.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  3brr36e	  ^mpfr@3.1.6%gcc@7.5.0 build_system=autotools libs=shared,static patches=7a6dd71 arch=linux-ubuntu18.04-x86_64
[+]  hdyi7fu	  ^texinfo@6.5%gcc@7.5.0 build_system=autotools patches=12f6edb,1732115 arch=linux-ubuntu18.04-x86_64
[+]  eydiwim	      ^perl@5.36.0%gcc@7.5.0+cpanm+shared+threads build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  53fb72w		  ^berkeley-db@18.1.40%gcc@7.5.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu18.04-x86_64
[+]  cxcreln		  ^bzip2@1.0.8%gcc@7.5.0~debug~pic+shared build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  cpmynty		  ^gdbm@1.23%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  2hfr5rb	  ^zlib@1.2.13%gcc@7.5.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu18.04-x86_64

==> Concretized netlib-scalapack%gcc@8.4.0 ^mpich ^openblas
[+]  vae5gpb  netlib-scalapack@2.2.0%gcc@8.4.0~ipo~pic+shared build_system=cmake build_type=Release patches=072b006,1c9ce5f arch=linux-ubuntu18.04-x86_64
[+]  3oinxkn	  ^cmake@3.24.3%gcc@8.4.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu18.04-x86_64
[+]  pm3k5t4	      ^ncurses@6.3%gcc@8.4.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  4h2attb	      ^openssl@1.1.1s%gcc@8.4.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu18.04-x86_64
[+]  tug2vtk		  ^ca-certificates-mozilla@2022-10-11%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  qaq2asl		  ^zlib@1.2.13%gcc@8.4.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu18.04-x86_64
[+]  dehzhtf	  ^mpich@4.0.2%gcc@8.4.0~argobots~cuda+fortran+hwloc+hydra+libxml2+pci~rocm+romio~slurm~two_level_namespace~vci~verbs+wrapperrpath build_system=autotools datatype-engine=auto device=ch4 netmod=ofi patches=d4c0e99 pmi=pmi arch=linux-ubuntu18.04-x86_64
[+]  ye45pox	      ^findutils@4.9.0%gcc@8.4.0 build_system=autotools patches=440b954 arch=linux-ubuntu18.04-x86_64
[+]  76vxdwi	      ^hwloc@2.8.0%gcc@8.4.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  zmoqcfm	      ^libfabric@1.16.1%gcc@8.4.0~debug~kdreg build_system=autotools fabrics=sockets,tcp,udp arch=linux-ubuntu18.04-x86_64
[+]  ygwuejw	      ^libpciaccess@0.16%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  uejcu2m		  ^libtool@2.4.7%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  caquoxb		  ^util-macros@1.19.3%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  rsueryu	      ^libxml2@2.10.1%gcc@8.4.0~python build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  faxyug5		  ^libiconv@1.16%gcc@8.4.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  yalo3gm		  ^xz@5.2.7%gcc@8.4.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  db44f6t	      ^pkgconf@1.8.0%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  ohap5mv	      ^yaksa@0.2%gcc@8.4.0~cuda~rocm build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  3ur6efa		  ^autoconf@2.69%gcc@8.4.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu18.04-x86_64
[+]  ltwno6t		  ^automake@1.16.5%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  64hyzlr		  ^m4@1.4.19%gcc@8.4.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu18.04-x86_64
[+]  42nykx7		      ^diffutils@3.8%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  hzetpcu		      ^libsigsegv@2.13%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  4ots64k		  ^python@3.10.8%gcc@8.4.0+bz2+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-ubuntu18.04-x86_64
[+]  ecxz4tu		      ^expat@2.4.8%gcc@8.4.0+libbsd build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  p666k37			  ^libbsd@0.11.5%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  mbjxxpr			      ^libmd@1.0.4%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  lxoekir		      ^gettext@0.21.1%gcc@8.4.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  vkidral			  ^tar@1.34%gcc@8.4.0 build_system=autotools zip=pigz arch=linux-ubuntu18.04-x86_64
[+]  x4i7we6			      ^pigz@2.7%gcc@8.4.0 build_system=makefile arch=linux-ubuntu18.04-x86_64
[+]  2b73tir			      ^zstd@1.5.2%gcc@8.4.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  pfw5zcj		      ^libffi@3.4.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  vrvkcpj		      ^readline@8.1.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  e373hd3		      ^sqlite@3.39.4%gcc@8.4.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  72abeix		      ^util-linux-uuid@2.38.1%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  62oqts5	  ^openblas@0.3.21%gcc@8.4.0~bignuma~consistent_fpcsr+fortran~ilp64+locking+pic+shared build_system=makefile patches=d3d9b15 symbol_suffix=none threads=none arch=linux-ubuntu18.04-x86_64
[+]  oxh2v73	      ^perl@5.36.0%gcc@8.4.0+cpanm+shared+threads build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  gfnsus4		  ^berkeley-db@18.1.40%gcc@8.4.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu18.04-x86_64
[+]  h2cyuuc		  ^bzip2@1.0.8%gcc@8.4.0~debug~pic+shared build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  6dpdzlt		  ^gdbm@1.23%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64

==> Concretized netlib-scalapack%gcc@8.4.0 ^mpich ^netlib-lapack
[+]  xqcf6y4  netlib-scalapack@2.2.0%gcc@8.4.0~ipo~pic+shared build_system=cmake build_type=Release patches=072b006,1c9ce5f arch=linux-ubuntu18.04-x86_64
[+]  3oinxkn	  ^cmake@3.24.3%gcc@8.4.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu18.04-x86_64
[+]  pm3k5t4	      ^ncurses@6.3%gcc@8.4.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  4h2attb	      ^openssl@1.1.1s%gcc@8.4.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu18.04-x86_64
[+]  tug2vtk		  ^ca-certificates-mozilla@2022-10-11%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  oxh2v73		  ^perl@5.36.0%gcc@8.4.0+cpanm+shared+threads build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  gfnsus4		      ^berkeley-db@18.1.40%gcc@8.4.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu18.04-x86_64
[+]  h2cyuuc		      ^bzip2@1.0.8%gcc@8.4.0~debug~pic+shared build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  6dpdzlt		      ^gdbm@1.23%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  qaq2asl		  ^zlib@1.2.13%gcc@8.4.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu18.04-x86_64
[+]  dehzhtf	  ^mpich@4.0.2%gcc@8.4.0~argobots~cuda+fortran+hwloc+hydra+libxml2+pci~rocm+romio~slurm~two_level_namespace~vci~verbs+wrapperrpath build_system=autotools datatype-engine=auto device=ch4 netmod=ofi patches=d4c0e99 pmi=pmi arch=linux-ubuntu18.04-x86_64
[+]  ye45pox	      ^findutils@4.9.0%gcc@8.4.0 build_system=autotools patches=440b954 arch=linux-ubuntu18.04-x86_64
[+]  76vxdwi	      ^hwloc@2.8.0%gcc@8.4.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  zmoqcfm	      ^libfabric@1.16.1%gcc@8.4.0~debug~kdreg build_system=autotools fabrics=sockets,tcp,udp arch=linux-ubuntu18.04-x86_64
[+]  ygwuejw	      ^libpciaccess@0.16%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  uejcu2m		  ^libtool@2.4.7%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  caquoxb		  ^util-macros@1.19.3%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  rsueryu	      ^libxml2@2.10.1%gcc@8.4.0~python build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  faxyug5		  ^libiconv@1.16%gcc@8.4.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  yalo3gm		  ^xz@5.2.7%gcc@8.4.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  db44f6t	      ^pkgconf@1.8.0%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  ohap5mv	      ^yaksa@0.2%gcc@8.4.0~cuda~rocm build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  3ur6efa		  ^autoconf@2.69%gcc@8.4.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu18.04-x86_64
[+]  ltwno6t		  ^automake@1.16.5%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  64hyzlr		  ^m4@1.4.19%gcc@8.4.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu18.04-x86_64
[+]  42nykx7		      ^diffutils@3.8%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  hzetpcu		      ^libsigsegv@2.13%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  4ots64k		  ^python@3.10.8%gcc@8.4.0+bz2+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-ubuntu18.04-x86_64
[+]  ecxz4tu		      ^expat@2.4.8%gcc@8.4.0+libbsd build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  p666k37			  ^libbsd@0.11.5%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  mbjxxpr			      ^libmd@1.0.4%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  lxoekir		      ^gettext@0.21.1%gcc@8.4.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  vkidral			  ^tar@1.34%gcc@8.4.0 build_system=autotools zip=pigz arch=linux-ubuntu18.04-x86_64
[+]  x4i7we6			      ^pigz@2.7%gcc@8.4.0 build_system=makefile arch=linux-ubuntu18.04-x86_64
[+]  2b73tir			      ^zstd@1.5.2%gcc@8.4.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  pfw5zcj		      ^libffi@3.4.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  vrvkcpj		      ^readline@8.1.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  e373hd3		      ^sqlite@3.39.4%gcc@8.4.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  72abeix		      ^util-linux-uuid@2.38.1%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  d75mbpb	  ^netlib-lapack@3.10.1%gcc@8.4.0~external-blas~ipo+lapacke+shared~xblas build_system=cmake build_type=RelWithDebInfo arch=linux-ubuntu18.04-x86_64

==> Concretized py-scipy%gcc@8.4.0 ^openblas
[+]  oliuwzs  py-scipy@1.8.1%gcc@8.4.0 build_system=python_pip arch=linux-ubuntu18.04-x86_64
[+]  62oqts5	  ^openblas@0.3.21%gcc@8.4.0~bignuma~consistent_fpcsr+fortran~ilp64+locking+pic+shared build_system=makefile patches=d3d9b15 symbol_suffix=none threads=none arch=linux-ubuntu18.04-x86_64
[+]  oxh2v73	      ^perl@5.36.0%gcc@8.4.0+cpanm+shared+threads build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  gfnsus4		  ^berkeley-db@18.1.40%gcc@8.4.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu18.04-x86_64
[+]  g5hd5bt	  ^py-cython@0.29.32%gcc@8.4.0 build_system=python_pip arch=linux-ubuntu18.04-x86_64
[+]  v7eeehl	  ^py-numpy@1.23.4%gcc@8.4.0+blas+lapack build_system=python_pip patches=873745d arch=linux-ubuntu18.04-x86_64
[+]  gdv6477	  ^py-pip@22.2.2%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  pzlkf5u	  ^py-pybind11@2.8.1%gcc@8.4.0~ipo build_system=cmake build_type=RelWithDebInfo arch=linux-ubuntu18.04-x86_64
[+]  3oinxkn	      ^cmake@3.24.3%gcc@8.4.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu18.04-x86_64
[+]  ctiucvr	      ^ninja@1.11.1%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  t3pvyne	  ^py-pythran@0.11.0%gcc@8.4.0 build_system=python_pip arch=linux-ubuntu18.04-x86_64
[+]  6fg7x2e	      ^py-beniget@0.4.1%gcc@8.4.0 build_system=python_pip arch=linux-ubuntu18.04-x86_64
[+]  hthzien	      ^py-gast@0.5.3%gcc@8.4.0 build_system=python_pip arch=linux-ubuntu18.04-x86_64
[+]  i3li6qu	      ^py-ply@3.11%gcc@8.4.0 build_system=python_pip arch=linux-ubuntu18.04-x86_64
[+]  uh4z6vn	  ^py-setuptools@59.4.0%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  htlk6hg	  ^py-wheel@0.37.1%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  4ots64k	  ^python@3.10.8%gcc@8.4.0+bz2+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-ubuntu18.04-x86_64
[+]  h2cyuuc	      ^bzip2@1.0.8%gcc@8.4.0~debug~pic+shared build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  42nykx7		  ^diffutils@3.8%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  ecxz4tu	      ^expat@2.4.8%gcc@8.4.0+libbsd build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  p666k37		  ^libbsd@0.11.5%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  mbjxxpr		      ^libmd@1.0.4%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  6dpdzlt	      ^gdbm@1.23%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  lxoekir	      ^gettext@0.21.1%gcc@8.4.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  faxyug5		  ^libiconv@1.16%gcc@8.4.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  rsueryu		  ^libxml2@2.10.1%gcc@8.4.0~python build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  vkidral		  ^tar@1.34%gcc@8.4.0 build_system=autotools zip=pigz arch=linux-ubuntu18.04-x86_64
[+]  x4i7we6		      ^pigz@2.7%gcc@8.4.0 build_system=makefile arch=linux-ubuntu18.04-x86_64
[+]  2b73tir		      ^zstd@1.5.2%gcc@8.4.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  pfw5zcj	      ^libffi@3.4.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  pm3k5t4	      ^ncurses@6.3%gcc@8.4.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  4h2attb	      ^openssl@1.1.1s%gcc@8.4.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu18.04-x86_64
[+]  tug2vtk		  ^ca-certificates-mozilla@2022-10-11%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  db44f6t	      ^pkgconf@1.8.0%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  vrvkcpj	      ^readline@8.1.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  e373hd3	      ^sqlite@3.39.4%gcc@8.4.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  72abeix	      ^util-linux-uuid@2.38.1%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  yalo3gm	      ^xz@5.2.7%gcc@8.4.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  qaq2asl	      ^zlib@1.2.13%gcc@8.4.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu18.04-x86_64

$ spack find -c
==> In environment /home/spack/stacks
==> Root specs
-- no arch / gcc@7.5.0 ------------------------------------------
gcc@8.4.0%gcc@7.5.0

-- no arch / gcc@8.4.0 ------------------------------------------
netlib-scalapack%gcc@8.4.0  netlib-scalapack%gcc@8.4.0	py-scipy%gcc@8.4.0

==> Concretized roots
-- linux-ubuntu18.04-x86_64 / gcc@7.5.0 -------------------------
gcc@8.4.0

-- linux-ubuntu18.04-x86_64 / gcc@8.4.0 -------------------------
netlib-scalapack@2.2.0	netlib-scalapack@2.2.0	py-scipy@1.8.1

==> Installed packages
-- linux-ubuntu18.04-x86_64 / gcc@7.5.0 -------------------------
autoconf@2.69	 berkeley-db@18.1.40  diffutils@3.8  gcc@8.4.0	gmp@6.2.1      libsigsegv@2.13	m4@1.4.19  mpfr@3.1.6	perl@5.36.0    readline@8.1.2  zlib@1.2.13
automake@1.16.5	 bzip2@1.0.8	      gawk@5.1.1     gdbm@1.23	libiconv@1.16  libtool@2.4.7	mpc@1.1.0  ncurses@6.3	pkgconf@1.8.0  texinfo@6.5

-- linux-ubuntu18.04-x86_64 / gcc@8.4.0 -------------------------
autoconf@2.69			    cmake@3.24.3     gettext@0.21.1    libiconv@1.16	  libxml2@2.10.1	netlib-scalapack@2.2.0	perl@5.36.0	   py-gast@0.5.3      py-pythran@0.11.0	    readline@8.1.2	    xz@5.2.7
automake@1.16.5			    diffutils@3.8    hwloc@2.8.0       libmd@1.0.4	  m4@1.4.19		netlib-scalapack@2.2.0	pigz@2.7	   py-numpy@1.23.4    py-scipy@1.8.1	    sqlite@3.39.4	    yaksa@0.2
berkeley-db@18.1.40		    expat@2.4.8	     libbsd@0.11.5     libpciaccess@0.16  mpich@4.0.2		ninja@1.11.1		pkgconf@1.8.0	   py-pip@22.2.2      py-setuptools@59.4.0  tar@1.34		    zlib@1.2.13
bzip2@1.0.8			    findutils@4.9.0  libfabric@1.16.1  libsigsegv@2.13	  ncurses@6.3		openblas@0.3.21		py-beniget@0.4.1   py-ply@3.11	      py-wheel@0.37.1	    util-linux-uuid@2.38.1  zstd@1.5.2
ca-certificates-mozilla@2022-10-11  gdbm@1.23	     libffi@3.4.2      libtool@2.4.7	  netlib-lapack@3.10.1	openssl@1.1.1s		py-cython@0.29.32  py-pybind11@2.8.1  python@3.10.8	    util-macros@1.19.3
==> 75 installed packages

As we expected now we are only using mpich as an MPI provider. To get openmpi back we just need to set the appropriate environment variable:

$ export SPACK_STACK_USE_OPENMPI=1
$ spack concretize -f
==> Starting concretization pool with 6 processes
==> Environment concretized in 16.88 seconds.
==> Concretized gcc@8.4.0%gcc@7.5.0
[+]  uobbegc  gcc@8.4.0%gcc@7.5.0~binutils+bootstrap~graphite~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages=c,c++,fortran patches=98a9c96 arch=linux-ubuntu18.04-x86_64
[+]  c3uhkcj	  ^diffutils@3.8%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  ltvovvv	      ^libiconv@1.16%gcc@7.5.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  dco3nzd	  ^gawk@5.1.1%gcc@7.5.0~nls build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  e262sf6	      ^libsigsegv@2.13%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  kgyvtw5	      ^readline@8.1.2%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  zcuawli		  ^ncurses@6.3%gcc@7.5.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  k2lfw6f		      ^pkgconf@1.8.0%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  iowhen4	  ^gmp@6.2.1%gcc@7.5.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  btoteei	      ^autoconf@2.69%gcc@7.5.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu18.04-x86_64
[+]  rxjqnjw	      ^automake@1.16.5%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  z7d5q4f	      ^m4@1.4.19%gcc@7.5.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu18.04-x86_64
[+]  bdxu4wn	  ^libtool@2.4.7%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  l5bs2ru	  ^mpc@1.1.0%gcc@7.5.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  3brr36e	  ^mpfr@3.1.6%gcc@7.5.0 build_system=autotools libs=shared,static patches=7a6dd71 arch=linux-ubuntu18.04-x86_64
[+]  hdyi7fu	  ^texinfo@6.5%gcc@7.5.0 build_system=autotools patches=12f6edb,1732115 arch=linux-ubuntu18.04-x86_64
[+]  eydiwim	      ^perl@5.36.0%gcc@7.5.0+cpanm+shared+threads build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  53fb72w		  ^berkeley-db@18.1.40%gcc@7.5.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu18.04-x86_64
[+]  cxcreln		  ^bzip2@1.0.8%gcc@7.5.0~debug~pic+shared build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  cpmynty		  ^gdbm@1.23%gcc@7.5.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  2hfr5rb	  ^zlib@1.2.13%gcc@7.5.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu18.04-x86_64

==> Concretized netlib-scalapack%gcc@8.4.0 ^mpich ^openblas
[+]  vae5gpb  netlib-scalapack@2.2.0%gcc@8.4.0~ipo~pic+shared build_system=cmake build_type=Release patches=072b006,1c9ce5f arch=linux-ubuntu18.04-x86_64
[+]  3oinxkn	  ^cmake@3.24.3%gcc@8.4.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu18.04-x86_64
[+]  pm3k5t4	      ^ncurses@6.3%gcc@8.4.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  4h2attb	      ^openssl@1.1.1s%gcc@8.4.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu18.04-x86_64
[+]  tug2vtk		  ^ca-certificates-mozilla@2022-10-11%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  qaq2asl		  ^zlib@1.2.13%gcc@8.4.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu18.04-x86_64
[+]  dehzhtf	  ^mpich@4.0.2%gcc@8.4.0~argobots~cuda+fortran+hwloc+hydra+libxml2+pci~rocm+romio~slurm~two_level_namespace~vci~verbs+wrapperrpath build_system=autotools datatype-engine=auto device=ch4 netmod=ofi patches=d4c0e99 pmi=pmi arch=linux-ubuntu18.04-x86_64
[+]  ye45pox	      ^findutils@4.9.0%gcc@8.4.0 build_system=autotools patches=440b954 arch=linux-ubuntu18.04-x86_64
[+]  76vxdwi	      ^hwloc@2.8.0%gcc@8.4.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  zmoqcfm	      ^libfabric@1.16.1%gcc@8.4.0~debug~kdreg build_system=autotools fabrics=sockets,tcp,udp arch=linux-ubuntu18.04-x86_64
[+]  ygwuejw	      ^libpciaccess@0.16%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  uejcu2m		  ^libtool@2.4.7%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  caquoxb		  ^util-macros@1.19.3%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  rsueryu	      ^libxml2@2.10.1%gcc@8.4.0~python build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  faxyug5		  ^libiconv@1.16%gcc@8.4.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  yalo3gm		  ^xz@5.2.7%gcc@8.4.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  db44f6t	      ^pkgconf@1.8.0%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  ohap5mv	      ^yaksa@0.2%gcc@8.4.0~cuda~rocm build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  3ur6efa		  ^autoconf@2.69%gcc@8.4.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu18.04-x86_64
[+]  ltwno6t		  ^automake@1.16.5%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  64hyzlr		  ^m4@1.4.19%gcc@8.4.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu18.04-x86_64
[+]  42nykx7		      ^diffutils@3.8%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  hzetpcu		      ^libsigsegv@2.13%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  4ots64k		  ^python@3.10.8%gcc@8.4.0+bz2+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-ubuntu18.04-x86_64
[+]  ecxz4tu		      ^expat@2.4.8%gcc@8.4.0+libbsd build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  p666k37			  ^libbsd@0.11.5%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  mbjxxpr			      ^libmd@1.0.4%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  lxoekir		      ^gettext@0.21.1%gcc@8.4.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  vkidral			  ^tar@1.34%gcc@8.4.0 build_system=autotools zip=pigz arch=linux-ubuntu18.04-x86_64
[+]  x4i7we6			      ^pigz@2.7%gcc@8.4.0 build_system=makefile arch=linux-ubuntu18.04-x86_64
[+]  2b73tir			      ^zstd@1.5.2%gcc@8.4.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  pfw5zcj		      ^libffi@3.4.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  vrvkcpj		      ^readline@8.1.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  e373hd3		      ^sqlite@3.39.4%gcc@8.4.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  72abeix		      ^util-linux-uuid@2.38.1%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  62oqts5	  ^openblas@0.3.21%gcc@8.4.0~bignuma~consistent_fpcsr+fortran~ilp64+locking+pic+shared build_system=makefile patches=d3d9b15 symbol_suffix=none threads=none arch=linux-ubuntu18.04-x86_64
[+]  oxh2v73	      ^perl@5.36.0%gcc@8.4.0+cpanm+shared+threads build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  gfnsus4		  ^berkeley-db@18.1.40%gcc@8.4.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu18.04-x86_64
[+]  h2cyuuc		  ^bzip2@1.0.8%gcc@8.4.0~debug~pic+shared build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  6dpdzlt		  ^gdbm@1.23%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64

==> Concretized netlib-scalapack%gcc@8.4.0 ^mpich ^netlib-lapack
[+]  xqcf6y4  netlib-scalapack@2.2.0%gcc@8.4.0~ipo~pic+shared build_system=cmake build_type=Release patches=072b006,1c9ce5f arch=linux-ubuntu18.04-x86_64
[+]  3oinxkn	  ^cmake@3.24.3%gcc@8.4.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu18.04-x86_64
[+]  pm3k5t4	      ^ncurses@6.3%gcc@8.4.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  4h2attb	      ^openssl@1.1.1s%gcc@8.4.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu18.04-x86_64
[+]  tug2vtk		  ^ca-certificates-mozilla@2022-10-11%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  oxh2v73		  ^perl@5.36.0%gcc@8.4.0+cpanm+shared+threads build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  gfnsus4		      ^berkeley-db@18.1.40%gcc@8.4.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu18.04-x86_64
[+]  h2cyuuc		      ^bzip2@1.0.8%gcc@8.4.0~debug~pic+shared build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  6dpdzlt		      ^gdbm@1.23%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  qaq2asl		  ^zlib@1.2.13%gcc@8.4.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu18.04-x86_64
[+]  dehzhtf	  ^mpich@4.0.2%gcc@8.4.0~argobots~cuda+fortran+hwloc+hydra+libxml2+pci~rocm+romio~slurm~two_level_namespace~vci~verbs+wrapperrpath build_system=autotools datatype-engine=auto device=ch4 netmod=ofi patches=d4c0e99 pmi=pmi arch=linux-ubuntu18.04-x86_64
[+]  ye45pox	      ^findutils@4.9.0%gcc@8.4.0 build_system=autotools patches=440b954 arch=linux-ubuntu18.04-x86_64
[+]  76vxdwi	      ^hwloc@2.8.0%gcc@8.4.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  zmoqcfm	      ^libfabric@1.16.1%gcc@8.4.0~debug~kdreg build_system=autotools fabrics=sockets,tcp,udp arch=linux-ubuntu18.04-x86_64
[+]  ygwuejw	      ^libpciaccess@0.16%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  uejcu2m		  ^libtool@2.4.7%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  caquoxb		  ^util-macros@1.19.3%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  rsueryu	      ^libxml2@2.10.1%gcc@8.4.0~python build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  faxyug5		  ^libiconv@1.16%gcc@8.4.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  yalo3gm		  ^xz@5.2.7%gcc@8.4.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  db44f6t	      ^pkgconf@1.8.0%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  ohap5mv	      ^yaksa@0.2%gcc@8.4.0~cuda~rocm build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  3ur6efa		  ^autoconf@2.69%gcc@8.4.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu18.04-x86_64
[+]  ltwno6t		  ^automake@1.16.5%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  64hyzlr		  ^m4@1.4.19%gcc@8.4.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu18.04-x86_64
[+]  42nykx7		      ^diffutils@3.8%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  hzetpcu		      ^libsigsegv@2.13%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  4ots64k		  ^python@3.10.8%gcc@8.4.0+bz2+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-ubuntu18.04-x86_64
[+]  ecxz4tu		      ^expat@2.4.8%gcc@8.4.0+libbsd build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  p666k37			  ^libbsd@0.11.5%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  mbjxxpr			      ^libmd@1.0.4%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  lxoekir		      ^gettext@0.21.1%gcc@8.4.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  vkidral			  ^tar@1.34%gcc@8.4.0 build_system=autotools zip=pigz arch=linux-ubuntu18.04-x86_64
[+]  x4i7we6			      ^pigz@2.7%gcc@8.4.0 build_system=makefile arch=linux-ubuntu18.04-x86_64
[+]  2b73tir			      ^zstd@1.5.2%gcc@8.4.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  pfw5zcj		      ^libffi@3.4.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  vrvkcpj		      ^readline@8.1.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  e373hd3		      ^sqlite@3.39.4%gcc@8.4.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  72abeix		      ^util-linux-uuid@2.38.1%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  d75mbpb	  ^netlib-lapack@3.10.1%gcc@8.4.0~external-blas~ipo+lapacke+shared~xblas build_system=cmake build_type=RelWithDebInfo arch=linux-ubuntu18.04-x86_64

==> Concretized netlib-scalapack%gcc@8.4.0 ^openblas ^openmpi
[+]  nuulbgb  netlib-scalapack@2.2.0%gcc@8.4.0~ipo~pic+shared build_system=cmake build_type=Release patches=072b006,1c9ce5f arch=linux-ubuntu18.04-x86_64
[+]  3oinxkn	  ^cmake@3.24.3%gcc@8.4.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu18.04-x86_64
[+]  pm3k5t4	      ^ncurses@6.3%gcc@8.4.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  4h2attb	      ^openssl@1.1.1s%gcc@8.4.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu18.04-x86_64
[+]  tug2vtk		  ^ca-certificates-mozilla@2022-10-11%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  62oqts5	  ^openblas@0.3.21%gcc@8.4.0~bignuma~consistent_fpcsr+fortran~ilp64+locking+pic+shared build_system=makefile patches=d3d9b15 symbol_suffix=none threads=none arch=linux-ubuntu18.04-x86_64
[+]  oxh2v73	      ^perl@5.36.0%gcc@8.4.0+cpanm+shared+threads build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  gfnsus4		  ^berkeley-db@18.1.40%gcc@8.4.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu18.04-x86_64
[+]  h2cyuuc		  ^bzip2@1.0.8%gcc@8.4.0~debug~pic+shared build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  42nykx7		      ^diffutils@3.8%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  6dpdzlt		  ^gdbm@1.23%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  vrvkcpj		      ^readline@8.1.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  cnq37ia	  ^openmpi@4.1.4%gcc@8.4.0~atomics~cuda~cxx~cxx_exceptions~gpfs~internal-hwloc~java~legacylaunchers~lustre~memchecker+romio+rsh~singularity+static+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=linux-ubuntu18.04-x86_64
[+]  76vxdwi	      ^hwloc@2.8.0%gcc@8.4.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  ygwuejw		  ^libpciaccess@0.16%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  caquoxb		      ^util-macros@1.19.3%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  rsueryu		  ^libxml2@2.10.1%gcc@8.4.0~python build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  faxyug5		      ^libiconv@1.16%gcc@8.4.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  yalo3gm		      ^xz@5.2.7%gcc@8.4.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  qo6lo2m	      ^numactl@2.0.14%gcc@8.4.0 build_system=autotools patches=4e1d78c,62fc8a8,ff37630 arch=linux-ubuntu18.04-x86_64
[+]  3ur6efa		  ^autoconf@2.69%gcc@8.4.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu18.04-x86_64
[+]  ltwno6t		  ^automake@1.16.5%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  uejcu2m		  ^libtool@2.4.7%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  64hyzlr		  ^m4@1.4.19%gcc@8.4.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu18.04-x86_64
[+]  hzetpcu		      ^libsigsegv@2.13%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  bu2y2rn	      ^openssh@9.1p1%gcc@8.4.0+gssapi build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  lbq4bnu		  ^krb5@1.19.3%gcc@8.4.0+shared build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  mne2r6i		      ^bison@3.8.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  lxoekir		      ^gettext@0.21.1%gcc@8.4.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  vkidral			  ^tar@1.34%gcc@8.4.0 build_system=autotools zip=pigz arch=linux-ubuntu18.04-x86_64
[+]  x4i7we6			      ^pigz@2.7%gcc@8.4.0 build_system=makefile arch=linux-ubuntu18.04-x86_64
[+]  2b73tir			      ^zstd@1.5.2%gcc@8.4.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  zl6rdlr		  ^libedit@3.1-20210216%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  db44f6t	      ^pkgconf@1.8.0%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  alwqqyv	      ^pmix@4.1.2%gcc@8.4.0~docs+pmi_backwards_compatibility~restful build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  zlkggwb		  ^libevent@2.1.12%gcc@8.4.0+openssl build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  qaq2asl	      ^zlib@1.2.13%gcc@8.4.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu18.04-x86_64

==> Concretized netlib-scalapack%gcc@8.4.0 ^netlib-lapack ^openmpi
[+]  iuphysy  netlib-scalapack@2.2.0%gcc@8.4.0~ipo~pic+shared build_system=cmake build_type=Release patches=072b006,1c9ce5f arch=linux-ubuntu18.04-x86_64
[+]  3oinxkn	  ^cmake@3.24.3%gcc@8.4.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu18.04-x86_64
[+]  pm3k5t4	      ^ncurses@6.3%gcc@8.4.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  4h2attb	      ^openssl@1.1.1s%gcc@8.4.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu18.04-x86_64
[+]  tug2vtk		  ^ca-certificates-mozilla@2022-10-11%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  d75mbpb	  ^netlib-lapack@3.10.1%gcc@8.4.0~external-blas~ipo+lapacke+shared~xblas build_system=cmake build_type=RelWithDebInfo arch=linux-ubuntu18.04-x86_64
[+]  cnq37ia	  ^openmpi@4.1.4%gcc@8.4.0~atomics~cuda~cxx~cxx_exceptions~gpfs~internal-hwloc~java~legacylaunchers~lustre~memchecker+romio+rsh~singularity+static+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=linux-ubuntu18.04-x86_64
[+]  76vxdwi	      ^hwloc@2.8.0%gcc@8.4.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  ygwuejw		  ^libpciaccess@0.16%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  caquoxb		      ^util-macros@1.19.3%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  rsueryu		  ^libxml2@2.10.1%gcc@8.4.0~python build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  faxyug5		      ^libiconv@1.16%gcc@8.4.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  yalo3gm		      ^xz@5.2.7%gcc@8.4.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  qo6lo2m	      ^numactl@2.0.14%gcc@8.4.0 build_system=autotools patches=4e1d78c,62fc8a8,ff37630 arch=linux-ubuntu18.04-x86_64
[+]  3ur6efa		  ^autoconf@2.69%gcc@8.4.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu18.04-x86_64
[+]  ltwno6t		  ^automake@1.16.5%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  uejcu2m		  ^libtool@2.4.7%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  64hyzlr		  ^m4@1.4.19%gcc@8.4.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu18.04-x86_64
[+]  42nykx7		      ^diffutils@3.8%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  hzetpcu		      ^libsigsegv@2.13%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  bu2y2rn	      ^openssh@9.1p1%gcc@8.4.0+gssapi build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  lbq4bnu		  ^krb5@1.19.3%gcc@8.4.0+shared build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  mne2r6i		      ^bison@3.8.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  lxoekir		      ^gettext@0.21.1%gcc@8.4.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  vkidral			  ^tar@1.34%gcc@8.4.0 build_system=autotools zip=pigz arch=linux-ubuntu18.04-x86_64
[+]  x4i7we6			      ^pigz@2.7%gcc@8.4.0 build_system=makefile arch=linux-ubuntu18.04-x86_64
[+]  2b73tir			      ^zstd@1.5.2%gcc@8.4.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  zl6rdlr		  ^libedit@3.1-20210216%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  oxh2v73	      ^perl@5.36.0%gcc@8.4.0+cpanm+shared+threads build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  gfnsus4		  ^berkeley-db@18.1.40%gcc@8.4.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu18.04-x86_64
[+]  h2cyuuc		  ^bzip2@1.0.8%gcc@8.4.0~debug~pic+shared build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  6dpdzlt		  ^gdbm@1.23%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  vrvkcpj		      ^readline@8.1.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  db44f6t	      ^pkgconf@1.8.0%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  alwqqyv	      ^pmix@4.1.2%gcc@8.4.0~docs+pmi_backwards_compatibility~restful build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  zlkggwb		  ^libevent@2.1.12%gcc@8.4.0+openssl build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  qaq2asl	      ^zlib@1.2.13%gcc@8.4.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu18.04-x86_64

==> Concretized py-scipy%gcc@8.4.0 ^openblas
[+]  oliuwzs  py-scipy@1.8.1%gcc@8.4.0 build_system=python_pip arch=linux-ubuntu18.04-x86_64
[+]  62oqts5	  ^openblas@0.3.21%gcc@8.4.0~bignuma~consistent_fpcsr+fortran~ilp64+locking+pic+shared build_system=makefile patches=d3d9b15 symbol_suffix=none threads=none arch=linux-ubuntu18.04-x86_64
[+]  oxh2v73	      ^perl@5.36.0%gcc@8.4.0+cpanm+shared+threads build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  gfnsus4		  ^berkeley-db@18.1.40%gcc@8.4.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu18.04-x86_64
[+]  g5hd5bt	  ^py-cython@0.29.32%gcc@8.4.0 build_system=python_pip arch=linux-ubuntu18.04-x86_64
[+]  v7eeehl	  ^py-numpy@1.23.4%gcc@8.4.0+blas+lapack build_system=python_pip patches=873745d arch=linux-ubuntu18.04-x86_64
[+]  gdv6477	  ^py-pip@22.2.2%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  pzlkf5u	  ^py-pybind11@2.8.1%gcc@8.4.0~ipo build_system=cmake build_type=RelWithDebInfo arch=linux-ubuntu18.04-x86_64
[+]  3oinxkn	      ^cmake@3.24.3%gcc@8.4.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu18.04-x86_64
[+]  ctiucvr	      ^ninja@1.11.1%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  t3pvyne	  ^py-pythran@0.11.0%gcc@8.4.0 build_system=python_pip arch=linux-ubuntu18.04-x86_64
[+]  6fg7x2e	      ^py-beniget@0.4.1%gcc@8.4.0 build_system=python_pip arch=linux-ubuntu18.04-x86_64
[+]  hthzien	      ^py-gast@0.5.3%gcc@8.4.0 build_system=python_pip arch=linux-ubuntu18.04-x86_64
[+]  i3li6qu	      ^py-ply@3.11%gcc@8.4.0 build_system=python_pip arch=linux-ubuntu18.04-x86_64
[+]  uh4z6vn	  ^py-setuptools@59.4.0%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  htlk6hg	  ^py-wheel@0.37.1%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  4ots64k	  ^python@3.10.8%gcc@8.4.0+bz2+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-ubuntu18.04-x86_64
[+]  h2cyuuc	      ^bzip2@1.0.8%gcc@8.4.0~debug~pic+shared build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  42nykx7		  ^diffutils@3.8%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  ecxz4tu	      ^expat@2.4.8%gcc@8.4.0+libbsd build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  p666k37		  ^libbsd@0.11.5%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  mbjxxpr		      ^libmd@1.0.4%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  6dpdzlt	      ^gdbm@1.23%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  lxoekir	      ^gettext@0.21.1%gcc@8.4.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  faxyug5		  ^libiconv@1.16%gcc@8.4.0 build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  rsueryu		  ^libxml2@2.10.1%gcc@8.4.0~python build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  vkidral		  ^tar@1.34%gcc@8.4.0 build_system=autotools zip=pigz arch=linux-ubuntu18.04-x86_64
[+]  x4i7we6		      ^pigz@2.7%gcc@8.4.0 build_system=makefile arch=linux-ubuntu18.04-x86_64
[+]  2b73tir		      ^zstd@1.5.2%gcc@8.4.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  pfw5zcj	      ^libffi@3.4.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  pm3k5t4	      ^ncurses@6.3%gcc@8.4.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  4h2attb	      ^openssl@1.1.1s%gcc@8.4.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu18.04-x86_64
[+]  tug2vtk		  ^ca-certificates-mozilla@2022-10-11%gcc@8.4.0 build_system=generic arch=linux-ubuntu18.04-x86_64
[+]  db44f6t	      ^pkgconf@1.8.0%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  vrvkcpj	      ^readline@8.1.2%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  e373hd3	      ^sqlite@3.39.4%gcc@8.4.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  72abeix	      ^util-linux-uuid@2.38.1%gcc@8.4.0 build_system=autotools arch=linux-ubuntu18.04-x86_64
[+]  yalo3gm	      ^xz@5.2.7%gcc@8.4.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  qaq2asl	      ^zlib@1.2.13%gcc@8.4.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu18.04-x86_64

$ spack find -c
==> In environment /home/spack/stacks
==> Root specs
-- no arch / gcc@7.5.0 ------------------------------------------
gcc@8.4.0%gcc@7.5.0

-- no arch / gcc@8.4.0 ------------------------------------------
netlib-scalapack%gcc@8.4.0  netlib-scalapack%gcc@8.4.0	netlib-scalapack%gcc@8.4.0  netlib-scalapack%gcc@8.4.0	py-scipy%gcc@8.4.0

==> Concretized roots
-- linux-ubuntu18.04-x86_64 / gcc@7.5.0 -------------------------
gcc@8.4.0

-- linux-ubuntu18.04-x86_64 / gcc@8.4.0 -------------------------
netlib-scalapack@2.2.0	netlib-scalapack@2.2.0	netlib-scalapack@2.2.0	netlib-scalapack@2.2.0	py-scipy@1.8.1

==> Installed packages
-- linux-ubuntu18.04-x86_64 / gcc@7.5.0 -------------------------
autoconf@2.69	 berkeley-db@18.1.40  diffutils@3.8  gcc@8.4.0	gmp@6.2.1      libsigsegv@2.13	m4@1.4.19  mpfr@3.1.6	perl@5.36.0    readline@8.1.2  zlib@1.2.13
automake@1.16.5	 bzip2@1.0.8	      gawk@5.1.1     gdbm@1.23	libiconv@1.16  libtool@2.4.7	mpc@1.1.0  ncurses@6.3	pkgconf@1.8.0  texinfo@6.5

-- linux-ubuntu18.04-x86_64 / gcc@8.4.0 -------------------------
autoconf@2.69			    cmake@3.24.3     hwloc@2.8.0	   libffi@3.4.2	      libxml2@2.10.1	      netlib-scalapack@2.2.0  openmpi@4.1.4   pmix@4.1.2	 py-ply@3.11	       python@3.10.8	       xz@5.2.7
automake@1.16.5			    diffutils@3.8    krb5@1.19.3	   libiconv@1.16      m4@1.4.19		      netlib-scalapack@2.2.0  openssh@9.1p1   py-beniget@0.4.1	 py-pybind11@2.8.1     readline@8.1.2	       yaksa@0.2
berkeley-db@18.1.40		    expat@2.4.8	     libbsd@0.11.5	   libmd@1.0.4	      mpich@4.0.2	      netlib-scalapack@2.2.0  openssl@1.1.1s  py-cython@0.29.32	 py-pythran@0.11.0     sqlite@3.39.4	       zlib@1.2.13
bison@3.8.2			    findutils@4.9.0  libedit@3.1-20210216  libpciaccess@0.16  ncurses@6.3	      ninja@1.11.1	      perl@5.36.0     py-gast@0.5.3	 py-scipy@1.8.1	       tar@1.34		       zstd@1.5.2
bzip2@1.0.8			    gdbm@1.23	     libevent@2.1.12	   libsigsegv@2.13    netlib-lapack@3.10.1    numactl@2.0.14	      pigz@2.7	      py-numpy@1.23.4	 py-setuptools@59.4.0  util-linux-uuid@2.38.1
ca-certificates-mozilla@2022-10-11  gettext@0.21.1   libfabric@1.16.1	   libtool@2.4.7      netlib-scalapack@2.2.0  openblas@0.3.21	      pkgconf@1.8.0   py-pip@22.2.2	 py-wheel@0.37.1       util-macros@1.19.3
==> 85 installed packages

View descriptors

We told Spack not to create a view for this stack earlier because simple views won’t work with stacks. We’ve been concretizing multiple packages of the same name – they will conflict if linked into the same view.

To work around this, we will use a view descriptor. This allows us to define how each package is linked into the view, which packages are linked into the view, or both. Let’s edit our spack.yaml file again.

# This is a Spack Environment file.
#
# It describes a set of packages to be installed, along with
# configuration settings.
spack:
  definitions:
    - mpis: [mpich]
    - mpis: [openmpi]
      when: 'env.get("SPACK_STACK_USE_OPENMPI", "") == "1"'
    - lapacks: [^openblas, ^netlib-lapack]
    - compilers: ["%gcc@8.4.0"]
    - mpi_packages: [netlib-scalapack]
    - serial_packages: [py-scipy]

  specs:
  - gcc@8.4.0%gcc@7.5.0
  - matrix:
    - [$mpi_packages]
    - [$^mpis]
    - [$lapacks]
    - [$compilers]
  - matrix:
    - [$serial_packages]
    - [$lapacks]
    - [$compilers]
    exclude:
    - "py-scipy ^netlib-lapack"
  view:
    default:
      root: views/default
      select: ['%gcc@8.4.0']
      exclude: [^mpich, ^netlib-lapack]
    full:
      root: views/full
      projections:
        ^mpi^lapack: '{compiler.name}-{compiler.version}/{^mpi.name}-{^mpi.version}-{^lapack.name}-{^lapack.version}'
        ^lapack: '{compiler.name}-{compiler.version}/{^lapack.name}-{^lapack.version}'
        all: '{compiler.name}-{compiler.version}/'
  concretizer:
    unify: false
  compilers:
  - compiler:
      spec: gcc@8.4.0
      paths:
        cc: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gcc
        cxx: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/g++
        f77: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gfortran
        fc: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gfortran
      flags: {}
      operating_system: ubuntu18.04
      target: x86_64
      modules: []
      environment: {}
      extra_rpaths: []

When we’ll concretize again we’ll see packages linked into the view:

$ spack concretize
==> Updating view at /home/spack/stacks/views/default
==> Updating view at /home/spack/stacks/views/full
$ ls views/default
bin  etc  include  lib	libexec	 man  sbin  share  var
$ ls views/default/lib
cmake		      libedit.so.0		      libform.so.6	       libhwloc.so.15		 liblapacke.so.3		      libmpi_usempif08.so.40.30.0  libompitrace.a	    libpython3.10.so.1.0   libverto.so.0.0
engines-1.1	      libedit.so.0.0.64		      libform.so.6.3	       libhwloc.so.15.6.0	 liblapacke.so.3.10.1		      libmpich.so		   libompitrace.so	    libpython3.so	   libxml2.so
gettext		      libevent-2.1.so.7		      libform_g.a	       libiconv.a		 liblzma.a			      libmpichcxx.so		   libompitrace.so.40	    libreadline.a	   libxml2.so.2
krb5		      libevent-2.1.so.7.0.1	      libformw.a	       libiconv.so		 liblzma.so			      libmpichf90.so		   libompitrace.so.40.30.1  libreadline.so	   libxml2.so.2.10.1
libasprintf.a	      libevent.a		      libformw.so	       libiconv.so.2		 liblzma.so.5			      libmpicxx.a		   libopa.so		    libreadline.so.8	   libyaksa.a
libasprintf.so	      libevent.so		      libformw.so.6	       libiconv.so.2.6.1	 liblzma.so.5.2.7		      libmpicxx.so		   libopen-pal.a	    libreadline.so.8.1	   libyaksa.so
libasprintf.so.0      libevent_core-2.1.so.7	      libformw.so.6.3	       libintl.a		 libmd.a			      libmpicxx.so.12		   libopen-pal.so	    libscalapack.so	   libyaksa.so.0
libasprintf.so.0.0.0  libevent_core-2.1.so.7.0.1      libformw_g.a	       libintl.so		 libmd.so			      libmpicxx.so.12.2.2	   libopen-pal.so.40	    libsqlite3.a	   libyaksa.so.0.0.0
libblas.so	      libevent_core.a		      libgdbm.a		       libintl.so.8		 libmd.so.0			      libmpifort.a		   libopen-pal.so.40.30.2   libsqlite3.so	   libz.a
libblas.so.3	      libevent_core.so		      libgdbm.so	       libintl.so.8.3.0		 libmd.so.0.0.5			      libmpifort.so		   libopen-rte.a	    libsqlite3.so.0	   libz.so
libblas.so.3.10.1     libevent_extra-2.1.so.7	      libgdbm.so.6	       libk5crypto.so		 libmenu.a			      libmpifort.so.12		   libopen-rte.so	    libsqlite3.so.0.8.6	   libz.so.1
libbsd-ctor.a	      libevent_extra-2.1.so.7.0.1     libgdbm.so.6.0.0	       libk5crypto.so.3		 libmenu.so			      libmpifort.so.12.2.2	   libopen-rte.so.40	    libssl.a		   libz.so.1.2.13
libbsd.a	      libevent_extra.a		      libgdbm_compat.a	       libk5crypto.so.3.1	 libmenu.so.6			      libmpl.so			   libopen-rte.so.40.30.2   libssl.so		   libzstd.a
libbsd.so	      libevent_extra.so		      libgdbm_compat.so	       libkadm5clnt.so		 libmenu.so.6.3			      libncurses++.a		   libopenblas-r0.3.21.a    libssl.so.1.1	   libzstd.so
libbsd.so.0	      libevent_openssl-2.1.so.7	      libgdbm_compat.so.4      libkadm5clnt_mit.so	 libmenu_g.a			      libncurses++.so		   libopenblas-r0.3.21.so   libtextstyle.a	   libzstd.so.1
libbsd.so.0.11.5      libevent_openssl-2.1.so.7.0.1   libgdbm_compat.so.4.0.0  libkadm5clnt_mit.so.12	 libmenuw.a			      libncurses++.so.6		   libopenblas.a	    libtextstyle.so	   libzstd.so.1.5.2
libbz2.a	      libevent_openssl.a	      libgettextlib-0.21.1.so  libkadm5clnt_mit.so.12.0	 libmenuw.so			      libncurses++.so.6.3	   libopenblas.so	    libtextstyle.so.0	   mpi.mod
libbz2.so	      libevent_openssl.so	      libgettextlib.a	       libkadm5srv.so		 libmenuw.so.6			      libncurses++_g.a		   libopenblas.so.0	    libtextstyle.so.0.1.2  mpi_ext.mod
libbz2.so.1	      libevent_pthreads-2.1.so.7      libgettextlib.so	       libkadm5srv_mit.so	 libmenuw.so.6.3		      libncurses++w.a		   libpanel.a		    libtinfo.a		   mpi_f08.mod
libbz2.so.1.0	      libevent_pthreads-2.1.so.7.0.1  libgettextpo.a	       libkadm5srv_mit.so.12	 libmenuw_g.a			      libncurses++w.so		   libpanel.so		    libtinfo.so		   mpi_f08_callbacks.mod
libbz2.so.1.0.8	      libevent_pthreads.a	      libgettextpo.so	       libkadm5srv_mit.so.12.0	 libmpi.a			      libncurses++w.so.6	   libpanel.so.6	    libtinfo.so.6	   mpi_f08_ext.mod
libcblas.so	      libevent_pthreads.so	      libgettextpo.so.0	       libkdb5.so		 libmpi.so			      libncurses++w.so.6.3	   libpanel.so.6.3	    libtinfo.so.6.3	   mpi_f08_interfaces.mod
libcblas.so.3	      libexpat.a		      libgettextpo.so.0.5.8    libkdb5.so.10		 libmpi.so.12			      libncurses++w_g.a		   libpanel_g.a		    libtinfo_g.a	   mpi_f08_interfaces_callbacks.mod
libcblas.so.3.10.1    libexpat.so		      libgettextsrc-0.21.1.so  libkdb5.so.10.0		 libmpi.so.12.2.2		      libncurses.a		   libpanelw.a		    libtinfow.a		   mpi_f08_types.mod
libcharset.a	      libexpat.so.1		      libgettextsrc.so	       libkrad.so		 libmpi.so.40			      libncurses.so		   libpanelw.so		    libtinfow.so	   openmpi
libcharset.so	      libexpat.so.1.8.8		      libgssapi_krb5.so	       libkrad.so.0		 libmpi.so.40.30.4		      libncurses.so.6		   libpanelw.so.6	    libtinfow.so.6	   pkgconfig
libcharset.so.1	      libfabric.a		      libgssapi_krb5.so.2      libkrad.so.0.0		 libmpi_mpifh.a			      libncurses.so.6.3		   libpanelw.so.6.3	    libtinfow.so.6.3	   pmpi_f08_interfaces.mod
libcharset.so.1.0.0   libfabric.so		      libgssapi_krb5.so.2.2    libkrb5.so		 libmpi_mpifh.so		      libncurses_g.a		   libpanelw_g.a	    libtinfow_g.a	   python3.10
libcom_err.so	      libfabric.so.1		      libgssrpc.so	       libkrb5.so.3		 libmpi_mpifh.so.40		      libncursesw.a		   libpciaccess.a	    libtmglib.so	   terminfo
libcom_err.so.3	      libfabric.so.1.19.1	      libgssrpc.so.4	       libkrb5.so.3.3		 libmpi_mpifh.so.40.30.0	      libncursesw.so		   libpciaccess.so	    libtmglib.so.3
libcom_err.so.3.0     libffi.a			      libgssrpc.so.4.2	       libkrb5support.so	 libmpi_usempi_ignore_tkr.a	      libncursesw.so.6		   libpciaccess.so.0	    libtmglib.so.3.10.1
libcrypto.a	      libffi.so			      libhistory.a	       libkrb5support.so.0	 libmpi_usempi_ignore_tkr.so	      libncursesw.so.6.3	   libpciaccess.so.0.11.1   libuuid.a
libcrypto.so	      libffi.so.8		      libhistory.so	       libkrb5support.so.0.1	 libmpi_usempi_ignore_tkr.so.40	      libncursesw_g.a		   libpmix.a		    libuuid.so
libcrypto.so.1.1      libffi.so.8.1.0		      libhistory.so.8	       liblapack.so		 libmpi_usempi_ignore_tkr.so.40.30.0  libnuma.a			   libpmix.so		    libuuid.so.1
libcurses.so	      libfmpich.so		      libhistory.so.8.1	       liblapack.so.3		 libmpi_usempif08.a		      libnuma.so		   libpmix.so.2		    libuuid.so.1.3.0
libedit.a	      libform.a			      libhwloc.a	       liblapack.so.3.10.1	 libmpi_usempif08.so		      libnuma.so.1		   libpmix.so.2.5.2	    libverto.so
libedit.so	      libform.so		      libhwloc.so	       liblapacke.so		 libmpi_usempif08.so.40		      libnuma.so.1.0.0		   libpython3.10.so	    libverto.so.0
$ ls views/full
gcc-7.5.0  gcc-8.4.0
$ ls views/full/gcc-8.4.0
bin  etc  include  lib	libexec	 man  mpich-4.0.2-netlib-lapack-3.10.1	mpich-4.0.2-openblas-0.3.21  openmpi-4.1.4-netlib-lapack-3.10.1	 openmpi-4.1.4-openblas-0.3.21	sbin  share  var

The view descriptor also contains a link key, which is either “all” or “roots”. The default behavior, as we have seen, is to link all packages, including implicit dependencies, into the view. The “roots” option links only root packages into the view.

# This is a Spack Environment file.
#
# It describes a set of packages to be installed, along with
# configuration settings.
spack:
  definitions:
    - mpis: [mpich]
    - mpis: [openmpi]
      when: 'env.get("SPACK_STACK_USE_OPENMPI", "") == "1"'
    - lapacks: [^openblas, ^netlib-lapack]
    - compilers: ["%gcc@8.4.0"]
    - mpi_packages: [netlib-scalapack]
    - serial_packages: [py-scipy]

  specs:
  - gcc@8.4.0%gcc@7.5.0
  - matrix:
    - [$mpi_packages]
    - [$^mpis]
    - [$lapacks]
    - [$compilers]
  - matrix:
    - [$serial_packages]
    - [$lapacks]
    - [$compilers]
    exclude:
    - "py-scipy ^netlib-lapack"
  view:
    default:
      root: views/default
      select: ['%gcc@8.4.0']
      exclude: [^mpich, ^netlib-lapack]
      link: roots
    full:
      root: views/full
      projections:
        ^mpi^lapack: '{compiler.name}-{compiler.version}/{^mpi.name}-{^mpi.version}-{^lapack.name}-{^lapack.version}'
        ^lapack: '{compiler.name}-{compiler.version}/{^lapack.name}-{^lapack.version}'
        all: '{compiler.name}-{compiler.version}/'
  concretizer:
    unify: false
  compilers:
  - compiler:
      spec: gcc@8.4.0
      paths:
        cc: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gcc
        cxx: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/g++
        f77: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gfortran
        fc: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gfortran
      flags: {}
      operating_system: ubuntu18.04
      target: x86_64
      modules: []
      environment: {}
      extra_rpaths: []
$ spack concretize
==> Updating view at /home/spack/stacks/views/default
$ ls views/default
lib
$ ls views/default/lib
cmake  libscalapack.so	pkgconfig  python3.10
$ ls views/full
gcc-7.5.0  gcc-8.4.0

Now we see only the root libraries in the default view. The rest are hidden, but are still available in the full view.

Module files

Module files are another very popular way to let your end users profit from the software you installed. Here we’ll show how you can incorporate the configuration to generate LMod hierarchical module files within the same environment used to install the software.

Note

A more in-depth tutorial, focused only on module files, can be found at Module Files Tutorial. There we discuss the general architecture of module file generation in Spack and we highlight differences between environment-modules and lmod that won’t be covered in this section.

Let’s start by adding lmod to the software installed with the system compiler:

$ spack add lmod%gcc@7.5.0
$ spack concretize
$ spack install

Once that is done, let’s add the module command to our shell like this:

$ . $(spack location -i lmod)/lmod/lmod/init/bash

If everything worked out correctly you should now have the module command available in you shell:

$ module --version

Modules based on Lua: Version 8.7.2  2022-05-04 13:42 -05:00
    by Robert McLay mclay@tacc.utexas.edu

The next step is to add some basic configuration to our spack.yaml to generate module files:

# This is a Spack Environment file.
#
# It describes a set of packages to be installed, along with
# configuration settings.
spack:
  definitions:
    - mpis: [mpich]
    - mpis: [openmpi]
      when: 'env.get("SPACK_STACK_USE_OPENMPI", "") == "1"'
    - lapacks: [^openblas, ^netlib-lapack]
    - compilers: ["%gcc@8.4.0"]
    - mpi_packages: [netlib-scalapack]
    - serial_packages: [py-scipy]

  specs:
  - gcc@8.4.0%gcc@7.5.0
  - matrix:
    - [$mpi_packages]
    - [$^mpis]
    - [$lapacks]
    - [$compilers]
  - matrix:
    - [$serial_packages]
    - [$lapacks]
    - [$compilers]
    exclude:
    - "py-scipy ^netlib-lapack"
  view: false
  concretizer:
    unify: false
  compilers:
  - compiler:
      spec: gcc@8.4.0
      paths:
        cc: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gcc
        cxx: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/g++
        f77: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gfortran
        fc: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gfortran
      flags: {}
      operating_system: ubuntu18.04
      target: x86_64
      modules: []
      environment: {}
      extra_rpaths: []
  modules:
    default:
      enable:
      - lmod
      roots:
        lmod: modules
      lmod:
        hierarchy:
        - mpi
        - lapack

In these few lines of additional configuration we told Spack to generate lmod module files in a subdirectory named modules, using a hierarchy comprising both lapack and mpi.

We can generate the module files and use them with the following commands:

$ spack module lmod refresh -y
$ module use $PWD/modules/linux-ubuntu18.04-x86_64/Core

Now we should be able to see the module files that have been generated:

$ module av

------------------------------------------------------------------------------------------------- /home/spack/stacks/modules/linux-ubuntu18.04-x86_64/Core --------------------------------------------------------------------------------------------------
   autoconf/2.69-btoteei	  ca-certificates-mozilla/2022-10-11-aurd37j	gcc/8.4.0-uobbegc	 libsigsegv/2.13-e262sf6	    lua-luaposix/35.0-3edic26	 mpfr/3.1.6-3brr36e	   pkgconf/1.8.0-k2lfw6f     unzip/6.0-pqjekjj
   automake/1.16.5-rxjqnjw	  curl/7.85.0-wc2juod				gdbm/1.23-cpmynty	 libtool/2.4.7-bdxu4wn		    lua/5.4.4-ewawei4		 ncurses/6.3-zcuawli	   readline/8.1.2-kgyvtw5    zlib/1.2.13-2hfr5rb
   berkeley-db/18.1.40-53fb72w	  diffutils/3.8-c3uhkcj				gmp/6.2.1-iowhen4	 lmod/8.7.2-4jrozw5		    m4/1.4.19-z7d5q4f		 openssl/1.1.1s-yr4z2pt	   tcl/8.6.12-v63n6wx
   bzip2/1.0.8-cxcreln		  gawk/5.1.1-dco3nzd				libiconv/1.16-ltvovvv	 lua-luafilesystem/1_8_0-6snuuy6    mpc/1.1.0-l5bs2ru		 perl/5.36.0-eydiwim	   texinfo/6.5-hdyi7fu

If the avail list is too long consider trying:

"module --default avail" or "ml -d av" to just list the default modules.
"module overview" or "ml ov" to display the number of modules for each name.

Use "module spider" to find all possible modules and extensions.
Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys".

The sets of modules is already usable, and the hierarchy already works. For instance we can load the gcc compiler and check that we have gcc in out path and we have a lot more modules available - all the ones compiled with gcc@8.4.0:

$ module load gcc
$ which gcc
/home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gcc
$ gcc --version
gcc (Spack GCC) 8.4.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ module av

----------------------------------------------------------------------------------------------- /home/spack/stacks/modules/linux-ubuntu18.04-x86_64/gcc/8.4.0 -----------------------------------------------------------------------------------------------
   autoconf/2.69-3ur6efa		      (D)    findutils/4.9.0-ye45pox		 libffi/3.4.2-pfw5zcj		  ncurses/6.3-pm3k5t4		      pigz/2.7-x4i7we6		   py-setuptools/59.4.0-uh4z6vn		 yaksa/0.2-ohap5mv
   automake/1.16.5-ltwno6t			     gdbm/1.23-6dpdzlt		  (D)	 libiconv/1.16-faxyug5		  netlib-lapack/3.10.1-d75mbpb	      pkgconf/1.8.0-db44f6t	   py-wheel/0.37.1-htlk6hg		 zlib/1.2.13-qaq2asl
   berkeley-db/18.1.40-gfnsus4			     gettext/0.21.1-lxoekir		 libmd/1.0.4-mbjxxpr		  ninja/1.11.1-ctiucvr		      pmix/4.1.2-alwqqyv	   python/3.10.8-4ots64k		 zstd/1.5.2-2b73tir
   bison/3.8.2-mne2r6i				     hwloc/2.8.0-76vxdwi		 libpciaccess/0.16-ygwuejw	  numactl/2.0.14-qo6lo2m	      py-beniget/0.4.1-6fg7x2e	   readline/8.1.2-vrvkcpj	  (D)
   bzip2/1.0.8-h2cyuuc			      (D)    krb5/1.19.3-lbq4bnu		 libsigsegv/2.13-hzetpcu   (D)	  openblas/0.3.21-62oqts5	      py-cython/0.29.32-g5hd5bt	   sqlite/3.39.4-e373hd3
   ca-certificates-mozilla/2022-10-11-tug2vtk (D)    libbsd/0.11.5-p666k37		 libtool/2.4.7-uejcu2m	   (D)	  openmpi/4.1.4-cnq37ia		      py-gast/0.5.3-hthzien	   tar/1.34-vkidral
   cmake/3.24.3-3oinxkn				     libedit/3.1-20210216-zl6rdlr	 libxml2/2.10.1-rsueryu		  openssh/9.1p1-bu2y2rn		      py-pip/22.2.2-gdv6477	   util-linux-uuid/2.38.1-72abeix
   diffutils/3.8-42nykx7		      (D)    libevent/2.1.12-zlkggwb		 m4/1.4.19-64hyzlr	   (D)	  openssl/1.1.1s-4h2attb       (D)    py-ply/3.11-i3li6qu	   util-macros/1.19.3-caquoxb
   expat/2.4.8-ecxz4tu				     libfabric/1.16.1-zmoqcfm		 mpich/4.0.2-dehzhtf		  perl/5.36.0-oxh2v73	       (D)    py-pybind11/2.8.1-pzlkf5u	   xz/5.2.7-yalo3gm

------------------------------------------------------------------------------------------------- /home/spack/stacks/modules/linux-ubuntu18.04-x86_64/Core --------------------------------------------------------------------------------------------------
   autoconf/2.69-btoteei			     curl/7.85.0-wc2juod	  gmp/6.2.1-iowhen4	  (L)	 lua-luafilesystem/1_8_0-6snuuy6	mpfr/3.1.6-3brr36e     (L)    readline/8.1.2-kgyvtw5
   automake/1.16.5-rxjqnjw		      (D)    diffutils/3.8-c3uhkcj	  libiconv/1.16-ltvovvv	  (D)	 lua-luaposix/35.0-3edic26		ncurses/6.3-zcuawli    (D)    tcl/8.6.12-v63n6wx
   berkeley-db/18.1.40-53fb72w		      (D)    gawk/5.1.1-dco3nzd		  libsigsegv/2.13-e262sf6	 lua/5.4.4-ewawei4			openssl/1.1.1s-yr4z2pt	      texinfo/6.5-hdyi7fu
   bzip2/1.0.8-cxcreln				     gcc/8.4.0-uobbegc	   (L)	  libtool/2.4.7-bdxu4wn		 m4/1.4.19-z7d5q4f			perl/5.36.0-eydiwim	      unzip/6.0-pqjekjj
   ca-certificates-mozilla/2022-10-11-aurd37j	     gdbm/1.23-cpmynty		  lmod/8.7.2-4jrozw5		 mpc/1.1.0-l5bs2ru		 (L)	pkgconf/1.8.0-k2lfw6f  (D)    zlib/1.2.13-2hfr5rb    (L,D)

  Where:
   D:  Default Module
   L:  Module is loaded

If the avail list is too long consider trying:

"module --default avail" or "ml -d av" to just list the default modules.
"module overview" or "ml ov" to display the number of modules for each name.

Use "module spider" to find all possible modules and extensions.
Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys".


$ module unload gcc

There are a few issues though. For once, we have a lot of modules generated from dependencies of gcc that are cluttering the view, and won’t likely be needed directly by users. Then, module names contain hashes, which go against users being able to reuse the same script in similar, but not equal, environments.

Also, some of the modules might need to set custom environment variables, which are specific to the deployment aspects that don’t enter the hash - for instance a policy at the deploying site.

To address all these needs we can complicate out modules configuration a bit more:

# This is a Spack Environment file.
#
# It describes a set of packages to be installed, along with
# configuration settings.
spack:
  definitions:
    - mpis: [mpich]
    - mpis: [openmpi]
      when: 'env.get("SPACK_STACK_USE_OPENMPI", "") == "1"'
    - lapacks: [^openblas, ^netlib-lapack]
    - compilers: ["%gcc@8.4.0"]
    - mpi_packages: [netlib-scalapack]
    - serial_packages: [py-scipy]

  specs:
  - gcc@8.4.0%gcc@7.5.0
  - matrix:
    - [$mpi_packages]
    - [$^mpis]
    - [$lapacks]
    - [$compilers]
  - matrix:
    - [$serial_packages]
    - [$lapacks]
    - [$compilers]
    exclude:
    - "py-scipy ^netlib-lapack"
  view: false
  concretizer:
    unify: false
  compilers:
  - compiler:
      spec: gcc@8.4.0
      paths:
        cc: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gcc
        cxx: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/g++
        f77: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gfortran
        fc: /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-8.4.0-uobbegc3e3qn7lktajfr53buov2vf72e/bin/gfortran
      flags: {}
      operating_system: ubuntu18.04
      target: x86_64
      modules: []
      environment: {}
      extra_rpaths: []
  modules:
    default:
      enable:
      - lmod
      roots:
        lmod: modules
      lmod:
        hierarchy:
        - mpi
        - lapack
        hash_length: 0
        include:
        - gcc
        exclude:
        - '%gcc@7.5.0'
        all:
          environment:
            set:
              '{name}_ROOT': '{prefix}'
        openmpi:
          environment:
            set:
              SLURM_MPI_TYPE: pmi2
              OMPI_MCA_btl_openib_warn_default_gid_prefix: '0'
        projections:
          all: '{name}/{version}'

Let’s regenerate the modules once again:

$ spack module lmod refresh --delete-tree -y
==> Regenerating lmod module files

Now we have a set of module files without hashes, with a correct hierarchy, and with all our custom modifications:

$ module load gcc
$ module load openmpi openblas netlib-scalapack py-scipy
$ module av

----------------------------------------------------------------------------------------------- /home/spack/stacks/modules/linux-ubuntu18.04-x86_64/gcc/8.4.0 -----------------------------------------------------------------------------------------------
   autoconf/2.69			 cmake/3.24.3	    hwloc/2.8.0		    libffi/3.4.2	 libxml2/2.10.1		 numactl/2.0.14	    pigz/2.7		 py-pip/22.2.2		 readline/8.1.2		   yaksa/0.2
   automake/1.16.5			 diffutils/3.8	    krb5/1.19.3		    libiconv/1.16	 m4/1.4.19		 openblas/0.3.21    pkgconf/1.8.0	 py-ply/3.11		 sqlite/3.39.4		   zlib/1.2.13
   berkeley-db/18.1.40			 expat/2.4.8	    libbsd/0.11.5	    libmd/1.0.4		 mpich/4.0.2		 openmpi/4.1.4	    pmix/4.1.2		 py-pybind11/2.8.1	 tar/1.34		   zstd/1.5.2
   bison/3.8.2				 findutils/4.9.0    libedit/3.1-20210216    libpciaccess/0.16	 ncurses/6.3		 openssh/9.1p1	    py-beniget/0.4.1	 py-setuptools/59.4.0	 util-linux-uuid/2.38.1
   bzip2/1.0.8				 gdbm/1.23	    libevent/2.1.12	    libsigsegv/2.13	 netlib-lapack/3.10.1	 openssl/1.1.1s	    py-cython/0.29.32	 py-wheel/0.37.1	 util-macros/1.19.3
   ca-certificates-mozilla/2022-10-11	 gettext/0.21.1	    libfabric/1.16.1	    libtool/2.4.7	 ninja/1.11.1		 perl/5.36.0	    py-gast/0.5.3	 python/3.10.8		 xz/5.2.7

------------------------------------------------------------------------------------------------- /home/spack/stacks/modules/linux-ubuntu18.04-x86_64/Core --------------------------------------------------------------------------------------------------
   gcc/8.4.0 (L)

  Where:
   L:  Module is loaded

If the avail list is too long consider trying:

"module --default avail" or "ml -d av" to just list the default modules.
"module overview" or "ml ov" to display the number of modules for each name.

Use "module spider" to find all possible modules and extensions.
Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys".


$ module load mpich

Lmod is automatically replacing "openmpi/4.1.4" with "mpich/4.0.2".


Due to MODULEPATH changes, the following have been reloaded:
  1) netlib-scalapack/2.2.0

$ module load netlib-lapack

Lmod is automatically replacing "openblas/0.3.21" with "netlib-lapack/3.10.1".


Due to MODULEPATH changes, the following have been reloaded:
  1) netlib-scalapack/2.2.0

$ module purge