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:isc23

and then set Spack up like this:

git clone --depth=100 --branch=releases/v0.20 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 slack.spack.io

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@12.1.0 %gcc@11.3.0
==> Adding gcc@12.1.0%gcc@11.3.0 to environment /home/spack/stacks
$ spack env view disable
$ 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@=12.1.0%gcc@11.3.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-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx
$ spack compiler find "$(spack location -i gcc)"
==> Added 1 new compiler to /home/spack/stacks/spack.yaml
    gcc@=12.1.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@12.1.0:

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

-- gcc ubuntu22.04-x86_64 ---------------------------------------
gcc@=12.1.0  gcc@=11.3.0  gcc@=10.4.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@12.1.0%gcc@11.3.0
  view: false
  concretizer:
    unify: true
  compilers:
  - compiler:
      spec: gcc@=12.1.0
      paths:
        cc: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gcc
        cxx: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/g++
        f77: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gfortran
        fc: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gfortran
      flags: {}
      operating_system: ubuntu22.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@12.1.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@12.1.0%gcc@11.3.0
  - matrix:
    - [netlib-scalapack]
    - [^openmpi, ^mpich]
    - [^openblas, ^netlib-lapack]
    - ["%gcc@12.1.0"]
  view: false
  concretizer:
    unify: false
  compilers:
  - compiler:
      spec: gcc@=12.1.0
      paths:
        cc: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gcc
        cxx: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/g++
        f77: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gfortran
        fc: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gfortran
      flags: {}
      operating_system: ubuntu22.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
==> Starting concretization pool with 4 processes
==> Environment concretized in 18.35 seconds.
==> Concretized gcc@12.1.0%gcc@11.3.0
[+]  s5e5zwr  gcc@12.1.0%gcc@11.3.0~binutils+bootstrap~graphite~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages=c,c++,fortran patches=cc6112d arch=linux-ubuntu22.04-x86_64_v3
[+]  zdl3dic	  ^diffutils@3.9%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7wr75ce	      ^libiconv@1.17%gcc@11.3.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  6lk2khk	  ^gawk@5.2.1%gcc@11.3.0~nls build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  okig24f	      ^libsigsegv@2.14%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  tddm2ff	      ^readline@8.2%gcc@11.3.0 build_system=autotools patches=bbf97f1 arch=linux-ubuntu22.04-x86_64_v3
[+]  guaj3kb	  ^gmake@4.4.1%gcc@11.3.0~guile build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7kxi3rr	  ^gmp@6.2.1%gcc@11.3.0+cxx build_system=autotools libs=shared,static patches=69ad2e2 arch=linux-ubuntu22.04-x86_64_v3
[+]  t4nuen3	      ^autoconf@2.69%gcc@11.3.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu22.04-x86_64_v3
[+]  oa3w4kf	      ^automake@1.16.5%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  llbjfk2	      ^m4@1.4.19%gcc@11.3.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu22.04-x86_64_v3
[+]  qkvj7am	  ^libtool@2.4.7%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  3qvnliw	  ^mpc@1.3.1%gcc@11.3.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  aiys7vc	  ^mpfr@4.2.0%gcc@11.3.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  5wwl7c6	      ^autoconf-archive@2023.02.20%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  j5tavds	  ^perl@5.36.0%gcc@11.3.0+cpanm+open+shared+threads build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  7sohpaz	      ^berkeley-db@18.1.40%gcc@11.3.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu22.04-x86_64_v3
[+]  dca2qyg	      ^bzip2@1.0.8%gcc@11.3.0~debug~pic+shared build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  ba4juc3	      ^gdbm@1.23%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  tcpqkls	  ^texinfo@7.0.3%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  p4obvgx	      ^gettext@0.21.1%gcc@11.3.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  pcbenki		  ^libxml2@2.10.3%gcc@11.3.0~python build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  e77cf6a		  ^tar@1.34%gcc@11.3.0 build_system=autotools zip=pigz arch=linux-ubuntu22.04-x86_64_v3
[+]  aln73eo		      ^pigz@2.7%gcc@11.3.0 build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
[+]  4kpkw5a		  ^xz@5.4.1%gcc@11.3.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  4dokmxj	      ^ncurses@6.4%gcc@11.3.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  mh73nkp		  ^pkgconf@1.9.5%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  mntflxr	  ^zlib@1.2.13%gcc@11.3.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
[+]  qoo4rlo	  ^zstd@1.5.5%gcc@11.3.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu22.04-x86_64_v3

==> Concretized netlib-scalapack%gcc@12.1.0 ^openblas ^openmpi
 -   qmna5re  netlib-scalapack@2.2.0%gcc@12.1.0~ipo~pic+shared build_system=cmake build_type=Release generator=make patches=072b006,1c9ce5f,244a9aa arch=linux-ubuntu22.04-x86_64_v3
 -   cb3vkyk	  ^cmake@3.26.3%gcc@12.1.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu22.04-x86_64_v3
 -   yugzpgp	      ^ncurses@6.4%gcc@12.1.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   7dyvgor	      ^openssl@1.1.1t%gcc@12.1.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu22.04-x86_64_v3
 -   7u553me		  ^ca-certificates-mozilla@2023-01-10%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
 -   74omm4b	  ^gmake@4.4.1%gcc@12.1.0~guile build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   5hvwk3g	  ^openblas@0.3.23%gcc@12.1.0~bignuma~consistent_fpcsr+fortran~ilp64+locking+pic+shared build_system=makefile symbol_suffix=none threads=none arch=linux-ubuntu22.04-x86_64_v3
 -   fq7gb4a	      ^perl@5.36.0%gcc@12.1.0+cpanm+open+shared+threads build_system=generic arch=linux-ubuntu22.04-x86_64_v3
 -   vtjcxzc		  ^berkeley-db@18.1.40%gcc@12.1.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu22.04-x86_64_v3
 -   ecute7q		  ^bzip2@1.0.8%gcc@12.1.0~debug~pic+shared build_system=generic arch=linux-ubuntu22.04-x86_64_v3
 -   csiltjm		      ^diffutils@3.9%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   febzyvz		  ^gdbm@1.23%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   qypmr5g		      ^readline@8.2%gcc@12.1.0 build_system=autotools patches=bbf97f1 arch=linux-ubuntu22.04-x86_64_v3
 -   ekmi64f	  ^openmpi@4.1.5%gcc@12.1.0~atomics~cuda~cxx~cxx_exceptions~gpfs~internal-hwloc~java~legacylaunchers~lustre~memchecker~orterunprefix+romio+rsh~singularity+static+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=linux-ubuntu22.04-x86_64_v3
 -   sd6g5bq	      ^hwloc@2.9.1%gcc@12.1.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
 -   4voenez		  ^libpciaccess@0.17%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   imbmumc		      ^util-macros@1.19.3%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   sbbiixp		  ^libxml2@2.10.3%gcc@12.1.0~python build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   ojujfjj		      ^libiconv@1.17%gcc@12.1.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
 -   dat54qr		      ^xz@5.4.1%gcc@12.1.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
 -   45xq3wr	      ^numactl@2.0.14%gcc@12.1.0 build_system=autotools patches=4e1d78c,62fc8a8,ff37630 arch=linux-ubuntu22.04-x86_64_v3
 -   mr5osqp		  ^autoconf@2.69%gcc@12.1.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu22.04-x86_64_v3
 -   yyzuikk		  ^automake@1.16.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   owrdqyk		  ^libtool@2.4.7%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   s6ky5ld		  ^m4@1.4.19%gcc@12.1.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu22.04-x86_64_v3
 -   oyzxg5g		      ^libsigsegv@2.14%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   vu4ehmb	      ^openssh@9.3p1%gcc@12.1.0+gssapi build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   n5v3tug		  ^krb5@1.20.1%gcc@12.1.0+shared build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   fjc7p57		      ^bison@3.8.2%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   7qnn3pi		      ^gettext@0.21.1%gcc@12.1.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   2r7rutu			  ^tar@1.34%gcc@12.1.0 build_system=autotools zip=pigz arch=linux-ubuntu22.04-x86_64_v3
 -   i2azy7n			      ^pigz@2.7%gcc@12.1.0 build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
 -   a5p5yob			      ^zstd@1.5.5%gcc@12.1.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
 -   xkjcqre		  ^libedit@3.1-20210216%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   uq4wpnl		  ^libxcrypt@4.4.33%gcc@12.1.0~obsolete_api build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   gbfssja	      ^pkgconf@1.9.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   ouqw26w	      ^pmix@4.2.3%gcc@12.1.0~docs+pmi_backwards_compatibility~python~restful build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   2y2whk4		  ^libevent@2.1.12%gcc@12.1.0+openssl build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   oboyaa5	      ^zlib@1.2.13%gcc@12.1.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu22.04-x86_64_v3

==> Concretized netlib-scalapack%gcc@12.1.0 ^netlib-lapack ^openmpi
 -   ea7dxfb  netlib-scalapack@2.2.0%gcc@12.1.0~ipo~pic+shared build_system=cmake build_type=Release generator=make patches=072b006,1c9ce5f,244a9aa arch=linux-ubuntu22.04-x86_64_v3
 -   cb3vkyk	  ^cmake@3.26.3%gcc@12.1.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu22.04-x86_64_v3
 -   yugzpgp	      ^ncurses@6.4%gcc@12.1.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   7dyvgor	      ^openssl@1.1.1t%gcc@12.1.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu22.04-x86_64_v3
 -   7u553me		  ^ca-certificates-mozilla@2023-01-10%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
 -   74omm4b	  ^gmake@4.4.1%gcc@12.1.0~guile build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   fjlwowf	  ^netlib-lapack@3.11.0%gcc@12.1.0~external-blas~ipo+lapacke+shared~xblas build_system=cmake build_type=Release generator=make arch=linux-ubuntu22.04-x86_64_v3
 -   ekmi64f	  ^openmpi@4.1.5%gcc@12.1.0~atomics~cuda~cxx~cxx_exceptions~gpfs~internal-hwloc~java~legacylaunchers~lustre~memchecker~orterunprefix+romio+rsh~singularity+static+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=linux-ubuntu22.04-x86_64_v3
 -   sd6g5bq	      ^hwloc@2.9.1%gcc@12.1.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
 -   4voenez		  ^libpciaccess@0.17%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   imbmumc		      ^util-macros@1.19.3%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   sbbiixp		  ^libxml2@2.10.3%gcc@12.1.0~python build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   ojujfjj		      ^libiconv@1.17%gcc@12.1.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
 -   dat54qr		      ^xz@5.4.1%gcc@12.1.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
 -   45xq3wr	      ^numactl@2.0.14%gcc@12.1.0 build_system=autotools patches=4e1d78c,62fc8a8,ff37630 arch=linux-ubuntu22.04-x86_64_v3
 -   mr5osqp		  ^autoconf@2.69%gcc@12.1.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu22.04-x86_64_v3
 -   yyzuikk		  ^automake@1.16.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   owrdqyk		  ^libtool@2.4.7%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   s6ky5ld		  ^m4@1.4.19%gcc@12.1.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu22.04-x86_64_v3
 -   csiltjm		      ^diffutils@3.9%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   oyzxg5g		      ^libsigsegv@2.14%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   vu4ehmb	      ^openssh@9.3p1%gcc@12.1.0+gssapi build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   n5v3tug		  ^krb5@1.20.1%gcc@12.1.0+shared build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   fjc7p57		      ^bison@3.8.2%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   7qnn3pi		      ^gettext@0.21.1%gcc@12.1.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   2r7rutu			  ^tar@1.34%gcc@12.1.0 build_system=autotools zip=pigz arch=linux-ubuntu22.04-x86_64_v3
 -   i2azy7n			      ^pigz@2.7%gcc@12.1.0 build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
 -   a5p5yob			      ^zstd@1.5.5%gcc@12.1.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
 -   xkjcqre		  ^libedit@3.1-20210216%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   uq4wpnl		  ^libxcrypt@4.4.33%gcc@12.1.0~obsolete_api build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   fq7gb4a	      ^perl@5.36.0%gcc@12.1.0+cpanm+open+shared+threads build_system=generic arch=linux-ubuntu22.04-x86_64_v3
 -   vtjcxzc		  ^berkeley-db@18.1.40%gcc@12.1.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu22.04-x86_64_v3
 -   ecute7q		  ^bzip2@1.0.8%gcc@12.1.0~debug~pic+shared build_system=generic arch=linux-ubuntu22.04-x86_64_v3
 -   febzyvz		  ^gdbm@1.23%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   qypmr5g		      ^readline@8.2%gcc@12.1.0 build_system=autotools patches=bbf97f1 arch=linux-ubuntu22.04-x86_64_v3
 -   gbfssja	      ^pkgconf@1.9.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   ouqw26w	      ^pmix@4.2.3%gcc@12.1.0~docs+pmi_backwards_compatibility~python~restful build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   2y2whk4		  ^libevent@2.1.12%gcc@12.1.0+openssl build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   oboyaa5	      ^zlib@1.2.13%gcc@12.1.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu22.04-x86_64_v3

==> Concretized netlib-scalapack%gcc@12.1.0 ^mpich ^openblas
 -   75u5574  netlib-scalapack@2.2.0%gcc@12.1.0~ipo~pic+shared build_system=cmake build_type=Release generator=make patches=072b006,1c9ce5f,244a9aa arch=linux-ubuntu22.04-x86_64_v3
 -   cb3vkyk	  ^cmake@3.26.3%gcc@12.1.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu22.04-x86_64_v3
 -   yugzpgp	      ^ncurses@6.4%gcc@12.1.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   7dyvgor	      ^openssl@1.1.1t%gcc@12.1.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu22.04-x86_64_v3
 -   7u553me		  ^ca-certificates-mozilla@2023-01-10%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
 -   oboyaa5		  ^zlib@1.2.13%gcc@12.1.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
 -   74omm4b	  ^gmake@4.4.1%gcc@12.1.0~guile build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   fb4tt65	  ^mpich@4.1.1%gcc@12.1.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 pmi=pmi arch=linux-ubuntu22.04-x86_64_v3
 -   hgvmfon	      ^findutils@4.9.0%gcc@12.1.0 build_system=autotools patches=440b954 arch=linux-ubuntu22.04-x86_64_v3
 -   sd6g5bq	      ^hwloc@2.9.1%gcc@12.1.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
 -   er4rpyd	      ^libfabric@1.18.0%gcc@12.1.0~debug~kdreg build_system=autotools fabrics=sockets,tcp,udp arch=linux-ubuntu22.04-x86_64_v3
 -   4voenez	      ^libpciaccess@0.17%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   owrdqyk		  ^libtool@2.4.7%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   imbmumc		  ^util-macros@1.19.3%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   sbbiixp	      ^libxml2@2.10.3%gcc@12.1.0~python build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   ojujfjj		  ^libiconv@1.17%gcc@12.1.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
 -   dat54qr		  ^xz@5.4.1%gcc@12.1.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
 -   gbfssja	      ^pkgconf@1.9.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   5mplopl	      ^yaksa@0.2%gcc@12.1.0~cuda~rocm build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   mr5osqp		  ^autoconf@2.69%gcc@12.1.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu22.04-x86_64_v3
 -   yyzuikk		  ^automake@1.16.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   s6ky5ld		  ^m4@1.4.19%gcc@12.1.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu22.04-x86_64_v3
 -   csiltjm		      ^diffutils@3.9%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   oyzxg5g		      ^libsigsegv@2.14%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   nvcwpz4		  ^python@3.10.10%gcc@12.1.0+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-ubuntu22.04-x86_64_v3
 -   upevc4c		      ^expat@2.5.0%gcc@12.1.0+libbsd build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   kqphoxb			  ^libbsd@0.11.7%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   a4ofctm			      ^libmd@1.0.4%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   7qnn3pi		      ^gettext@0.21.1%gcc@12.1.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   2r7rutu			  ^tar@1.34%gcc@12.1.0 build_system=autotools zip=pigz arch=linux-ubuntu22.04-x86_64_v3
 -   i2azy7n			      ^pigz@2.7%gcc@12.1.0 build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
 -   a5p5yob			      ^zstd@1.5.5%gcc@12.1.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
 -   u2ztzc2		      ^libffi@3.4.4%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   uq4wpnl		      ^libxcrypt@4.4.33%gcc@12.1.0~obsolete_api build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   qypmr5g		      ^readline@8.2%gcc@12.1.0 build_system=autotools patches=bbf97f1 arch=linux-ubuntu22.04-x86_64_v3
 -   at2vwsu		      ^sqlite@3.40.1%gcc@12.1.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   gbfbnoj		      ^util-linux-uuid@2.38.1%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   5hvwk3g	  ^openblas@0.3.23%gcc@12.1.0~bignuma~consistent_fpcsr+fortran~ilp64+locking+pic+shared build_system=makefile symbol_suffix=none threads=none arch=linux-ubuntu22.04-x86_64_v3
 -   fq7gb4a	      ^perl@5.36.0%gcc@12.1.0+cpanm+open+shared+threads build_system=generic arch=linux-ubuntu22.04-x86_64_v3
 -   vtjcxzc		  ^berkeley-db@18.1.40%gcc@12.1.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu22.04-x86_64_v3
 -   ecute7q		  ^bzip2@1.0.8%gcc@12.1.0~debug~pic+shared build_system=generic arch=linux-ubuntu22.04-x86_64_v3
 -   febzyvz		  ^gdbm@1.23%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3

==> Concretized netlib-scalapack%gcc@12.1.0 ^mpich ^netlib-lapack
 -   yq5hsff  netlib-scalapack@2.2.0%gcc@12.1.0~ipo~pic+shared build_system=cmake build_type=Release generator=make patches=072b006,1c9ce5f,244a9aa arch=linux-ubuntu22.04-x86_64_v3
 -   cb3vkyk	  ^cmake@3.26.3%gcc@12.1.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu22.04-x86_64_v3
 -   yugzpgp	      ^ncurses@6.4%gcc@12.1.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   7dyvgor	      ^openssl@1.1.1t%gcc@12.1.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu22.04-x86_64_v3
 -   7u553me		  ^ca-certificates-mozilla@2023-01-10%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
 -   fq7gb4a		  ^perl@5.36.0%gcc@12.1.0+cpanm+open+shared+threads build_system=generic arch=linux-ubuntu22.04-x86_64_v3
 -   vtjcxzc		      ^berkeley-db@18.1.40%gcc@12.1.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu22.04-x86_64_v3
 -   ecute7q		      ^bzip2@1.0.8%gcc@12.1.0~debug~pic+shared build_system=generic arch=linux-ubuntu22.04-x86_64_v3
 -   febzyvz		      ^gdbm@1.23%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   oboyaa5		  ^zlib@1.2.13%gcc@12.1.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
 -   74omm4b	  ^gmake@4.4.1%gcc@12.1.0~guile build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   fb4tt65	  ^mpich@4.1.1%gcc@12.1.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 pmi=pmi arch=linux-ubuntu22.04-x86_64_v3
 -   hgvmfon	      ^findutils@4.9.0%gcc@12.1.0 build_system=autotools patches=440b954 arch=linux-ubuntu22.04-x86_64_v3
 -   sd6g5bq	      ^hwloc@2.9.1%gcc@12.1.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
 -   er4rpyd	      ^libfabric@1.18.0%gcc@12.1.0~debug~kdreg build_system=autotools fabrics=sockets,tcp,udp arch=linux-ubuntu22.04-x86_64_v3
 -   4voenez	      ^libpciaccess@0.17%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   owrdqyk		  ^libtool@2.4.7%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   imbmumc		  ^util-macros@1.19.3%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   sbbiixp	      ^libxml2@2.10.3%gcc@12.1.0~python build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   ojujfjj		  ^libiconv@1.17%gcc@12.1.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
 -   dat54qr		  ^xz@5.4.1%gcc@12.1.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
 -   gbfssja	      ^pkgconf@1.9.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   5mplopl	      ^yaksa@0.2%gcc@12.1.0~cuda~rocm build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   mr5osqp		  ^autoconf@2.69%gcc@12.1.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu22.04-x86_64_v3
 -   yyzuikk		  ^automake@1.16.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   s6ky5ld		  ^m4@1.4.19%gcc@12.1.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu22.04-x86_64_v3
 -   csiltjm		      ^diffutils@3.9%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   oyzxg5g		      ^libsigsegv@2.14%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   nvcwpz4		  ^python@3.10.10%gcc@12.1.0+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-ubuntu22.04-x86_64_v3
 -   upevc4c		      ^expat@2.5.0%gcc@12.1.0+libbsd build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   kqphoxb			  ^libbsd@0.11.7%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   a4ofctm			      ^libmd@1.0.4%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   7qnn3pi		      ^gettext@0.21.1%gcc@12.1.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   2r7rutu			  ^tar@1.34%gcc@12.1.0 build_system=autotools zip=pigz arch=linux-ubuntu22.04-x86_64_v3
 -   i2azy7n			      ^pigz@2.7%gcc@12.1.0 build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
 -   a5p5yob			      ^zstd@1.5.5%gcc@12.1.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
 -   u2ztzc2		      ^libffi@3.4.4%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   uq4wpnl		      ^libxcrypt@4.4.33%gcc@12.1.0~obsolete_api build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   qypmr5g		      ^readline@8.2%gcc@12.1.0 build_system=autotools patches=bbf97f1 arch=linux-ubuntu22.04-x86_64_v3
 -   at2vwsu		      ^sqlite@3.40.1%gcc@12.1.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   gbfbnoj		      ^util-linux-uuid@2.38.1%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
 -   fjlwowf	  ^netlib-lapack@3.11.0%gcc@12.1.0~external-blas~ipo+lapacke+shared~xblas build_system=cmake build_type=Release generator=make arch=linux-ubuntu22.04-x86_64_v3

$ spack install
==> Installing pkgconf-1.9.5-gbfssjamarjdhvmb3ctpvpfu6wgvopkg
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-pkgconf-1.9.5-gbfssjamarjdhvmb3ctpvpfu6wgvopkg.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/pkgconf-1.9.5/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-pkgconf-1.9.5-gbfssjamarjdhvmb3ctpvpfu6wgvopkg.spack
==> Extracting pkgconf-1.9.5-gbfssjamarjdhvmb3ctpvpfu6wgvopkg from binary cache
==> pkgconf: Successfully installed pkgconf-1.9.5-gbfssjamarjdhvmb3ctpvpfu6wgvopkg
  Search: 0.00s.  Fetch: 0.24s.  Install: 0.05s.  Total: 0.29s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/pkgconf-1.9.5-gbfssjamarjdhvmb3ctpvpfu6wgvopkg
==> Installing ca-certificates-mozilla-2023-01-10-7u553medgk3gz5gz4z36on4nxfgta3cb
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-ca-certificates-mozilla-2023-01-10-7u553medgk3gz5gz4z36on4nxfgta3cb.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/ca-certificates-mozilla-2023-01-10/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-ca-certificates-mozilla-2023-01-10-7u553medgk3gz5gz4z36on4nxfgta3cb.spack
==> Extracting ca-certificates-mozilla-2023-01-10-7u553medgk3gz5gz4z36on4nxfgta3cb from binary cache
==> ca-certificates-mozilla: Successfully installed ca-certificates-mozilla-2023-01-10-7u553medgk3gz5gz4z36on4nxfgta3cb
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.05s.  Total: 0.05s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/ca-certificates-mozilla-2023-01-10-7u553medgk3gz5gz4z36on4nxfgta3cb
==> Installing berkeley-db-18.1.40-vtjcxzc72qp375gcyfijmv76uzb7olcb
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-berkeley-db-18.1.40-vtjcxzc72qp375gcyfijmv76uzb7olcb.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/berkeley-db-18.1.40/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-berkeley-db-18.1.40-vtjcxzc72qp375gcyfijmv76uzb7olcb.spack
==> Extracting berkeley-db-18.1.40-vtjcxzc72qp375gcyfijmv76uzb7olcb from binary cache
==> berkeley-db: Successfully installed berkeley-db-18.1.40-vtjcxzc72qp375gcyfijmv76uzb7olcb
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.11s.  Total: 0.12s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/berkeley-db-18.1.40-vtjcxzc72qp375gcyfijmv76uzb7olcb
==> Installing libiconv-1.17-ojujfjjqiz52lbehrcynz2e3cr2tdwqi
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libiconv-1.17-ojujfjjqiz52lbehrcynz2e3cr2tdwqi.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libiconv-1.17/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libiconv-1.17-ojujfjjqiz52lbehrcynz2e3cr2tdwqi.spack
==> Extracting libiconv-1.17-ojujfjjqiz52lbehrcynz2e3cr2tdwqi from binary cache
==> libiconv: Successfully installed libiconv-1.17-ojujfjjqiz52lbehrcynz2e3cr2tdwqi
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.07s.  Total: 0.08s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libiconv-1.17-ojujfjjqiz52lbehrcynz2e3cr2tdwqi
==> Installing zlib-1.2.13-oboyaa5tbvn2cmygvmcu6g3pryxxghhu
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-zlib-1.2.13-oboyaa5tbvn2cmygvmcu6g3pryxxghhu.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/zlib-1.2.13/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-zlib-1.2.13-oboyaa5tbvn2cmygvmcu6g3pryxxghhu.spack
==> Extracting zlib-1.2.13-oboyaa5tbvn2cmygvmcu6g3pryxxghhu from binary cache
==> zlib: Successfully installed zlib-1.2.13-oboyaa5tbvn2cmygvmcu6g3pryxxghhu
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.03s.  Total: 0.04s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/zlib-1.2.13-oboyaa5tbvn2cmygvmcu6g3pryxxghhu
==> Installing gmake-4.4.1-74omm4bvcxp62ss6hj2uipjzk6tc3mim
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-gmake-4.4.1-74omm4bvcxp62ss6hj2uipjzk6tc3mim.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/gmake-4.4.1/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-gmake-4.4.1-74omm4bvcxp62ss6hj2uipjzk6tc3mim.spack
==> Extracting gmake-4.4.1-74omm4bvcxp62ss6hj2uipjzk6tc3mim from binary cache
==> gmake: Successfully installed gmake-4.4.1-74omm4bvcxp62ss6hj2uipjzk6tc3mim
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.04s.  Total: 0.05s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/gmake-4.4.1-74omm4bvcxp62ss6hj2uipjzk6tc3mim
==> Installing libsigsegv-2.14-oyzxg5gg67epz54idjra2whwmsfvlhx4
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libsigsegv-2.14-oyzxg5gg67epz54idjra2whwmsfvlhx4.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libsigsegv-2.14/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libsigsegv-2.14-oyzxg5gg67epz54idjra2whwmsfvlhx4.spack
==> Extracting libsigsegv-2.14-oyzxg5gg67epz54idjra2whwmsfvlhx4 from binary cache
==> libsigsegv: Successfully installed libsigsegv-2.14-oyzxg5gg67epz54idjra2whwmsfvlhx4
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.05s.  Total: 0.06s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libsigsegv-2.14-oyzxg5gg67epz54idjra2whwmsfvlhx4
==> Installing util-macros-1.19.3-imbmumcz5zxgwgcyof5t4lxtycvk7s64
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-util-macros-1.19.3-imbmumcz5zxgwgcyof5t4lxtycvk7s64.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/util-macros-1.19.3/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-util-macros-1.19.3-imbmumcz5zxgwgcyof5t4lxtycvk7s64.spack
==> Extracting util-macros-1.19.3-imbmumcz5zxgwgcyof5t4lxtycvk7s64 from binary cache
==> util-macros: Successfully installed util-macros-1.19.3-imbmumcz5zxgwgcyof5t4lxtycvk7s64
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.03s.  Total: 0.03s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/util-macros-1.19.3-imbmumcz5zxgwgcyof5t4lxtycvk7s64
==> Installing xz-5.4.1-dat54qrvnejprtjnx5vslwpspuysxtex
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-xz-5.4.1-dat54qrvnejprtjnx5vslwpspuysxtex.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/xz-5.4.1/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-xz-5.4.1-dat54qrvnejprtjnx5vslwpspuysxtex.spack
==> Extracting xz-5.4.1-dat54qrvnejprtjnx5vslwpspuysxtex from binary cache
==> xz: Successfully installed xz-5.4.1-dat54qrvnejprtjnx5vslwpspuysxtex
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.09s.  Total: 0.10s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/xz-5.4.1-dat54qrvnejprtjnx5vslwpspuysxtex
==> Installing zstd-1.5.5-a5p5yoblpnhpwsakxydqgkr55zeyxur6
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-zstd-1.5.5-a5p5yoblpnhpwsakxydqgkr55zeyxur6.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/zstd-1.5.5/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-zstd-1.5.5-a5p5yoblpnhpwsakxydqgkr55zeyxur6.spack
==> Extracting zstd-1.5.5-a5p5yoblpnhpwsakxydqgkr55zeyxur6 from binary cache
==> zstd: Successfully installed zstd-1.5.5-a5p5yoblpnhpwsakxydqgkr55zeyxur6
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.06s.  Total: 0.07s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/zstd-1.5.5-a5p5yoblpnhpwsakxydqgkr55zeyxur6
==> Installing findutils-4.9.0-hgvmfonte3cgwznac5sgezbr5e7o5yph
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-findutils-4.9.0-hgvmfonte3cgwznac5sgezbr5e7o5yph.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/findutils-4.9.0/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-findutils-4.9.0-hgvmfonte3cgwznac5sgezbr5e7o5yph.spack
==> Extracting findutils-4.9.0-hgvmfonte3cgwznac5sgezbr5e7o5yph from binary cache
==> findutils: Successfully installed findutils-4.9.0-hgvmfonte3cgwznac5sgezbr5e7o5yph
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.07s.  Total: 0.08s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/findutils-4.9.0-hgvmfonte3cgwznac5sgezbr5e7o5yph
==> Installing libfabric-1.18.0-er4rpydkmxzr6ous2eabfqelciyn7kaa
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libfabric-1.18.0-er4rpydkmxzr6ous2eabfqelciyn7kaa.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libfabric-1.18.0/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libfabric-1.18.0-er4rpydkmxzr6ous2eabfqelciyn7kaa.spack
==> Extracting libfabric-1.18.0-er4rpydkmxzr6ous2eabfqelciyn7kaa from binary cache
==> libfabric: Successfully installed libfabric-1.18.0-er4rpydkmxzr6ous2eabfqelciyn7kaa
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.07s.  Total: 0.08s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libfabric-1.18.0-er4rpydkmxzr6ous2eabfqelciyn7kaa
==> Installing libmd-1.0.4-a4ofctmtqhq2bgum3t23ya5knphgo4dc
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libmd-1.0.4-a4ofctmtqhq2bgum3t23ya5knphgo4dc.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libmd-1.0.4/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libmd-1.0.4-a4ofctmtqhq2bgum3t23ya5knphgo4dc.spack
==> Extracting libmd-1.0.4-a4ofctmtqhq2bgum3t23ya5knphgo4dc from binary cache
==> libmd: Successfully installed libmd-1.0.4-a4ofctmtqhq2bgum3t23ya5knphgo4dc
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.04s.  Total: 0.04s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libmd-1.0.4-a4ofctmtqhq2bgum3t23ya5knphgo4dc
==> Installing libffi-3.4.4-u2ztzc2mg4nvm3esjk4weytk75aqil7c
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libffi-3.4.4-u2ztzc2mg4nvm3esjk4weytk75aqil7c.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libffi-3.4.4/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libffi-3.4.4-u2ztzc2mg4nvm3esjk4weytk75aqil7c.spack
==> Extracting libffi-3.4.4-u2ztzc2mg4nvm3esjk4weytk75aqil7c from binary cache
==> libffi: Successfully installed libffi-3.4.4-u2ztzc2mg4nvm3esjk4weytk75aqil7c
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.05s.  Total: 0.05s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libffi-3.4.4-u2ztzc2mg4nvm3esjk4weytk75aqil7c
==> Installing ncurses-6.4-yugzpgpsajqwiueual4eeodnbneakbc3
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-ncurses-6.4-yugzpgpsajqwiueual4eeodnbneakbc3.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/ncurses-6.4/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-ncurses-6.4-yugzpgpsajqwiueual4eeodnbneakbc3.spack
==> Extracting ncurses-6.4-yugzpgpsajqwiueual4eeodnbneakbc3 from binary cache
==> ncurses: Successfully installed ncurses-6.4-yugzpgpsajqwiueual4eeodnbneakbc3
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.44s.  Total: 0.45s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/ncurses-6.4-yugzpgpsajqwiueual4eeodnbneakbc3
==> Installing util-linux-uuid-2.38.1-gbfbnojgwpsi4erfz66b4n26rve6kcys
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-util-linux-uuid-2.38.1-gbfbnojgwpsi4erfz66b4n26rve6kcys.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/util-linux-uuid-2.38.1/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-util-linux-uuid-2.38.1-gbfbnojgwpsi4erfz66b4n26rve6kcys.spack
==> Extracting util-linux-uuid-2.38.1-gbfbnojgwpsi4erfz66b4n26rve6kcys from binary cache
==> util-linux-uuid: Successfully installed util-linux-uuid-2.38.1-gbfbnojgwpsi4erfz66b4n26rve6kcys
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.10s.  Total: 0.11s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/util-linux-uuid-2.38.1-gbfbnojgwpsi4erfz66b4n26rve6kcys
==> Installing diffutils-3.9-csiltjmqs66e27mlp3vf2zrz2hlgbb6g
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-diffutils-3.9-csiltjmqs66e27mlp3vf2zrz2hlgbb6g.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/diffutils-3.9/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-diffutils-3.9-csiltjmqs66e27mlp3vf2zrz2hlgbb6g.spack
==> Extracting diffutils-3.9-csiltjmqs66e27mlp3vf2zrz2hlgbb6g from binary cache
==> diffutils: Successfully installed diffutils-3.9-csiltjmqs66e27mlp3vf2zrz2hlgbb6g
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.07s.  Total: 0.08s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/diffutils-3.9-csiltjmqs66e27mlp3vf2zrz2hlgbb6g
==> Installing pigz-2.7-i2azy7nnh7tkeyszcwf7rogzudp2btko
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-pigz-2.7-i2azy7nnh7tkeyszcwf7rogzudp2btko.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/pigz-2.7/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-pigz-2.7-i2azy7nnh7tkeyszcwf7rogzudp2btko.spack
==> Extracting pigz-2.7-i2azy7nnh7tkeyszcwf7rogzudp2btko from binary cache
==> pigz: Successfully installed pigz-2.7-i2azy7nnh7tkeyszcwf7rogzudp2btko
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.07s.  Total: 0.08s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/pigz-2.7-i2azy7nnh7tkeyszcwf7rogzudp2btko
==> Installing libxml2-2.10.3-sbbiixpqh4eccgovdp5u7v5iyayx5bvf
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libxml2-2.10.3-sbbiixpqh4eccgovdp5u7v5iyayx5bvf.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libxml2-2.10.3/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libxml2-2.10.3-sbbiixpqh4eccgovdp5u7v5iyayx5bvf.spack
==> Extracting libxml2-2.10.3-sbbiixpqh4eccgovdp5u7v5iyayx5bvf from binary cache
==> libxml2: Successfully installed libxml2-2.10.3-sbbiixpqh4eccgovdp5u7v5iyayx5bvf
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.15s.  Total: 0.17s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libxml2-2.10.3-sbbiixpqh4eccgovdp5u7v5iyayx5bvf
==> Installing libbsd-0.11.7-kqphoxbekhyjgljxff2b23c433tgy23u
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libbsd-0.11.7-kqphoxbekhyjgljxff2b23c433tgy23u.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libbsd-0.11.7/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libbsd-0.11.7-kqphoxbekhyjgljxff2b23c433tgy23u.spack
==> Extracting libbsd-0.11.7-kqphoxbekhyjgljxff2b23c433tgy23u from binary cache
==> libbsd: Successfully installed libbsd-0.11.7-kqphoxbekhyjgljxff2b23c433tgy23u
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.09s.  Total: 0.10s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libbsd-0.11.7-kqphoxbekhyjgljxff2b23c433tgy23u
==> Installing readline-8.2-qypmr5gzibbe4zz37p2ztavg2q4yq35i
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-readline-8.2-qypmr5gzibbe4zz37p2ztavg2q4yq35i.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/readline-8.2/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-readline-8.2-qypmr5gzibbe4zz37p2ztavg2q4yq35i.spack
==> Extracting readline-8.2-qypmr5gzibbe4zz37p2ztavg2q4yq35i from binary cache
==> readline: Successfully installed readline-8.2-qypmr5gzibbe4zz37p2ztavg2q4yq35i
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.07s.  Total: 0.08s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/readline-8.2-qypmr5gzibbe4zz37p2ztavg2q4yq35i
==> Installing libedit-3.1-20210216-xkjcqrei6btcfuzuj3rmsjtzremnsu6k
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libedit-3.1-20210216-xkjcqrei6btcfuzuj3rmsjtzremnsu6k.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libedit-3.1-20210216/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libedit-3.1-20210216-xkjcqrei6btcfuzuj3rmsjtzremnsu6k.spack
==> Extracting libedit-3.1-20210216-xkjcqrei6btcfuzuj3rmsjtzremnsu6k from binary cache
==> libedit: Successfully installed libedit-3.1-20210216-xkjcqrei6btcfuzuj3rmsjtzremnsu6k
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.06s.  Total: 0.06s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libedit-3.1-20210216-xkjcqrei6btcfuzuj3rmsjtzremnsu6k
==> Installing m4-1.4.19-s6ky5ldzyho3k4roivj433rayee4dxde
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-m4-1.4.19-s6ky5ldzyho3k4roivj433rayee4dxde.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/m4-1.4.19/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-m4-1.4.19-s6ky5ldzyho3k4roivj433rayee4dxde.spack
==> Extracting m4-1.4.19-s6ky5ldzyho3k4roivj433rayee4dxde from binary cache
==> m4: Successfully installed m4-1.4.19-s6ky5ldzyho3k4roivj433rayee4dxde
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.06s.  Total: 0.06s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/m4-1.4.19-s6ky5ldzyho3k4roivj433rayee4dxde
==> Installing bzip2-1.0.8-ecute7qqmfc33w3c5yjewoupro3vskfu
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-bzip2-1.0.8-ecute7qqmfc33w3c5yjewoupro3vskfu.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/bzip2-1.0.8/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-bzip2-1.0.8-ecute7qqmfc33w3c5yjewoupro3vskfu.spack
==> Extracting bzip2-1.0.8-ecute7qqmfc33w3c5yjewoupro3vskfu from binary cache
==> bzip2: Successfully installed bzip2-1.0.8-ecute7qqmfc33w3c5yjewoupro3vskfu
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.04s.  Total: 0.05s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/bzip2-1.0.8-ecute7qqmfc33w3c5yjewoupro3vskfu
==> Installing expat-2.5.0-upevc4cqgwcx6xyxkwfnbhkbmlsqhudj
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-expat-2.5.0-upevc4cqgwcx6xyxkwfnbhkbmlsqhudj.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/expat-2.5.0/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-expat-2.5.0-upevc4cqgwcx6xyxkwfnbhkbmlsqhudj.spack
==> Extracting expat-2.5.0-upevc4cqgwcx6xyxkwfnbhkbmlsqhudj from binary cache
==> expat: Successfully installed expat-2.5.0-upevc4cqgwcx6xyxkwfnbhkbmlsqhudj
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.05s.  Total: 0.06s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/expat-2.5.0-upevc4cqgwcx6xyxkwfnbhkbmlsqhudj
==> Installing gdbm-1.23-febzyvzsp7pmgmtyla3sh27cgtmfrccg
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-gdbm-1.23-febzyvzsp7pmgmtyla3sh27cgtmfrccg.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/gdbm-1.23/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-gdbm-1.23-febzyvzsp7pmgmtyla3sh27cgtmfrccg.spack
==> Extracting gdbm-1.23-febzyvzsp7pmgmtyla3sh27cgtmfrccg from binary cache
==> gdbm: Successfully installed gdbm-1.23-febzyvzsp7pmgmtyla3sh27cgtmfrccg
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.06s.  Total: 0.07s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/gdbm-1.23-febzyvzsp7pmgmtyla3sh27cgtmfrccg
==> Installing sqlite-3.40.1-at2vwsul2nsxzju2i4po34mkxh4ixo36
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-sqlite-3.40.1-at2vwsul2nsxzju2i4po34mkxh4ixo36.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/sqlite-3.40.1/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-sqlite-3.40.1-at2vwsul2nsxzju2i4po34mkxh4ixo36.spack
==> Extracting sqlite-3.40.1-at2vwsul2nsxzju2i4po34mkxh4ixo36 from binary cache
==> sqlite: Successfully installed sqlite-3.40.1-at2vwsul2nsxzju2i4po34mkxh4ixo36
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.25s.  Total: 0.26s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/sqlite-3.40.1-at2vwsul2nsxzju2i4po34mkxh4ixo36
==> Installing libtool-2.4.7-owrdqykjtpxxderxoeqp3agekvt2qnzn
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libtool-2.4.7-owrdqykjtpxxderxoeqp3agekvt2qnzn.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libtool-2.4.7/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libtool-2.4.7-owrdqykjtpxxderxoeqp3agekvt2qnzn.spack
==> Extracting libtool-2.4.7-owrdqykjtpxxderxoeqp3agekvt2qnzn from binary cache
==> libtool: Successfully installed libtool-2.4.7-owrdqykjtpxxderxoeqp3agekvt2qnzn
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.07s.  Total: 0.08s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libtool-2.4.7-owrdqykjtpxxderxoeqp3agekvt2qnzn
==> Installing tar-1.34-2r7rutu6d6tjfqjxlgbuk4bfr3kq3gdj
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-tar-1.34-2r7rutu6d6tjfqjxlgbuk4bfr3kq3gdj.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/tar-1.34/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-tar-1.34-2r7rutu6d6tjfqjxlgbuk4bfr3kq3gdj.spack
==> Extracting tar-1.34-2r7rutu6d6tjfqjxlgbuk4bfr3kq3gdj from binary cache
==> tar: Successfully installed tar-1.34-2r7rutu6d6tjfqjxlgbuk4bfr3kq3gdj
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.11s.  Total: 0.11s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/tar-1.34-2r7rutu6d6tjfqjxlgbuk4bfr3kq3gdj
==> Installing perl-5.36.0-fq7gb4axhqml4catpnzt2eytieyxnvmt
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-perl-5.36.0-fq7gb4axhqml4catpnzt2eytieyxnvmt.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/perl-5.36.0/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-perl-5.36.0-fq7gb4axhqml4catpnzt2eytieyxnvmt.spack
==> Extracting perl-5.36.0-fq7gb4axhqml4catpnzt2eytieyxnvmt from binary cache
==> perl: Successfully installed perl-5.36.0-fq7gb4axhqml4catpnzt2eytieyxnvmt
  Search: 0.00s.  Fetch: 0.02s.  Install: 0.76s.  Total: 0.78s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/perl-5.36.0-fq7gb4axhqml4catpnzt2eytieyxnvmt
==> Installing libpciaccess-0.17-4voenezxutsobyscnjbce7emvhhyowmm
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libpciaccess-0.17-4voenezxutsobyscnjbce7emvhhyowmm.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libpciaccess-0.17/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libpciaccess-0.17-4voenezxutsobyscnjbce7emvhhyowmm.spack
==> Extracting libpciaccess-0.17-4voenezxutsobyscnjbce7emvhhyowmm from binary cache
==> libpciaccess: Successfully installed libpciaccess-0.17-4voenezxutsobyscnjbce7emvhhyowmm
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.04s.  Total: 0.04s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libpciaccess-0.17-4voenezxutsobyscnjbce7emvhhyowmm
==> Installing gettext-0.21.1-7qnn3piitfdw35ixn6otro3jpdunluun
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-gettext-0.21.1-7qnn3piitfdw35ixn6otro3jpdunluun.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/gettext-0.21.1/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-gettext-0.21.1-7qnn3piitfdw35ixn6otro3jpdunluun.spack
==> Extracting gettext-0.21.1-7qnn3piitfdw35ixn6otro3jpdunluun from binary cache
==> gettext: Successfully installed gettext-0.21.1-7qnn3piitfdw35ixn6otro3jpdunluun
  Search: 0.00s.  Fetch: 0.02s.  Install: 0.54s.  Total: 0.55s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/gettext-0.21.1-7qnn3piitfdw35ixn6otro3jpdunluun
==> Installing openssl-1.1.1t-7dyvgorjnxe4okhgr4zd4kso7iottavu
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-openssl-1.1.1t-7dyvgorjnxe4okhgr4zd4kso7iottavu.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/openssl-1.1.1t/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-openssl-1.1.1t-7dyvgorjnxe4okhgr4zd4kso7iottavu.spack
==> Extracting openssl-1.1.1t-7dyvgorjnxe4okhgr4zd4kso7iottavu from binary cache
==> openssl: Successfully installed openssl-1.1.1t-7dyvgorjnxe4okhgr4zd4kso7iottavu
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.15s.  Total: 0.15s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/openssl-1.1.1t-7dyvgorjnxe4okhgr4zd4kso7iottavu
==> Installing autoconf-2.69-mr5osqpjc7dw5t3wyi24cnxidny4veul
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-autoconf-2.69-mr5osqpjc7dw5t3wyi24cnxidny4veul.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/autoconf-2.69/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-autoconf-2.69-mr5osqpjc7dw5t3wyi24cnxidny4veul.spack
==> Extracting autoconf-2.69-mr5osqpjc7dw5t3wyi24cnxidny4veul from binary cache
==> autoconf: Successfully installed autoconf-2.69-mr5osqpjc7dw5t3wyi24cnxidny4veul
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.08s.  Total: 0.09s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/autoconf-2.69-mr5osqpjc7dw5t3wyi24cnxidny4veul
==> Installing libxcrypt-4.4.33-uq4wpnla5vaneyz3ogixfnepyrxy4o4q
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libxcrypt-4.4.33-uq4wpnla5vaneyz3ogixfnepyrxy4o4q.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libxcrypt-4.4.33/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libxcrypt-4.4.33-uq4wpnla5vaneyz3ogixfnepyrxy4o4q.spack
==> Extracting libxcrypt-4.4.33-uq4wpnla5vaneyz3ogixfnepyrxy4o4q from binary cache
==> libxcrypt: Successfully installed libxcrypt-4.4.33-uq4wpnla5vaneyz3ogixfnepyrxy4o4q
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.05s.  Total: 0.06s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libxcrypt-4.4.33-uq4wpnla5vaneyz3ogixfnepyrxy4o4q
==> Installing openblas-0.3.23-5hvwk3g632erbdcvdehuz4gragzebp57
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-openblas-0.3.23-5hvwk3g632erbdcvdehuz4gragzebp57.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/openblas-0.3.23/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-openblas-0.3.23-5hvwk3g632erbdcvdehuz4gragzebp57.spack
==> Extracting openblas-0.3.23-5hvwk3g632erbdcvdehuz4gragzebp57 from binary cache
==> openblas: Successfully installed openblas-0.3.23-5hvwk3g632erbdcvdehuz4gragzebp57
  Search: 0.00s.  Fetch: 0.02s.  Install: 0.66s.  Total: 0.69s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/openblas-0.3.23-5hvwk3g632erbdcvdehuz4gragzebp57
==> Installing bison-3.8.2-fjc7p57e6y67pzskwdvbosxfhjlfrkzw
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-bison-3.8.2-fjc7p57e6y67pzskwdvbosxfhjlfrkzw.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/bison-3.8.2/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-bison-3.8.2-fjc7p57e6y67pzskwdvbosxfhjlfrkzw.spack
==> Extracting bison-3.8.2-fjc7p57e6y67pzskwdvbosxfhjlfrkzw from binary cache
==> bison: Successfully installed bison-3.8.2-fjc7p57e6y67pzskwdvbosxfhjlfrkzw
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.11s.  Total: 0.12s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/bison-3.8.2-fjc7p57e6y67pzskwdvbosxfhjlfrkzw
==> Installing hwloc-2.9.1-sd6g5bqyh6u2juxfpnjngc2k25lr7t4h
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-hwloc-2.9.1-sd6g5bqyh6u2juxfpnjngc2k25lr7t4h.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/hwloc-2.9.1/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-hwloc-2.9.1-sd6g5bqyh6u2juxfpnjngc2k25lr7t4h.spack
==> Extracting hwloc-2.9.1-sd6g5bqyh6u2juxfpnjngc2k25lr7t4h from binary cache
==> hwloc: Successfully installed hwloc-2.9.1-sd6g5bqyh6u2juxfpnjngc2k25lr7t4h
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.21s.  Total: 0.22s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/hwloc-2.9.1-sd6g5bqyh6u2juxfpnjngc2k25lr7t4h
==> Installing libevent-2.1.12-2y2whk4kosfma3lhjl4ywkjradjh6ddp
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libevent-2.1.12-2y2whk4kosfma3lhjl4ywkjradjh6ddp.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libevent-2.1.12/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-libevent-2.1.12-2y2whk4kosfma3lhjl4ywkjradjh6ddp.spack
==> Extracting libevent-2.1.12-2y2whk4kosfma3lhjl4ywkjradjh6ddp from binary cache
==> libevent: Successfully installed libevent-2.1.12-2y2whk4kosfma3lhjl4ywkjradjh6ddp
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.11s.  Total: 0.11s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/libevent-2.1.12-2y2whk4kosfma3lhjl4ywkjradjh6ddp
==> Installing cmake-3.26.3-cb3vkykjwr6d5ibeu3ecrlv3xqoa2qyu
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-cmake-3.26.3-cb3vkykjwr6d5ibeu3ecrlv3xqoa2qyu.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/cmake-3.26.3/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-cmake-3.26.3-cb3vkykjwr6d5ibeu3ecrlv3xqoa2qyu.spack
==> Extracting cmake-3.26.3-cb3vkykjwr6d5ibeu3ecrlv3xqoa2qyu from binary cache
==> cmake: Successfully installed cmake-3.26.3-cb3vkykjwr6d5ibeu3ecrlv3xqoa2qyu
  Search: 0.00s.  Fetch: 0.03s.  Install: 1.01s.  Total: 1.03s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/cmake-3.26.3-cb3vkykjwr6d5ibeu3ecrlv3xqoa2qyu
==> Installing automake-1.16.5-yyzuikk2xfv6arucgseuvteasr3qdpye
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-automake-1.16.5-yyzuikk2xfv6arucgseuvteasr3qdpye.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/automake-1.16.5/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-automake-1.16.5-yyzuikk2xfv6arucgseuvteasr3qdpye.spack
==> Extracting automake-1.16.5-yyzuikk2xfv6arucgseuvteasr3qdpye from binary cache
==> automake: Successfully installed automake-1.16.5-yyzuikk2xfv6arucgseuvteasr3qdpye
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.09s.  Total: 0.10s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/automake-1.16.5-yyzuikk2xfv6arucgseuvteasr3qdpye
==> Installing python-3.10.10-nvcwpz4ldvm47beent4c2j4segm542k7
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-python-3.10.10-nvcwpz4ldvm47beent4c2j4segm542k7.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/python-3.10.10/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-python-3.10.10-nvcwpz4ldvm47beent4c2j4segm542k7.spack
==> Extracting python-3.10.10-nvcwpz4ldvm47beent4c2j4segm542k7 from binary cache
==> python: Successfully installed python-3.10.10-nvcwpz4ldvm47beent4c2j4segm542k7
  Search: 0.00s.  Fetch: 0.04s.  Install: 2.30s.  Total: 2.34s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/python-3.10.10-nvcwpz4ldvm47beent4c2j4segm542k7
==> Installing krb5-1.20.1-n5v3tuggn3q5oay3iyg2c7piaxyhojwr
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-krb5-1.20.1-n5v3tuggn3q5oay3iyg2c7piaxyhojwr.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/krb5-1.20.1/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-krb5-1.20.1-n5v3tuggn3q5oay3iyg2c7piaxyhojwr.spack
==> Extracting krb5-1.20.1-n5v3tuggn3q5oay3iyg2c7piaxyhojwr from binary cache
==> krb5: Successfully installed krb5-1.20.1-n5v3tuggn3q5oay3iyg2c7piaxyhojwr
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.17s.  Total: 0.18s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/krb5-1.20.1-n5v3tuggn3q5oay3iyg2c7piaxyhojwr
==> Installing pmix-4.2.3-ouqw26w64aneaqhufqbabtd6sp5wbyc7
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-pmix-4.2.3-ouqw26w64aneaqhufqbabtd6sp5wbyc7.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/pmix-4.2.3/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-pmix-4.2.3-ouqw26w64aneaqhufqbabtd6sp5wbyc7.spack
==> Extracting pmix-4.2.3-ouqw26w64aneaqhufqbabtd6sp5wbyc7 from binary cache
==> pmix: Successfully installed pmix-4.2.3-ouqw26w64aneaqhufqbabtd6sp5wbyc7
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.26s.  Total: 0.27s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/pmix-4.2.3-ouqw26w64aneaqhufqbabtd6sp5wbyc7
==> Installing netlib-lapack-3.11.0-fjlwowfbbnpayfbchrp6min54whha3o6
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-netlib-lapack-3.11.0-fjlwowfbbnpayfbchrp6min54whha3o6.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/netlib-lapack-3.11.0/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-netlib-lapack-3.11.0-fjlwowfbbnpayfbchrp6min54whha3o6.spack
==> Extracting netlib-lapack-3.11.0-fjlwowfbbnpayfbchrp6min54whha3o6 from binary cache
==> netlib-lapack: Successfully installed netlib-lapack-3.11.0-fjlwowfbbnpayfbchrp6min54whha3o6
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.16s.  Total: 0.17s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/netlib-lapack-3.11.0-fjlwowfbbnpayfbchrp6min54whha3o6
==> Installing numactl-2.0.14-45xq3wrd65z4jmvwcxwy3aimc2dglvqv
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-numactl-2.0.14-45xq3wrd65z4jmvwcxwy3aimc2dglvqv.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/numactl-2.0.14/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-numactl-2.0.14-45xq3wrd65z4jmvwcxwy3aimc2dglvqv.spack
==> Extracting numactl-2.0.14-45xq3wrd65z4jmvwcxwy3aimc2dglvqv from binary cache
==> numactl: Successfully installed numactl-2.0.14-45xq3wrd65z4jmvwcxwy3aimc2dglvqv
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.10s.  Total: 0.11s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/numactl-2.0.14-45xq3wrd65z4jmvwcxwy3aimc2dglvqv
==> Installing yaksa-0.2-5mplopl5otvr4iufgd5y5xickcgfa6vk
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-yaksa-0.2-5mplopl5otvr4iufgd5y5xickcgfa6vk.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/yaksa-0.2/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-yaksa-0.2-5mplopl5otvr4iufgd5y5xickcgfa6vk.spack
==> Extracting yaksa-0.2-5mplopl5otvr4iufgd5y5xickcgfa6vk from binary cache
==> yaksa: Successfully installed yaksa-0.2-5mplopl5otvr4iufgd5y5xickcgfa6vk
  Search: 0.00s.  Fetch: 0.02s.  Install: 0.63s.  Total: 0.65s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/yaksa-0.2-5mplopl5otvr4iufgd5y5xickcgfa6vk
==> Installing openssh-9.3p1-vu4ehmb5svkjootmucoelommkgollv4t
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-openssh-9.3p1-vu4ehmb5svkjootmucoelommkgollv4t.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/openssh-9.3p1/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-openssh-9.3p1-vu4ehmb5svkjootmucoelommkgollv4t.spack
==> Extracting openssh-9.3p1-vu4ehmb5svkjootmucoelommkgollv4t from binary cache
==> openssh: Successfully installed openssh-9.3p1-vu4ehmb5svkjootmucoelommkgollv4t
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.15s.  Total: 0.16s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/openssh-9.3p1-vu4ehmb5svkjootmucoelommkgollv4t
==> Installing mpich-4.1.1-fb4tt653pmmepubwhorioxxa6mk6hzre
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-mpich-4.1.1-fb4tt653pmmepubwhorioxxa6mk6hzre.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/mpich-4.1.1/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-mpich-4.1.1-fb4tt653pmmepubwhorioxxa6mk6hzre.spack
==> Extracting mpich-4.1.1-fb4tt653pmmepubwhorioxxa6mk6hzre from binary cache
==> mpich: Successfully installed mpich-4.1.1-fb4tt653pmmepubwhorioxxa6mk6hzre
  Search: 0.00s.  Fetch: 0.02s.  Install: 0.80s.  Total: 0.82s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/mpich-4.1.1-fb4tt653pmmepubwhorioxxa6mk6hzre
==> Installing openmpi-4.1.5-ekmi64fdx3jcorwo3irbmlxza6f4atkx
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-openmpi-4.1.5-ekmi64fdx3jcorwo3irbmlxza6f4atkx.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/openmpi-4.1.5/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-openmpi-4.1.5-ekmi64fdx3jcorwo3irbmlxza6f4atkx.spack
==> Extracting openmpi-4.1.5-ekmi64fdx3jcorwo3irbmlxza6f4atkx from binary cache
==> openmpi: Successfully installed openmpi-4.1.5-ekmi64fdx3jcorwo3irbmlxza6f4atkx
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.37s.  Total: 0.38s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/openmpi-4.1.5-ekmi64fdx3jcorwo3irbmlxza6f4atkx
==> Installing netlib-scalapack-2.2.0-yq5hsffo4rqps2xtd4nvbiqfccd7xttj
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-netlib-scalapack-2.2.0-yq5hsffo4rqps2xtd4nvbiqfccd7xttj.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/netlib-scalapack-2.2.0/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-netlib-scalapack-2.2.0-yq5hsffo4rqps2xtd4nvbiqfccd7xttj.spack
==> Extracting netlib-scalapack-2.2.0-yq5hsffo4rqps2xtd4nvbiqfccd7xttj from binary cache
==> netlib-scalapack: Successfully installed netlib-scalapack-2.2.0-yq5hsffo4rqps2xtd4nvbiqfccd7xttj
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.15s.  Total: 0.16s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/netlib-scalapack-2.2.0-yq5hsffo4rqps2xtd4nvbiqfccd7xttj
==> Installing netlib-scalapack-2.2.0-75u5574uh7wbwzwsfbgvygkwd4izmlqe
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-netlib-scalapack-2.2.0-75u5574uh7wbwzwsfbgvygkwd4izmlqe.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/netlib-scalapack-2.2.0/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-netlib-scalapack-2.2.0-75u5574uh7wbwzwsfbgvygkwd4izmlqe.spack
==> Extracting netlib-scalapack-2.2.0-75u5574uh7wbwzwsfbgvygkwd4izmlqe from binary cache
==> netlib-scalapack: Successfully installed netlib-scalapack-2.2.0-75u5574uh7wbwzwsfbgvygkwd4izmlqe
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.17s.  Total: 0.18s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/netlib-scalapack-2.2.0-75u5574uh7wbwzwsfbgvygkwd4izmlqe
==> Installing netlib-scalapack-2.2.0-qmna5reingbsoj5ywczkjsaehfgrmqoz
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-netlib-scalapack-2.2.0-qmna5reingbsoj5ywczkjsaehfgrmqoz.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/netlib-scalapack-2.2.0/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-netlib-scalapack-2.2.0-qmna5reingbsoj5ywczkjsaehfgrmqoz.spack
==> Extracting netlib-scalapack-2.2.0-qmna5reingbsoj5ywczkjsaehfgrmqoz from binary cache
==> netlib-scalapack: Successfully installed netlib-scalapack-2.2.0-qmna5reingbsoj5ywczkjsaehfgrmqoz
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.17s.  Total: 0.18s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/netlib-scalapack-2.2.0-qmna5reingbsoj5ywczkjsaehfgrmqoz
==> Installing netlib-scalapack-2.2.0-ea7dxfbek4ys4arbcxaohd346jpqarlr
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-netlib-scalapack-2.2.0-ea7dxfbek4ys4arbcxaohd346jpqarlr.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/netlib-scalapack-2.2.0/linux-ubuntu22.04-x86_64_v3-gcc-12.1.0-netlib-scalapack-2.2.0-ea7dxfbek4ys4arbcxaohd346jpqarlr.spack
==> Extracting netlib-scalapack-2.2.0-ea7dxfbek4ys4arbcxaohd346jpqarlr from binary cache
==> netlib-scalapack: Successfully installed netlib-scalapack-2.2.0-ea7dxfbek4ys4arbcxaohd346jpqarlr
  Search: 0.00s.  Fetch: 0.01s.  Install: 0.20s.  Total: 0.21s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-12.1.0/netlib-scalapack-2.2.0-ea7dxfbek4ys4arbcxaohd346jpqarlr
$ spack find
==> In environment /home/spack/stacks
==> Root specs
-- no arch / gcc@11.3.0 -----------------------------------------
gcc@12.1.0%gcc@11.3.0

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

==> Installed packages
-- linux-ubuntu22.04-x86_64_v3 / gcc@=11.3.0 --------------------
autoconf@2.69		     automake@1.16.5	  bzip2@1.0.8	 gawk@5.2.1  gdbm@1.23	     gmake@4.4.1  libiconv@1.17    libtool@2.4.7   m4@1.4.19  mpfr@4.2.0   perl@5.36.0	pkgconf@1.9.5  tar@1.34       xz@5.4.1	   zstd@1.5.5
autoconf-archive@2023.02.20  berkeley-db@18.1.40  diffutils@3.9  gcc@12.1.0  gettext@0.21.1  gmp@6.2.1	  libsigsegv@2.14  libxml2@2.10.3  mpc@1.3.1  ncurses@6.4  pigz@2.7	readline@8.2   texinfo@7.0.3  zlib@1.2.13

-- linux-ubuntu22.04-x86_64_v3 / gcc@=12.1.0 --------------------
autoconf@2.69	     ca-certificates-mozilla@2023-01-10  gdbm@1.23	 libbsd@0.11.7	       libiconv@1.17	  libxcrypt@4.4.33  netlib-lapack@3.11.0    numactl@2.0.14   perl@5.36.0     readline@8.2	     xz@5.4.1
automake@1.16.5      cmake@3.26.3			 gettext@0.21.1  libedit@3.1-20210216  libmd@1.0.4	  libxml2@2.10.3    netlib-scalapack@2.2.0  openblas@0.3.23  pigz@2.7	     sqlite@3.40.1	     yaksa@0.2
berkeley-db@18.1.40  diffutils@3.9			 gmake@4.4.1	 libevent@2.1.12       libpciaccess@0.17  m4@1.4.19	    netlib-scalapack@2.2.0  openmpi@4.1.5    pkgconf@1.9.5   tar@1.34		     zlib@1.2.13
bison@3.8.2	     expat@2.5.0			 hwloc@2.9.1	 libfabric@1.18.0      libsigsegv@2.14	  mpich@4.1.1	    netlib-scalapack@2.2.0  openssh@9.3p1    pmix@4.2.3      util-linux-uuid@2.38.1  zstd@1.5.5
bzip2@1.0.8	     findutils@4.9.0			 krb5@1.20.1	 libffi@3.4.4	       libtool@2.4.7	  ncurses@6.4	    netlib-scalapack@2.2.0  openssl@1.1.1t   python@3.10.10  util-macros@1.19.3
==> 83 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@12.1.0%gcc@11.3.0
  - matrix:
    - [netlib-scalapack]
    - [^openmpi, ^mpich]
    - [^openblas, ^netlib-lapack]
    - ["%gcc@12.1.0"]
  - matrix:
    - [py-scipy]
    - [^openblas, ^netlib-lapack]
    - ["%gcc@12.1.0"]
    exclude:
    - "py-scipy ^netlib-lapack"
  view: false
  concretizer:
    unify: false
  compilers:
  - compiler:
      spec: gcc@=12.1.0
      paths:
        cc: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gcc
        cxx: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/g++
        f77: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gfortran
        fc: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gfortran
      flags: {}
      operating_system: ubuntu22.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@11.3.0 -----------------------------------------
------- gcc@12.1.0%gcc@11.3.0

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

==> Installed packages
-- linux-ubuntu22.04-x86_64_v3 / gcc@=12.1.0 --------------------
ol3w546 py-scipy@1.10.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@12.1.0"]
    - mpi_packages: [netlib-scalapack]
    - serial_packages: [py-scipy]

  specs:
  - gcc@12.1.0%gcc@11.3.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@=12.1.0
      paths:
        cc: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gcc
        cxx: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/g++
        f77: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gfortran
        fc: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gfortran
      flags: {}
      operating_system: ubuntu22.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@12.1.0"]
    - mpi_packages: [netlib-scalapack]
    - serial_packages: [py-scipy]

  specs:
  - gcc@=12.1.0%gcc@11.3.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@=12.1.0
      paths:
        cc: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gcc
        cxx: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/g++
        f77: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gfortran
        fc: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gfortran
      flags: {}
      operating_system: ubuntu22.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 21.68 seconds.
==> Concretized gcc@=12.1.0%gcc@11.3.0
[+]  s5e5zwr  gcc@12.1.0%gcc@11.3.0~binutils+bootstrap~graphite~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages=c,c++,fortran patches=cc6112d arch=linux-ubuntu22.04-x86_64_v3
[+]  zdl3dic	  ^diffutils@3.9%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7wr75ce	      ^libiconv@1.17%gcc@11.3.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  6lk2khk	  ^gawk@5.2.1%gcc@11.3.0~nls build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  okig24f	      ^libsigsegv@2.14%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  tddm2ff	      ^readline@8.2%gcc@11.3.0 build_system=autotools patches=bbf97f1 arch=linux-ubuntu22.04-x86_64_v3
[+]  guaj3kb	  ^gmake@4.4.1%gcc@11.3.0~guile build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7kxi3rr	  ^gmp@6.2.1%gcc@11.3.0+cxx build_system=autotools libs=shared,static patches=69ad2e2 arch=linux-ubuntu22.04-x86_64_v3
[+]  t4nuen3	      ^autoconf@2.69%gcc@11.3.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu22.04-x86_64_v3
[+]  oa3w4kf	      ^automake@1.16.5%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  llbjfk2	      ^m4@1.4.19%gcc@11.3.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu22.04-x86_64_v3
[+]  qkvj7am	  ^libtool@2.4.7%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  3qvnliw	  ^mpc@1.3.1%gcc@11.3.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  aiys7vc	  ^mpfr@4.2.0%gcc@11.3.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  5wwl7c6	      ^autoconf-archive@2023.02.20%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  j5tavds	  ^perl@5.36.0%gcc@11.3.0+cpanm+open+shared+threads build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  7sohpaz	      ^berkeley-db@18.1.40%gcc@11.3.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu22.04-x86_64_v3
[+]  dca2qyg	      ^bzip2@1.0.8%gcc@11.3.0~debug~pic+shared build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  ba4juc3	      ^gdbm@1.23%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  tcpqkls	  ^texinfo@7.0.3%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  p4obvgx	      ^gettext@0.21.1%gcc@11.3.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  pcbenki		  ^libxml2@2.10.3%gcc@11.3.0~python build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  e77cf6a		  ^tar@1.34%gcc@11.3.0 build_system=autotools zip=pigz arch=linux-ubuntu22.04-x86_64_v3
[+]  aln73eo		      ^pigz@2.7%gcc@11.3.0 build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
[+]  4kpkw5a		  ^xz@5.4.1%gcc@11.3.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  4dokmxj	      ^ncurses@6.4%gcc@11.3.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  mh73nkp		  ^pkgconf@1.9.5%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  mntflxr	  ^zlib@1.2.13%gcc@11.3.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
[+]  qoo4rlo	  ^zstd@1.5.5%gcc@11.3.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu22.04-x86_64_v3

==> Concretized netlib-scalapack%gcc@12.1.0 ^mpich ^openblas
[+]  75u5574  netlib-scalapack@2.2.0%gcc@12.1.0~ipo~pic+shared build_system=cmake build_type=Release generator=make patches=072b006,1c9ce5f,244a9aa arch=linux-ubuntu22.04-x86_64_v3
[+]  cb3vkyk	  ^cmake@3.26.3%gcc@12.1.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu22.04-x86_64_v3
[+]  yugzpgp	      ^ncurses@6.4%gcc@12.1.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7dyvgor	      ^openssl@1.1.1t%gcc@12.1.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu22.04-x86_64_v3
[+]  7u553me		  ^ca-certificates-mozilla@2023-01-10%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  oboyaa5		  ^zlib@1.2.13%gcc@12.1.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
[+]  74omm4b	  ^gmake@4.4.1%gcc@12.1.0~guile build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  fb4tt65	  ^mpich@4.1.1%gcc@12.1.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 pmi=pmi arch=linux-ubuntu22.04-x86_64_v3
[+]  hgvmfon	      ^findutils@4.9.0%gcc@12.1.0 build_system=autotools patches=440b954 arch=linux-ubuntu22.04-x86_64_v3
[+]  sd6g5bq	      ^hwloc@2.9.1%gcc@12.1.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  er4rpyd	      ^libfabric@1.18.0%gcc@12.1.0~debug~kdreg build_system=autotools fabrics=sockets,tcp,udp arch=linux-ubuntu22.04-x86_64_v3
[+]  4voenez	      ^libpciaccess@0.17%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  owrdqyk		  ^libtool@2.4.7%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  imbmumc		  ^util-macros@1.19.3%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  sbbiixp	      ^libxml2@2.10.3%gcc@12.1.0~python build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  ojujfjj		  ^libiconv@1.17%gcc@12.1.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  dat54qr		  ^xz@5.4.1%gcc@12.1.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  gbfssja	      ^pkgconf@1.9.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  5mplopl	      ^yaksa@0.2%gcc@12.1.0~cuda~rocm build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  mr5osqp		  ^autoconf@2.69%gcc@12.1.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu22.04-x86_64_v3
[+]  yyzuikk		  ^automake@1.16.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  s6ky5ld		  ^m4@1.4.19%gcc@12.1.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu22.04-x86_64_v3
[+]  csiltjm		      ^diffutils@3.9%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  oyzxg5g		      ^libsigsegv@2.14%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  nvcwpz4		  ^python@3.10.10%gcc@12.1.0+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-ubuntu22.04-x86_64_v3
[+]  upevc4c		      ^expat@2.5.0%gcc@12.1.0+libbsd build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  kqphoxb			  ^libbsd@0.11.7%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  a4ofctm			      ^libmd@1.0.4%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7qnn3pi		      ^gettext@0.21.1%gcc@12.1.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  2r7rutu			  ^tar@1.34%gcc@12.1.0 build_system=autotools zip=pigz arch=linux-ubuntu22.04-x86_64_v3
[+]  i2azy7n			      ^pigz@2.7%gcc@12.1.0 build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
[+]  a5p5yob			      ^zstd@1.5.5%gcc@12.1.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  u2ztzc2		      ^libffi@3.4.4%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  uq4wpnl		      ^libxcrypt@4.4.33%gcc@12.1.0~obsolete_api build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  qypmr5g		      ^readline@8.2%gcc@12.1.0 build_system=autotools patches=bbf97f1 arch=linux-ubuntu22.04-x86_64_v3
[+]  at2vwsu		      ^sqlite@3.40.1%gcc@12.1.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  gbfbnoj		      ^util-linux-uuid@2.38.1%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  5hvwk3g	  ^openblas@0.3.23%gcc@12.1.0~bignuma~consistent_fpcsr+fortran~ilp64+locking+pic+shared build_system=makefile symbol_suffix=none threads=none arch=linux-ubuntu22.04-x86_64_v3
[+]  fq7gb4a	      ^perl@5.36.0%gcc@12.1.0+cpanm+open+shared+threads build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  vtjcxzc		  ^berkeley-db@18.1.40%gcc@12.1.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu22.04-x86_64_v3
[+]  ecute7q		  ^bzip2@1.0.8%gcc@12.1.0~debug~pic+shared build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  febzyvz		  ^gdbm@1.23%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3

==> Concretized netlib-scalapack%gcc@12.1.0 ^mpich ^netlib-lapack
[+]  yq5hsff  netlib-scalapack@2.2.0%gcc@12.1.0~ipo~pic+shared build_system=cmake build_type=Release generator=make patches=072b006,1c9ce5f,244a9aa arch=linux-ubuntu22.04-x86_64_v3
[+]  cb3vkyk	  ^cmake@3.26.3%gcc@12.1.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu22.04-x86_64_v3
[+]  yugzpgp	      ^ncurses@6.4%gcc@12.1.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7dyvgor	      ^openssl@1.1.1t%gcc@12.1.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu22.04-x86_64_v3
[+]  7u553me		  ^ca-certificates-mozilla@2023-01-10%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  fq7gb4a		  ^perl@5.36.0%gcc@12.1.0+cpanm+open+shared+threads build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  vtjcxzc		      ^berkeley-db@18.1.40%gcc@12.1.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu22.04-x86_64_v3
[+]  ecute7q		      ^bzip2@1.0.8%gcc@12.1.0~debug~pic+shared build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  febzyvz		      ^gdbm@1.23%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  oboyaa5		  ^zlib@1.2.13%gcc@12.1.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
[+]  74omm4b	  ^gmake@4.4.1%gcc@12.1.0~guile build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  fb4tt65	  ^mpich@4.1.1%gcc@12.1.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 pmi=pmi arch=linux-ubuntu22.04-x86_64_v3
[+]  hgvmfon	      ^findutils@4.9.0%gcc@12.1.0 build_system=autotools patches=440b954 arch=linux-ubuntu22.04-x86_64_v3
[+]  sd6g5bq	      ^hwloc@2.9.1%gcc@12.1.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  er4rpyd	      ^libfabric@1.18.0%gcc@12.1.0~debug~kdreg build_system=autotools fabrics=sockets,tcp,udp arch=linux-ubuntu22.04-x86_64_v3
[+]  4voenez	      ^libpciaccess@0.17%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  owrdqyk		  ^libtool@2.4.7%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  imbmumc		  ^util-macros@1.19.3%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  sbbiixp	      ^libxml2@2.10.3%gcc@12.1.0~python build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  ojujfjj		  ^libiconv@1.17%gcc@12.1.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  dat54qr		  ^xz@5.4.1%gcc@12.1.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  gbfssja	      ^pkgconf@1.9.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  5mplopl	      ^yaksa@0.2%gcc@12.1.0~cuda~rocm build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  mr5osqp		  ^autoconf@2.69%gcc@12.1.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu22.04-x86_64_v3
[+]  yyzuikk		  ^automake@1.16.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  s6ky5ld		  ^m4@1.4.19%gcc@12.1.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu22.04-x86_64_v3
[+]  csiltjm		      ^diffutils@3.9%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  oyzxg5g		      ^libsigsegv@2.14%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  nvcwpz4		  ^python@3.10.10%gcc@12.1.0+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-ubuntu22.04-x86_64_v3
[+]  upevc4c		      ^expat@2.5.0%gcc@12.1.0+libbsd build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  kqphoxb			  ^libbsd@0.11.7%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  a4ofctm			      ^libmd@1.0.4%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7qnn3pi		      ^gettext@0.21.1%gcc@12.1.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  2r7rutu			  ^tar@1.34%gcc@12.1.0 build_system=autotools zip=pigz arch=linux-ubuntu22.04-x86_64_v3
[+]  i2azy7n			      ^pigz@2.7%gcc@12.1.0 build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
[+]  a5p5yob			      ^zstd@1.5.5%gcc@12.1.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  u2ztzc2		      ^libffi@3.4.4%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  uq4wpnl		      ^libxcrypt@4.4.33%gcc@12.1.0~obsolete_api build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  qypmr5g		      ^readline@8.2%gcc@12.1.0 build_system=autotools patches=bbf97f1 arch=linux-ubuntu22.04-x86_64_v3
[+]  at2vwsu		      ^sqlite@3.40.1%gcc@12.1.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  gbfbnoj		      ^util-linux-uuid@2.38.1%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  fjlwowf	  ^netlib-lapack@3.11.0%gcc@12.1.0~external-blas~ipo+lapacke+shared~xblas build_system=cmake build_type=Release generator=make arch=linux-ubuntu22.04-x86_64_v3

==> Concretized py-scipy%gcc@12.1.0 ^openblas
[+]  ol3w546  py-scipy@1.10.1%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  5hvwk3g	  ^openblas@0.3.23%gcc@12.1.0~bignuma~consistent_fpcsr+fortran~ilp64+locking+pic+shared build_system=makefile symbol_suffix=none threads=none arch=linux-ubuntu22.04-x86_64_v3
[+]  fq7gb4a	      ^perl@5.36.0%gcc@12.1.0+cpanm+open+shared+threads build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  vtjcxzc		  ^berkeley-db@18.1.40%gcc@12.1.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu22.04-x86_64_v3
[+]  gbfssja	  ^pkgconf@1.9.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  uhboysx	  ^py-build@0.10.0%gcc@12.1.0~virtualenv build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  ihmiu27	      ^py-flit-core@3.7.1%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  yoamuqz	      ^py-packaging@23.0%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  udgbusq	      ^py-pyproject-hooks@1.0.0%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  ivq3gn7	      ^py-tomli@2.0.1%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  ny2lq6w	  ^py-cython@0.29.33%gcc@12.1.0 build_system=python_pip patches=71de066 arch=linux-ubuntu22.04-x86_64_v3
[+]  wujb6fw	      ^py-setuptools@63.4.3%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  rosemhn	  ^py-meson-python@0.12.0%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  s5rzrue	      ^meson@1.1.0%gcc@12.1.0 build_system=python_pip patches=0f0b1bd arch=linux-ubuntu22.04-x86_64_v3
[+]  lrhcey2	      ^py-pyproject-metadata@0.7.1%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  54s3ofo	  ^py-numpy@1.24.3%gcc@12.1.0+blas+lapack build_system=python_pip patches=873745d arch=linux-ubuntu22.04-x86_64_v3
[+]  khveatv	  ^py-pip@23.0%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  2hmi7rq	  ^py-pybind11@2.10.1%gcc@12.1.0~ipo build_system=cmake build_type=Release generator=ninja arch=linux-ubuntu22.04-x86_64_v3
[+]  cb3vkyk	      ^cmake@3.26.3%gcc@12.1.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu22.04-x86_64_v3
[+]  2zgsglc	      ^ninja@1.11.1%gcc@12.1.0+re2c build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  622aruu		  ^re2c@2.2%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  s6iwj3a	  ^py-pythran@0.12.0%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  s6swsfi	      ^py-beniget@0.4.1%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  xg26gxl	      ^py-gast@0.5.3%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  ovxjh5h	      ^py-ply@3.11%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  kbelzwq	  ^py-wheel@0.37.1%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  nvcwpz4	  ^python@3.10.10%gcc@12.1.0+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-ubuntu22.04-x86_64_v3
[+]  ecute7q	      ^bzip2@1.0.8%gcc@12.1.0~debug~pic+shared build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  csiltjm		  ^diffutils@3.9%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  upevc4c	      ^expat@2.5.0%gcc@12.1.0+libbsd build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  kqphoxb		  ^libbsd@0.11.7%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  a4ofctm		      ^libmd@1.0.4%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  febzyvz	      ^gdbm@1.23%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7qnn3pi	      ^gettext@0.21.1%gcc@12.1.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  ojujfjj		  ^libiconv@1.17%gcc@12.1.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  sbbiixp		  ^libxml2@2.10.3%gcc@12.1.0~python build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  2r7rutu		  ^tar@1.34%gcc@12.1.0 build_system=autotools zip=pigz arch=linux-ubuntu22.04-x86_64_v3
[+]  i2azy7n		      ^pigz@2.7%gcc@12.1.0 build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
[+]  a5p5yob		      ^zstd@1.5.5%gcc@12.1.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  u2ztzc2	      ^libffi@3.4.4%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  uq4wpnl	      ^libxcrypt@4.4.33%gcc@12.1.0~obsolete_api build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  yugzpgp	      ^ncurses@6.4%gcc@12.1.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7dyvgor	      ^openssl@1.1.1t%gcc@12.1.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu22.04-x86_64_v3
[+]  7u553me		  ^ca-certificates-mozilla@2023-01-10%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  qypmr5g	      ^readline@8.2%gcc@12.1.0 build_system=autotools patches=bbf97f1 arch=linux-ubuntu22.04-x86_64_v3
[+]  at2vwsu	      ^sqlite@3.40.1%gcc@12.1.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  gbfbnoj	      ^util-linux-uuid@2.38.1%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  dat54qr	      ^xz@5.4.1%gcc@12.1.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  oboyaa5	      ^zlib@1.2.13%gcc@12.1.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu22.04-x86_64_v3

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

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

==> Concretized roots
-- linux-ubuntu22.04-x86_64_v3 / gcc@=11.3.0 --------------------
gcc@12.1.0

-- linux-ubuntu22.04-x86_64_v3 / gcc@=12.1.0 --------------------
netlib-scalapack@2.2.0	netlib-scalapack@2.2.0	py-scipy@1.10.1

==> Installed packages
-- linux-ubuntu22.04-x86_64_v3 / gcc@=11.3.0 --------------------
autoconf@2.69		     automake@1.16.5	  bzip2@1.0.8	 gawk@5.2.1  gdbm@1.23	     gmake@4.4.1  libiconv@1.17    libtool@2.4.7   m4@1.4.19  mpfr@4.2.0   perl@5.36.0	pkgconf@1.9.5  tar@1.34       xz@5.4.1	   zstd@1.5.5
autoconf-archive@2023.02.20  berkeley-db@18.1.40  diffutils@3.9  gcc@12.1.0  gettext@0.21.1  gmp@6.2.1	  libsigsegv@2.14  libxml2@2.10.3  mpc@1.3.1  ncurses@6.4  pigz@2.7	readline@8.2   texinfo@7.0.3  zlib@1.2.13

-- linux-ubuntu22.04-x86_64_v3 / gcc@=12.1.0 --------------------
autoconf@2.69			    diffutils@3.9    hwloc@2.9.1       libpciaccess@0.17  meson@1.1.0		  ninja@1.11.1	   py-beniget@0.4.1	   py-numpy@1.24.3	     py-pyproject-metadata@0.7.1  python@3.10.10	  util-macros@1.19.3
automake@1.16.5 		    expat@2.5.0      libbsd@0.11.7     libsigsegv@2.14	  mpich@4.1.1		  openblas@0.3.23  py-build@0.10.0	   py-packaging@23.0	     py-pythran@0.12.0		  re2c@2.2		  xz@5.4.1
berkeley-db@18.1.40		    findutils@4.9.0  libfabric@1.18.0  libtool@2.4.7	  ncurses@6.4		  openssl@1.1.1t   py-cython@0.29.33	   py-pip@23.0		     py-scipy@1.10.1		  readline@8.2		  yaksa@0.2
bzip2@1.0.8			    gdbm@1.23	     libffi@3.4.4      libxcrypt@4.4.33   netlib-lapack@3.11.0	  perl@5.36.0	   py-flit-core@3.7.1	   py-ply@3.11		     py-setuptools@63.4.3	  sqlite@3.40.1 	  zlib@1.2.13
ca-certificates-mozilla@2023-01-10  gettext@0.21.1   libiconv@1.17     libxml2@2.10.3	  netlib-scalapack@2.2.0  pigz@2.7	   py-gast@0.5.3	   py-pybind11@2.10.1	     py-tomli@2.0.1		  tar@1.34		  zstd@1.5.5
cmake@3.26.3			    gmake@4.4.1      libmd@1.0.4       m4@1.4.19	  netlib-scalapack@2.2.0  pkgconf@1.9.5    py-meson-python@0.12.0  py-pyproject-hooks@1.0.0  py-wheel@0.37.1		  util-linux-uuid@2.38.1
==> 94 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 26.74 seconds.
==> Concretized gcc@=12.1.0%gcc@11.3.0
[+]  s5e5zwr  gcc@12.1.0%gcc@11.3.0~binutils+bootstrap~graphite~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages=c,c++,fortran patches=cc6112d arch=linux-ubuntu22.04-x86_64_v3
[+]  zdl3dic	  ^diffutils@3.9%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7wr75ce	      ^libiconv@1.17%gcc@11.3.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  6lk2khk	  ^gawk@5.2.1%gcc@11.3.0~nls build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  okig24f	      ^libsigsegv@2.14%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  tddm2ff	      ^readline@8.2%gcc@11.3.0 build_system=autotools patches=bbf97f1 arch=linux-ubuntu22.04-x86_64_v3
[+]  guaj3kb	  ^gmake@4.4.1%gcc@11.3.0~guile build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7kxi3rr	  ^gmp@6.2.1%gcc@11.3.0+cxx build_system=autotools libs=shared,static patches=69ad2e2 arch=linux-ubuntu22.04-x86_64_v3
[+]  t4nuen3	      ^autoconf@2.69%gcc@11.3.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu22.04-x86_64_v3
[+]  oa3w4kf	      ^automake@1.16.5%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  llbjfk2	      ^m4@1.4.19%gcc@11.3.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu22.04-x86_64_v3
[+]  qkvj7am	  ^libtool@2.4.7%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  3qvnliw	  ^mpc@1.3.1%gcc@11.3.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  aiys7vc	  ^mpfr@4.2.0%gcc@11.3.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  5wwl7c6	      ^autoconf-archive@2023.02.20%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  j5tavds	  ^perl@5.36.0%gcc@11.3.0+cpanm+open+shared+threads build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  7sohpaz	      ^berkeley-db@18.1.40%gcc@11.3.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu22.04-x86_64_v3
[+]  dca2qyg	      ^bzip2@1.0.8%gcc@11.3.0~debug~pic+shared build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  ba4juc3	      ^gdbm@1.23%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  tcpqkls	  ^texinfo@7.0.3%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  p4obvgx	      ^gettext@0.21.1%gcc@11.3.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  pcbenki		  ^libxml2@2.10.3%gcc@11.3.0~python build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  e77cf6a		  ^tar@1.34%gcc@11.3.0 build_system=autotools zip=pigz arch=linux-ubuntu22.04-x86_64_v3
[+]  aln73eo		      ^pigz@2.7%gcc@11.3.0 build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
[+]  4kpkw5a		  ^xz@5.4.1%gcc@11.3.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  4dokmxj	      ^ncurses@6.4%gcc@11.3.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  mh73nkp		  ^pkgconf@1.9.5%gcc@11.3.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  mntflxr	  ^zlib@1.2.13%gcc@11.3.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
[+]  qoo4rlo	  ^zstd@1.5.5%gcc@11.3.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu22.04-x86_64_v3

==> Concretized netlib-scalapack%gcc@12.1.0 ^mpich ^openblas
[+]  75u5574  netlib-scalapack@2.2.0%gcc@12.1.0~ipo~pic+shared build_system=cmake build_type=Release generator=make patches=072b006,1c9ce5f,244a9aa arch=linux-ubuntu22.04-x86_64_v3
[+]  cb3vkyk	  ^cmake@3.26.3%gcc@12.1.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu22.04-x86_64_v3
[+]  yugzpgp	      ^ncurses@6.4%gcc@12.1.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7dyvgor	      ^openssl@1.1.1t%gcc@12.1.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu22.04-x86_64_v3
[+]  7u553me		  ^ca-certificates-mozilla@2023-01-10%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  oboyaa5		  ^zlib@1.2.13%gcc@12.1.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
[+]  74omm4b	  ^gmake@4.4.1%gcc@12.1.0~guile build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  fb4tt65	  ^mpich@4.1.1%gcc@12.1.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 pmi=pmi arch=linux-ubuntu22.04-x86_64_v3
[+]  hgvmfon	      ^findutils@4.9.0%gcc@12.1.0 build_system=autotools patches=440b954 arch=linux-ubuntu22.04-x86_64_v3
[+]  sd6g5bq	      ^hwloc@2.9.1%gcc@12.1.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  er4rpyd	      ^libfabric@1.18.0%gcc@12.1.0~debug~kdreg build_system=autotools fabrics=sockets,tcp,udp arch=linux-ubuntu22.04-x86_64_v3
[+]  4voenez	      ^libpciaccess@0.17%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  owrdqyk		  ^libtool@2.4.7%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  imbmumc		  ^util-macros@1.19.3%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  sbbiixp	      ^libxml2@2.10.3%gcc@12.1.0~python build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  ojujfjj		  ^libiconv@1.17%gcc@12.1.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  dat54qr		  ^xz@5.4.1%gcc@12.1.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  gbfssja	      ^pkgconf@1.9.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  5mplopl	      ^yaksa@0.2%gcc@12.1.0~cuda~rocm build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  mr5osqp		  ^autoconf@2.69%gcc@12.1.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu22.04-x86_64_v3
[+]  yyzuikk		  ^automake@1.16.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  s6ky5ld		  ^m4@1.4.19%gcc@12.1.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu22.04-x86_64_v3
[+]  csiltjm		      ^diffutils@3.9%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  oyzxg5g		      ^libsigsegv@2.14%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  nvcwpz4		  ^python@3.10.10%gcc@12.1.0+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-ubuntu22.04-x86_64_v3
[+]  upevc4c		      ^expat@2.5.0%gcc@12.1.0+libbsd build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  kqphoxb			  ^libbsd@0.11.7%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  a4ofctm			      ^libmd@1.0.4%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7qnn3pi		      ^gettext@0.21.1%gcc@12.1.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  2r7rutu			  ^tar@1.34%gcc@12.1.0 build_system=autotools zip=pigz arch=linux-ubuntu22.04-x86_64_v3
[+]  i2azy7n			      ^pigz@2.7%gcc@12.1.0 build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
[+]  a5p5yob			      ^zstd@1.5.5%gcc@12.1.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  u2ztzc2		      ^libffi@3.4.4%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  uq4wpnl		      ^libxcrypt@4.4.33%gcc@12.1.0~obsolete_api build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  qypmr5g		      ^readline@8.2%gcc@12.1.0 build_system=autotools patches=bbf97f1 arch=linux-ubuntu22.04-x86_64_v3
[+]  at2vwsu		      ^sqlite@3.40.1%gcc@12.1.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  gbfbnoj		      ^util-linux-uuid@2.38.1%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  5hvwk3g	  ^openblas@0.3.23%gcc@12.1.0~bignuma~consistent_fpcsr+fortran~ilp64+locking+pic+shared build_system=makefile symbol_suffix=none threads=none arch=linux-ubuntu22.04-x86_64_v3
[+]  fq7gb4a	      ^perl@5.36.0%gcc@12.1.0+cpanm+open+shared+threads build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  vtjcxzc		  ^berkeley-db@18.1.40%gcc@12.1.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu22.04-x86_64_v3
[+]  ecute7q		  ^bzip2@1.0.8%gcc@12.1.0~debug~pic+shared build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  febzyvz		  ^gdbm@1.23%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3

==> Concretized netlib-scalapack%gcc@12.1.0 ^mpich ^netlib-lapack
[+]  yq5hsff  netlib-scalapack@2.2.0%gcc@12.1.0~ipo~pic+shared build_system=cmake build_type=Release generator=make patches=072b006,1c9ce5f,244a9aa arch=linux-ubuntu22.04-x86_64_v3
[+]  cb3vkyk	  ^cmake@3.26.3%gcc@12.1.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu22.04-x86_64_v3
[+]  yugzpgp	      ^ncurses@6.4%gcc@12.1.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7dyvgor	      ^openssl@1.1.1t%gcc@12.1.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu22.04-x86_64_v3
[+]  7u553me		  ^ca-certificates-mozilla@2023-01-10%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  fq7gb4a		  ^perl@5.36.0%gcc@12.1.0+cpanm+open+shared+threads build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  vtjcxzc		      ^berkeley-db@18.1.40%gcc@12.1.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu22.04-x86_64_v3
[+]  ecute7q		      ^bzip2@1.0.8%gcc@12.1.0~debug~pic+shared build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  febzyvz		      ^gdbm@1.23%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  oboyaa5		  ^zlib@1.2.13%gcc@12.1.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
[+]  74omm4b	  ^gmake@4.4.1%gcc@12.1.0~guile build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  fb4tt65	  ^mpich@4.1.1%gcc@12.1.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 pmi=pmi arch=linux-ubuntu22.04-x86_64_v3
[+]  hgvmfon	      ^findutils@4.9.0%gcc@12.1.0 build_system=autotools patches=440b954 arch=linux-ubuntu22.04-x86_64_v3
[+]  sd6g5bq	      ^hwloc@2.9.1%gcc@12.1.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  er4rpyd	      ^libfabric@1.18.0%gcc@12.1.0~debug~kdreg build_system=autotools fabrics=sockets,tcp,udp arch=linux-ubuntu22.04-x86_64_v3
[+]  4voenez	      ^libpciaccess@0.17%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  owrdqyk		  ^libtool@2.4.7%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  imbmumc		  ^util-macros@1.19.3%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  sbbiixp	      ^libxml2@2.10.3%gcc@12.1.0~python build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  ojujfjj		  ^libiconv@1.17%gcc@12.1.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  dat54qr		  ^xz@5.4.1%gcc@12.1.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  gbfssja	      ^pkgconf@1.9.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  5mplopl	      ^yaksa@0.2%gcc@12.1.0~cuda~rocm build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  mr5osqp		  ^autoconf@2.69%gcc@12.1.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu22.04-x86_64_v3
[+]  yyzuikk		  ^automake@1.16.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  s6ky5ld		  ^m4@1.4.19%gcc@12.1.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu22.04-x86_64_v3
[+]  csiltjm		      ^diffutils@3.9%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  oyzxg5g		      ^libsigsegv@2.14%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  nvcwpz4		  ^python@3.10.10%gcc@12.1.0+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-ubuntu22.04-x86_64_v3
[+]  upevc4c		      ^expat@2.5.0%gcc@12.1.0+libbsd build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  kqphoxb			  ^libbsd@0.11.7%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  a4ofctm			      ^libmd@1.0.4%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7qnn3pi		      ^gettext@0.21.1%gcc@12.1.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  2r7rutu			  ^tar@1.34%gcc@12.1.0 build_system=autotools zip=pigz arch=linux-ubuntu22.04-x86_64_v3
[+]  i2azy7n			      ^pigz@2.7%gcc@12.1.0 build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
[+]  a5p5yob			      ^zstd@1.5.5%gcc@12.1.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  u2ztzc2		      ^libffi@3.4.4%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  uq4wpnl		      ^libxcrypt@4.4.33%gcc@12.1.0~obsolete_api build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  qypmr5g		      ^readline@8.2%gcc@12.1.0 build_system=autotools patches=bbf97f1 arch=linux-ubuntu22.04-x86_64_v3
[+]  at2vwsu		      ^sqlite@3.40.1%gcc@12.1.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  gbfbnoj		      ^util-linux-uuid@2.38.1%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  fjlwowf	  ^netlib-lapack@3.11.0%gcc@12.1.0~external-blas~ipo+lapacke+shared~xblas build_system=cmake build_type=Release generator=make arch=linux-ubuntu22.04-x86_64_v3

==> Concretized netlib-scalapack%gcc@12.1.0 ^openblas ^openmpi
[+]  qmna5re  netlib-scalapack@2.2.0%gcc@12.1.0~ipo~pic+shared build_system=cmake build_type=Release generator=make patches=072b006,1c9ce5f,244a9aa arch=linux-ubuntu22.04-x86_64_v3
[+]  cb3vkyk	  ^cmake@3.26.3%gcc@12.1.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu22.04-x86_64_v3
[+]  yugzpgp	      ^ncurses@6.4%gcc@12.1.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7dyvgor	      ^openssl@1.1.1t%gcc@12.1.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu22.04-x86_64_v3
[+]  7u553me		  ^ca-certificates-mozilla@2023-01-10%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  74omm4b	  ^gmake@4.4.1%gcc@12.1.0~guile build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  5hvwk3g	  ^openblas@0.3.23%gcc@12.1.0~bignuma~consistent_fpcsr+fortran~ilp64+locking+pic+shared build_system=makefile symbol_suffix=none threads=none arch=linux-ubuntu22.04-x86_64_v3
[+]  fq7gb4a	      ^perl@5.36.0%gcc@12.1.0+cpanm+open+shared+threads build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  vtjcxzc		  ^berkeley-db@18.1.40%gcc@12.1.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu22.04-x86_64_v3
[+]  ecute7q		  ^bzip2@1.0.8%gcc@12.1.0~debug~pic+shared build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  csiltjm		      ^diffutils@3.9%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  febzyvz		  ^gdbm@1.23%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  qypmr5g		      ^readline@8.2%gcc@12.1.0 build_system=autotools patches=bbf97f1 arch=linux-ubuntu22.04-x86_64_v3
[+]  ekmi64f	  ^openmpi@4.1.5%gcc@12.1.0~atomics~cuda~cxx~cxx_exceptions~gpfs~internal-hwloc~java~legacylaunchers~lustre~memchecker~orterunprefix+romio+rsh~singularity+static+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=linux-ubuntu22.04-x86_64_v3
[+]  sd6g5bq	      ^hwloc@2.9.1%gcc@12.1.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  4voenez		  ^libpciaccess@0.17%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  imbmumc		      ^util-macros@1.19.3%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  sbbiixp		  ^libxml2@2.10.3%gcc@12.1.0~python build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  ojujfjj		      ^libiconv@1.17%gcc@12.1.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  dat54qr		      ^xz@5.4.1%gcc@12.1.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  45xq3wr	      ^numactl@2.0.14%gcc@12.1.0 build_system=autotools patches=4e1d78c,62fc8a8,ff37630 arch=linux-ubuntu22.04-x86_64_v3
[+]  mr5osqp		  ^autoconf@2.69%gcc@12.1.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu22.04-x86_64_v3
[+]  yyzuikk		  ^automake@1.16.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  owrdqyk		  ^libtool@2.4.7%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  s6ky5ld		  ^m4@1.4.19%gcc@12.1.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu22.04-x86_64_v3
[+]  oyzxg5g		      ^libsigsegv@2.14%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  vu4ehmb	      ^openssh@9.3p1%gcc@12.1.0+gssapi build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  n5v3tug		  ^krb5@1.20.1%gcc@12.1.0+shared build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  fjc7p57		      ^bison@3.8.2%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7qnn3pi		      ^gettext@0.21.1%gcc@12.1.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  2r7rutu			  ^tar@1.34%gcc@12.1.0 build_system=autotools zip=pigz arch=linux-ubuntu22.04-x86_64_v3
[+]  i2azy7n			      ^pigz@2.7%gcc@12.1.0 build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
[+]  a5p5yob			      ^zstd@1.5.5%gcc@12.1.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  xkjcqre		  ^libedit@3.1-20210216%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  uq4wpnl		  ^libxcrypt@4.4.33%gcc@12.1.0~obsolete_api build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  gbfssja	      ^pkgconf@1.9.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  ouqw26w	      ^pmix@4.2.3%gcc@12.1.0~docs+pmi_backwards_compatibility~python~restful build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  2y2whk4		  ^libevent@2.1.12%gcc@12.1.0+openssl build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  oboyaa5	      ^zlib@1.2.13%gcc@12.1.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu22.04-x86_64_v3

==> Concretized netlib-scalapack%gcc@12.1.0 ^netlib-lapack ^openmpi
[+]  ea7dxfb  netlib-scalapack@2.2.0%gcc@12.1.0~ipo~pic+shared build_system=cmake build_type=Release generator=make patches=072b006,1c9ce5f,244a9aa arch=linux-ubuntu22.04-x86_64_v3
[+]  cb3vkyk	  ^cmake@3.26.3%gcc@12.1.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu22.04-x86_64_v3
[+]  yugzpgp	      ^ncurses@6.4%gcc@12.1.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7dyvgor	      ^openssl@1.1.1t%gcc@12.1.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu22.04-x86_64_v3
[+]  7u553me		  ^ca-certificates-mozilla@2023-01-10%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  74omm4b	  ^gmake@4.4.1%gcc@12.1.0~guile build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  fjlwowf	  ^netlib-lapack@3.11.0%gcc@12.1.0~external-blas~ipo+lapacke+shared~xblas build_system=cmake build_type=Release generator=make arch=linux-ubuntu22.04-x86_64_v3
[+]  ekmi64f	  ^openmpi@4.1.5%gcc@12.1.0~atomics~cuda~cxx~cxx_exceptions~gpfs~internal-hwloc~java~legacylaunchers~lustre~memchecker~orterunprefix+romio+rsh~singularity+static+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=linux-ubuntu22.04-x86_64_v3
[+]  sd6g5bq	      ^hwloc@2.9.1%gcc@12.1.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  4voenez		  ^libpciaccess@0.17%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  imbmumc		      ^util-macros@1.19.3%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  sbbiixp		  ^libxml2@2.10.3%gcc@12.1.0~python build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  ojujfjj		      ^libiconv@1.17%gcc@12.1.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  dat54qr		      ^xz@5.4.1%gcc@12.1.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  45xq3wr	      ^numactl@2.0.14%gcc@12.1.0 build_system=autotools patches=4e1d78c,62fc8a8,ff37630 arch=linux-ubuntu22.04-x86_64_v3
[+]  mr5osqp		  ^autoconf@2.69%gcc@12.1.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu22.04-x86_64_v3
[+]  yyzuikk		  ^automake@1.16.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  owrdqyk		  ^libtool@2.4.7%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  s6ky5ld		  ^m4@1.4.19%gcc@12.1.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu22.04-x86_64_v3
[+]  csiltjm		      ^diffutils@3.9%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  oyzxg5g		      ^libsigsegv@2.14%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  vu4ehmb	      ^openssh@9.3p1%gcc@12.1.0+gssapi build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  n5v3tug		  ^krb5@1.20.1%gcc@12.1.0+shared build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  fjc7p57		      ^bison@3.8.2%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7qnn3pi		      ^gettext@0.21.1%gcc@12.1.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  2r7rutu			  ^tar@1.34%gcc@12.1.0 build_system=autotools zip=pigz arch=linux-ubuntu22.04-x86_64_v3
[+]  i2azy7n			      ^pigz@2.7%gcc@12.1.0 build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
[+]  a5p5yob			      ^zstd@1.5.5%gcc@12.1.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  xkjcqre		  ^libedit@3.1-20210216%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  uq4wpnl		  ^libxcrypt@4.4.33%gcc@12.1.0~obsolete_api build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  fq7gb4a	      ^perl@5.36.0%gcc@12.1.0+cpanm+open+shared+threads build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  vtjcxzc		  ^berkeley-db@18.1.40%gcc@12.1.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu22.04-x86_64_v3
[+]  ecute7q		  ^bzip2@1.0.8%gcc@12.1.0~debug~pic+shared build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  febzyvz		  ^gdbm@1.23%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  qypmr5g		      ^readline@8.2%gcc@12.1.0 build_system=autotools patches=bbf97f1 arch=linux-ubuntu22.04-x86_64_v3
[+]  gbfssja	      ^pkgconf@1.9.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  ouqw26w	      ^pmix@4.2.3%gcc@12.1.0~docs+pmi_backwards_compatibility~python~restful build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  2y2whk4		  ^libevent@2.1.12%gcc@12.1.0+openssl build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  oboyaa5	      ^zlib@1.2.13%gcc@12.1.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu22.04-x86_64_v3

==> Concretized py-scipy%gcc@12.1.0 ^openblas
[+]  ol3w546  py-scipy@1.10.1%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  5hvwk3g	  ^openblas@0.3.23%gcc@12.1.0~bignuma~consistent_fpcsr+fortran~ilp64+locking+pic+shared build_system=makefile symbol_suffix=none threads=none arch=linux-ubuntu22.04-x86_64_v3
[+]  fq7gb4a	      ^perl@5.36.0%gcc@12.1.0+cpanm+open+shared+threads build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  vtjcxzc		  ^berkeley-db@18.1.40%gcc@12.1.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu22.04-x86_64_v3
[+]  gbfssja	  ^pkgconf@1.9.5%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  uhboysx	  ^py-build@0.10.0%gcc@12.1.0~virtualenv build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  ihmiu27	      ^py-flit-core@3.7.1%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  yoamuqz	      ^py-packaging@23.0%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  udgbusq	      ^py-pyproject-hooks@1.0.0%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  ivq3gn7	      ^py-tomli@2.0.1%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  ny2lq6w	  ^py-cython@0.29.33%gcc@12.1.0 build_system=python_pip patches=71de066 arch=linux-ubuntu22.04-x86_64_v3
[+]  wujb6fw	      ^py-setuptools@63.4.3%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  rosemhn	  ^py-meson-python@0.12.0%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  s5rzrue	      ^meson@1.1.0%gcc@12.1.0 build_system=python_pip patches=0f0b1bd arch=linux-ubuntu22.04-x86_64_v3
[+]  lrhcey2	      ^py-pyproject-metadata@0.7.1%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  54s3ofo	  ^py-numpy@1.24.3%gcc@12.1.0+blas+lapack build_system=python_pip patches=873745d arch=linux-ubuntu22.04-x86_64_v3
[+]  khveatv	  ^py-pip@23.0%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  2hmi7rq	  ^py-pybind11@2.10.1%gcc@12.1.0~ipo build_system=cmake build_type=Release generator=ninja arch=linux-ubuntu22.04-x86_64_v3
[+]  cb3vkyk	      ^cmake@3.26.3%gcc@12.1.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu22.04-x86_64_v3
[+]  2zgsglc	      ^ninja@1.11.1%gcc@12.1.0+re2c build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  622aruu		  ^re2c@2.2%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  s6iwj3a	  ^py-pythran@0.12.0%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  s6swsfi	      ^py-beniget@0.4.1%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  xg26gxl	      ^py-gast@0.5.3%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  ovxjh5h	      ^py-ply@3.11%gcc@12.1.0 build_system=python_pip arch=linux-ubuntu22.04-x86_64_v3
[+]  kbelzwq	  ^py-wheel@0.37.1%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  nvcwpz4	  ^python@3.10.10%gcc@12.1.0+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-ubuntu22.04-x86_64_v3
[+]  ecute7q	      ^bzip2@1.0.8%gcc@12.1.0~debug~pic+shared build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  csiltjm		  ^diffutils@3.9%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  upevc4c	      ^expat@2.5.0%gcc@12.1.0+libbsd build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  kqphoxb		  ^libbsd@0.11.7%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  a4ofctm		      ^libmd@1.0.4%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  febzyvz	      ^gdbm@1.23%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7qnn3pi	      ^gettext@0.21.1%gcc@12.1.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  ojujfjj		  ^libiconv@1.17%gcc@12.1.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  sbbiixp		  ^libxml2@2.10.3%gcc@12.1.0~python build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  2r7rutu		  ^tar@1.34%gcc@12.1.0 build_system=autotools zip=pigz arch=linux-ubuntu22.04-x86_64_v3
[+]  i2azy7n		      ^pigz@2.7%gcc@12.1.0 build_system=makefile arch=linux-ubuntu22.04-x86_64_v3
[+]  a5p5yob		      ^zstd@1.5.5%gcc@12.1.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  u2ztzc2	      ^libffi@3.4.4%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  uq4wpnl	      ^libxcrypt@4.4.33%gcc@12.1.0~obsolete_api build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  yugzpgp	      ^ncurses@6.4%gcc@12.1.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  7dyvgor	      ^openssl@1.1.1t%gcc@12.1.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu22.04-x86_64_v3
[+]  7u553me		  ^ca-certificates-mozilla@2023-01-10%gcc@12.1.0 build_system=generic arch=linux-ubuntu22.04-x86_64_v3
[+]  qypmr5g	      ^readline@8.2%gcc@12.1.0 build_system=autotools patches=bbf97f1 arch=linux-ubuntu22.04-x86_64_v3
[+]  at2vwsu	      ^sqlite@3.40.1%gcc@12.1.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  gbfbnoj	      ^util-linux-uuid@2.38.1%gcc@12.1.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3
[+]  dat54qr	      ^xz@5.4.1%gcc@12.1.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64_v3
[+]  oboyaa5	      ^zlib@1.2.13%gcc@12.1.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu22.04-x86_64_v3

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

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

==> Concretized roots
-- linux-ubuntu22.04-x86_64_v3 / gcc@=11.3.0 --------------------
gcc@12.1.0

-- linux-ubuntu22.04-x86_64_v3 / gcc@=12.1.0 --------------------
netlib-scalapack@2.2.0	netlib-scalapack@2.2.0	netlib-scalapack@2.2.0	netlib-scalapack@2.2.0	py-scipy@1.10.1

==> Installed packages
-- linux-ubuntu22.04-x86_64_v3 / gcc@=11.3.0 --------------------
autoconf@2.69		     automake@1.16.5	  bzip2@1.0.8	 gawk@5.2.1  gdbm@1.23	     gmake@4.4.1  libiconv@1.17    libtool@2.4.7   m4@1.4.19  mpfr@4.2.0   perl@5.36.0	pkgconf@1.9.5  tar@1.34       xz@5.4.1	   zstd@1.5.5
autoconf-archive@2023.02.20  berkeley-db@18.1.40  diffutils@3.9  gcc@12.1.0  gettext@0.21.1  gmp@6.2.1	  libsigsegv@2.14  libxml2@2.10.3  mpc@1.3.1  ncurses@6.4  pigz@2.7	readline@8.2   texinfo@7.0.3  zlib@1.2.13

-- linux-ubuntu22.04-x86_64_v3 / gcc@=12.1.0 --------------------
autoconf@2.69			    diffutils@3.9    krb5@1.20.1	   libmd@1.0.4	      meson@1.1.0	      netlib-scalapack@2.2.0  perl@5.36.0	 py-flit-core@3.7.1	 py-pybind11@2.10.1	      py-wheel@0.37.1	      util-macros@1.19.3
automake@1.16.5 		    expat@2.5.0      libbsd@0.11.7	   libpciaccess@0.17  mpich@4.1.1	      ninja@1.11.1	      pigz@2.7		 py-gast@0.5.3		 py-pyproject-hooks@1.0.0     python@3.10.10	      xz@5.4.1
berkeley-db@18.1.40		    findutils@4.9.0  libedit@3.1-20210216  libsigsegv@2.14    ncurses@6.4	      numactl@2.0.14	      pkgconf@1.9.5	 py-meson-python@0.12.0  py-pyproject-metadata@0.7.1  re2c@2.2		      yaksa@0.2
bison@3.8.2			    gdbm@1.23	     libevent@2.1.12	   libtool@2.4.7      netlib-lapack@3.11.0    openblas@0.3.23	      pmix@4.2.3	 py-numpy@1.24.3	 py-pythran@0.12.0	      readline@8.2	      zlib@1.2.13
bzip2@1.0.8			    gettext@0.21.1   libfabric@1.18.0	   libxcrypt@4.4.33   netlib-scalapack@2.2.0  openmpi@4.1.5	      py-beniget@0.4.1	 py-packaging@23.0	 py-scipy@1.10.1	      sqlite@3.40.1	      zstd@1.5.5
ca-certificates-mozilla@2023-01-10  gmake@4.4.1      libffi@3.4.4	   libxml2@2.10.3     netlib-scalapack@2.2.0  openssh@9.3p1	      py-build@0.10.0	 py-pip@23.0		 py-setuptools@63.4.3	      tar@1.34
cmake@3.26.3			    hwloc@2.9.1      libiconv@1.17	   m4@1.4.19	      netlib-scalapack@2.2.0  openssl@1.1.1t	      py-cython@0.29.33  py-ply@3.11		 py-tomli@2.0.1 	      util-linux-uuid@2.38.1
==> 104 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@12.1.0"]
    - mpi_packages: [netlib-scalapack]
    - serial_packages: [py-scipy]

  specs:
  - gcc@=12.1.0%gcc@11.3.0
  - matrix:
    - [$mpi_packages]
    - [$^mpis]
    - [$lapacks]
    - [$compilers]
  - matrix:
    - [$serial_packages]
    - [$lapacks]
    - [$compilers]
    exclude:
    - "py-scipy ^netlib-lapack"
  view:
    default:
      root: views/default
      select: ['%gcc@12.1.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@=12.1.0
      paths:
        cc: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gcc
        cxx: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/g++
        f77: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gfortran
        fc: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gfortran
      flags: {}
      operating_system: ubuntu22.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		      libcrypt.so.2		      libexpat.so.1.8.10       libgettextpo.so.0.5.8	 libkadm5srv_mit.so	  libmenu_g.a			       libmpifort.so.12 	libopen-pal.so		libreadline.a	       libverto.so
engines-1.1	      libcrypt.so.2.0.0 	      libfabric.a	       libgettextsrc-0.21.1.so	 libkadm5srv_mit.so.12	  libmenuw.a			       libmpifort.so.12.3.0	libopen-pal.so.40	libreadline.so	       libverto.so.0
gettext 	      libcrypto.a		      libfabric.so	       libgettextsrc.so 	 libkadm5srv_mit.so.12.0  libmenuw.so			       libmpl.so		libopen-pal.so.40.30.3	libreadline.so.8       libverto.so.0.0
krb5		      libcrypto.so		      libfabric.so.1	       libgssapi_krb5.so	 libkdb5.so		  libmenuw.so.6 		       libncurses++.a		libopen-rte.a		libreadline.so.8.2     libxml2.so
libasprintf.a	      libcrypto.so.1.1		      libfabric.so.1.21.0      libgssapi_krb5.so.2	 libkdb5.so.10		  libmenuw.so.6.4		       libncurses++.so		libopen-rte.so		libscalapack.so        libxml2.so.2
libasprintf.so	      libcurses.so		      libffi.a		       libgssapi_krb5.so.2.2	 libkdb5.so.10.0	  libmenuw_g.a			       libncurses++.so.6	libopen-rte.so.40	libsqlite3.a	       libxml2.so.2.10.3
libasprintf.so.0      libedit.a 		      libffi.so 	       libgssrpc.so		 libkrad.so		  libmpi.a			       libncurses++.so.6.4	libopen-rte.so.40.30.3	libsqlite3.so	       libyaksa.a
libasprintf.so.0.0.0  libedit.so		      libffi.so.8	       libgssrpc.so.4		 libkrad.so.0		  libmpi.so			       libncurses++_g.a 	libopenblas-r0.3.23.a	libsqlite3.so.0        libyaksa.so
libblas.so	      libedit.so.0		      libffi.so.8.1.2	       libgssrpc.so.4.2 	 libkrad.so.0.0 	  libmpi.so.12			       libncurses++w.a		libopenblas-r0.3.23.so	libsqlite3.so.0.8.6    libyaksa.so.0
libblas.so.3	      libedit.so.0.0.64 	      libfmpich.so	       libhistory.a		 libkrb5.so		  libmpi.so.12.3.0		       libncurses++w.so 	libopenblas.a		libssl.a	       libyaksa.so.0.0.0
libblas.so.3.11.0     libevent-2.1.so.7 	      libform.a 	       libhistory.so		 libkrb5.so.3		  libmpi.so.40			       libncurses++w.so.6	libopenblas.so		libssl.so	       libz.a
libbsd-ctor.a	      libevent-2.1.so.7.0.1	      libform.so	       libhistory.so.8		 libkrb5.so.3.3 	  libmpi.so.40.30.5		       libncurses++w.so.6.4	libopenblas.so.0	libssl.so.1.1	       libz.so
libbsd.a	      libevent.a		      libform.so.6	       libhistory.so.8.2	 libkrb5support.so	  libmpi_mpifh.a		       libncurses++w_g.a	libpanel.a		libtextstyle.a	       libz.so.1
libbsd.so	      libevent.so		      libform.so.6.4	       libhwloc.a		 libkrb5support.so.0	  libmpi_mpifh.so		       libncurses.a		libpanel.so		libtextstyle.so        libz.so.1.2.13
libbsd.so.0	      libevent_core-2.1.so.7	      libform_g.a	       libhwloc.so		 libkrb5support.so.0.1	  libmpi_mpifh.so.40		       libncurses.so		libpanel.so.6		libtextstyle.so.0      libzstd.a
libbsd.so.0.11.7      libevent_core-2.1.so.7.0.1      libformw.a	       libhwloc.so.15		 liblapack.so		  libmpi_mpifh.so.40.30.0	       libncurses.so.6		libpanel.so.6.4 	libtextstyle.so.0.1.2  libzstd.so
libbz2.a	      libevent_core.a		      libformw.so	       libhwloc.so.15.6.2	 liblapack.so.3 	  libmpi_usempi_ignore_tkr.a	       libncurses.so.6.4	libpanel_g.a		libtinfo.a	       libzstd.so.1
libbz2.so	      libevent_core.so		      libformw.so.6	       libiconv.a		 liblapack.so.3.11.0	  libmpi_usempi_ignore_tkr.so	       libncurses_g.a		libpanelw.a		libtinfo.so	       libzstd.so.1.5.5
libbz2.so.1	      libevent_extra-2.1.so.7	      libformw.so.6.4	       libiconv.so		 liblapacke.so		  libmpi_usempi_ignore_tkr.so.40       libncursesw.a		libpanelw.so		libtinfo.so.6	       mpi.mod
libbz2.so.1.0	      libevent_extra-2.1.so.7.0.1     libformw_g.a	       libiconv.so.2		 liblapacke.so.3	  libmpi_usempi_ignore_tkr.so.40.30.0  libncursesw.so		libpanelw.so.6		libtinfo.so.6.4        mpi_ext.mod
libbz2.so.1.0.8       libevent_extra.a		      libgdbm.a 	       libiconv.so.2.6.1	 liblapacke.so.3.11.0	  libmpi_usempif08.a		       libncursesw.so.6 	libpanelw.so.6.4	libtinfo_g.a	       mpi_f08.mod
libcblas.so	      libevent_extra.so 	      libgdbm.so	       libintl.a		 liblzma.a		  libmpi_usempif08.so		       libncursesw.so.6.4	libpanelw_g.a		libtinfow.a	       mpi_f08_callbacks.mod
libcblas.so.3	      libevent_openssl-2.1.so.7       libgdbm.so.6	       libintl.so		 liblzma.so		  libmpi_usempif08.so.40	       libncursesw_g.a		libpciaccess.a		libtinfow.so	       mpi_f08_ext.mod
libcblas.so.3.11.0    libevent_openssl-2.1.so.7.0.1   libgdbm.so.6.0.0	       libintl.so.8		 liblzma.so.5		  libmpi_usempif08.so.40.30.0	       libnuma.a		libpciaccess.so 	libtinfow.so.6	       mpi_f08_interfaces.mod
libcharset.a	      libevent_openssl.a	      libgdbm_compat.a	       libintl.so.8.3.0 	 liblzma.so.5.4.1	  libmpich.so			       libnuma.so		libpciaccess.so.0	libtinfow.so.6.4       mpi_f08_interfaces_callbacks.mod
libcharset.so	      libevent_openssl.so	      libgdbm_compat.so        libk5crypto.so		 libmd.a		  libmpichcxx.so		       libnuma.so.1		libpciaccess.so.0.11.1	libtinfow_g.a	       mpi_f08_types.mod
libcharset.so.1       libevent_pthreads-2.1.so.7      libgdbm_compat.so.4      libk5crypto.so.3 	 libmd.so		  libmpichf90.so		       libnuma.so.1.0.0 	libpmix.a		libtmglib.so	       openmpi
libcharset.so.1.0.0   libevent_pthreads-2.1.so.7.0.1  libgdbm_compat.so.4.0.0  libk5crypto.so.3.1	 libmd.so.0		  libmpicxx.a			       libompitrace.a		libpmix.so		libtmglib.so.3	       pkgconfig
libcom_err.so	      libevent_pthreads.a	      libgettextlib-0.21.1.so  libkadm5clnt.so		 libmd.so.0.0.5 	  libmpicxx.so			       libompitrace.so		libpmix.so.2		libtmglib.so.3.11.0    pmpi_f08_interfaces.mod
libcom_err.so.3       libevent_pthreads.so	      libgettextlib.so	       libkadm5clnt_mit.so	 libmenu.a		  libmpicxx.so.12		       libompitrace.so.40	libpmix.so.2.7.0	libuuid.a	       python3.10
libcom_err.so.3.0     libexpat.a		      libgettextpo.a	       libkadm5clnt_mit.so.12	 libmenu.so		  libmpicxx.so.12.3.0		       libompitrace.so.40.30.1	libpython3.10.so	libuuid.so	       terminfo
libcrypt.a	      libexpat.so		      libgettextpo.so	       libkadm5clnt_mit.so.12.0  libmenu.so.6		  libmpifort.a			       libopa.so		libpython3.10.so.1.0	libuuid.so.1
libcrypt.so	      libexpat.so.1		      libgettextpo.so.0        libkadm5srv.so		 libmenu.so.6.4 	  libmpifort.so 		       libopen-pal.a		libpython3.so		libuuid.so.1.3.0
$ ls views/full
gcc-11.3.0  gcc-12.1.0
$ ls views/full/gcc-12.1.0
bin  etc  include  lib	libexec  man  mpich-4.1.1-netlib-lapack-3.11.0	mpich-4.1.1-openblas-0.3.23  openmpi-4.1.5-netlib-lapack-3.11.0  openmpi-4.1.5-openblas-0.3.23	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@12.1.0"]
    - mpi_packages: [netlib-scalapack]
    - serial_packages: [py-scipy]

  specs:
  - gcc@=12.1.0%gcc@11.3.0
  - matrix:
    - [$mpi_packages]
    - [$^mpis]
    - [$lapacks]
    - [$compilers]
  - matrix:
    - [$serial_packages]
    - [$lapacks]
    - [$compilers]
    exclude:
    - "py-scipy ^netlib-lapack"
  view:
    default:
      root: views/default
      select: ['%gcc@12.1.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@=12.1.0
      paths:
        cc: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gcc
        cxx: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/g++
        f77: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gfortran
        fc: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gfortran
      flags: {}
      operating_system: ubuntu22.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-11.3.0  gcc-12.1.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@11.3.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.24  2023-05-04 15:12 -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@12.1.0"]
    - mpi_packages: [netlib-scalapack]
    - serial_packages: [py-scipy]

  specs:
  - gcc@12.1.0%gcc@11.3.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@=12.1.0
      paths:
        cc: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gcc
        cxx: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/g++
        f77: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gfortran
        fc: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gfortran
      flags: {}
      operating_system: ubuntu22.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-ubuntu22.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-ubuntu22.04-x86_64/Core ------------------------------------------------------------------------------------------------------------
   autoconf-archive/2023.02.20-5wwl7c6	  bzip2/1.0.8-dca2qyg				gawk/5.2.1-6lk2khk	  gmp/6.2.1-7kxi3rr	     lmod/8.7.24-hrwwlqa		mpc/1.3.1-3qvnliw	  pigz/2.7-aln73eo	   texinfo/7.0.3-tcpqkls
   autoconf/2.69-t4nuen3		  ca-certificates-mozilla/2023-01-10-5pxkrf4	gcc/12.1.0-s5e5zwr	  libiconv/1.17-7wr75ce      lua-luafilesystem/1_8_0-23tvtrc	mpfr/4.2.0-aiys7vc	  pkgconf/1.9.5-mh73nkp    unzip/6.0-ttovk4w
   automake/1.16.5-oa3w4kf		  curl/8.0.1-4cec7ab				gdbm/1.23-ba4juc3	  libsigsegv/2.14-okig24f    lua-luaposix/36.1-zebno4c		ncurses/6.4-4dokmxj	  readline/8.2-tddm2ff	   xz/5.4.1-4kpkw5a
   bc/1.07.1-ekfwavo			  diffutils/3.9-zdl3dic 			gettext/0.21.1-p4obvgx	  libtool/2.4.7-qkvj7am      lua/5.4.4-l5jkvce			openssl/1.1.1t-w2by2b2	  tar/1.34-e77cf6a	   zlib/1.2.13-mntflxr
   berkeley-db/18.1.40-7sohpaz		  ed/1.4-yru5brp				gmake/4.4.1-guaj3kb	  libxml2/2.10.3-pcbenki     m4/1.4.19-llbjfk2			perl/5.36.0-j5tavds	  tcl/8.6.12-6afnoet	   zstd/1.5.5-qoo4rlo

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@12.1.0:

$ module load gcc
$ which gcc
/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gcc
$ gcc --version
gcc (Spack GCC) 12.1.0
Copyright (C) 2022 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-ubuntu22.04-x86_64/gcc/12.1.0 ---------------------------------------------------------------------------------------------------------
   autoconf/2.69-mr5osqp			     gdbm/1.23-febzyvz		  (D)	 libiconv/1.17-ojujfjj		  ncurses/6.4-yugzpgp		      pkgconf/1.9.5-gbfssja		py-ply/3.11-ovxjh5h		       sqlite/3.40.1-at2vwsu
   automake/1.16.5-yyzuikk		      (D)    gettext/0.21.1-7qnn3pi	  (D)	 libmd/1.0.4-a4ofctm		  netlib-lapack/3.11.0-fjlwowf	      pmix/4.2.3-ouqw26w		py-pybind11/2.10.1-2hmi7rq	       tar/1.34-2r7rutu 	      (D)
   berkeley-db/18.1.40-vtjcxzc			     gmake/4.4.1-74omm4b	  (D)	 libpciaccess/0.17-4voenez	  ninja/1.11.1-2zgsglc		      py-beniget/0.4.1-s6swsfi		py-pyproject-hooks/1.0.0-udgbusq       util-linux-uuid/2.38.1-gbfbnoj
   bison/3.8.2-fjc7p57				     hwloc/2.9.1-sd6g5bq		 libsigsegv/2.14-oyzxg5g   (D)	  numactl/2.0.14-45xq3wr	      py-build/0.10.0-uhboysx		py-pyproject-metadata/0.7.1-lrhcey2    util-macros/1.19.3-imbmumc
   bzip2/1.0.8-ecute7q			      (D)    krb5/1.20.1-n5v3tug		 libtool/2.4.7-owrdqyk		  openblas/0.3.23-5hvwk3g	      py-cython/0.29.33-ny2lq6w 	py-setuptools/63.4.3-wujb6fw	       xz/5.4.1-dat54qr
   ca-certificates-mozilla/2023-01-10-7u553me (D)    libbsd/0.11.7-kqphoxb		 libxcrypt/4.4.33-uq4wpnl	  openmpi/4.1.5-ekmi64f 	      py-flit-core/3.7.1-ihmiu27	py-tomli/2.0.1-ivq3gn7		       yaksa/0.2-5mplopl
   cmake/3.26.3-cb3vkyk 			     libedit/3.1-20210216-xkjcqre	 libxml2/2.10.3-sbbiixp    (D)	  openssh/9.3p1-vu4ehmb 	      py-gast/0.5.3-xg26gxl		py-wheel/0.37.1-kbelzwq 	       zlib/1.2.13-oboyaa5	      (D)
   diffutils/3.9-csiltjm			     libevent/2.1.12-2y2whk4		 m4/1.4.19-s6ky5ld	   (D)	  openssl/1.1.1t-7dyvgor       (D)    py-meson-python/0.12.0-rosemhn	python/3.10.10-nvcwpz4		       zstd/1.5.5-a5p5yob
   expat/2.5.0-upevc4c				     libfabric/1.18.0-er4rpyd		 meson/1.1.0-s5rzrue		  perl/5.36.0-fq7gb4a		      py-packaging/23.0-yoamuqz 	re2c/2.2-622aruu
   findutils/4.9.0-hgvmfon			     libffi/3.4.4-u2ztzc2		 mpich/4.1.1-fb4tt65		  pigz/2.7-i2azy7n	       (D)    py-pip/23.0-khveatv		readline/8.2-qypmr5g

----------------------------------------------------------------------------------------------------------- /home/spack/stacks/modules/linux-ubuntu22.04-x86_64/Core ------------------------------------------------------------------------------------------------------------
   autoconf-archive/2023.02.20-5wwl7c6	      ca-certificates-mozilla/2023-01-10-5pxkrf4	gdbm/1.23-ba4juc3	       libtool/2.4.7-qkvj7am	       (D)    m4/1.4.19-llbjfk2 	    pigz/2.7-aln73eo		 unzip/6.0-ttovk4w
   autoconf/2.69-t4nuen3	       (D)    curl/8.0.1-4cec7ab				gettext/0.21.1-p4obvgx	       libxml2/2.10.3-pcbenki		      mpc/1.3.1-3qvnliw      (L)    pkgconf/1.9.5-mh73nkp (D)	 xz/5.4.1-4kpkw5a    (D)
   automake/1.16.5-oa3w4kf		      diffutils/3.9-zdl3dic			 (D)	gmake/4.4.1-guaj3kb	       lmod/8.7.24-hrwwlqa		      mpfr/4.2.0-aiys7vc     (L)    readline/8.2-tddm2ff  (D)	 zlib/1.2.13-mntflxr (L)
   bc/1.07.1-ekfwavo			      ed/1.4-yru5brp					gmp/6.2.1-7kxi3rr	(L)    lua-luafilesystem/1_8_0-23tvtrc	      ncurses/6.4-4dokmxj    (D)    tar/1.34-e77cf6a		 zstd/1.5.5-qoo4rlo  (L,D)
   berkeley-db/18.1.40-7sohpaz	       (D)    gawk/5.2.1-6lk2khk				libiconv/1.17-7wr75ce	(D)    lua-luaposix/36.1-zebno4c	      openssl/1.1.1t-w2by2b2	    tcl/8.6.12-6afnoet
   bzip2/1.0.8-dca2qyg			      gcc/12.1.0-s5e5zwr			 (L)	libsigsegv/2.14-okig24f        lua/5.4.4-l5jkvce		      perl/5.36.0-j5tavds    (D)    texinfo/7.0.3-tcpqkls

  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@12.1.0"]
    - mpi_packages: [netlib-scalapack]
    - serial_packages: [py-scipy]

  specs:
  - gcc@12.1.0%gcc@11.3.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@=12.1.0
      paths:
        cc: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gcc
        cxx: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/g++
        f77: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gfortran
        fc: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.3.0/gcc-12.1.0-s5e5zwrzqozb5e6liaz3tjm6achptgzx/bin/gfortran
      flags: {}
      operating_system: ubuntu22.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@11.3.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-ubuntu22.04-x86_64/gcc/12.1.0 ---------------------------------------------------------------------------------------------------------
   autoconf/2.69			 diffutils/3.9	    krb5/1.20.1 	    libmd/1.0.4 	 meson/1.1.0		 openmpi/4.1.5	   py-beniget/0.4.1	     py-pip/23.0		    py-wheel/0.37.1	      util-macros/1.19.3
   automake/1.16.5			 expat/2.5.0	    libbsd/0.11.7	    libpciaccess/0.17	 mpich/4.1.1		 openssh/9.3p1	   py-build/0.10.0	     py-ply/3.11		    python/3.10.10	      xz/5.4.1
   berkeley-db/18.1.40			 findutils/4.9.0    libedit/3.1-20210216    libsigsegv/2.14	 ncurses/6.4		 openssl/1.1.1t    py-cython/0.29.33	     py-pybind11/2.10.1 	    re2c/2.2		      yaksa/0.2
   bison/3.8.2				 gdbm/1.23	    libevent/2.1.12	    libtool/2.4.7	 netlib-lapack/3.11.0	 perl/5.36.0	   py-flit-core/3.7.1	     py-pyproject-hooks/1.0.0	    readline/8.2	      zlib/1.2.13
   bzip2/1.0.8				 gettext/0.21.1     libfabric/1.18.0	    libxcrypt/4.4.33	 ninja/1.11.1		 pigz/2.7	   py-gast/0.5.3	     py-pyproject-metadata/0.7.1    sqlite/3.40.1	      zstd/1.5.5
   ca-certificates-mozilla/2023-01-10	 gmake/4.4.1	    libffi/3.4.4	    libxml2/2.10.3	 numactl/2.0.14 	 pkgconf/1.9.5	   py-meson-python/0.12.0    py-setuptools/63.4.3	    tar/1.34
   cmake/3.26.3 			 hwloc/2.9.1	    libiconv/1.17	    m4/1.4.19		 openblas/0.3.23	 pmix/4.2.3	   py-packaging/23.0	     py-tomli/2.0.1		    util-linux-uuid/2.38.1

----------------------------------------------------------------------------------------------------------- /home/spack/stacks/modules/linux-ubuntu22.04-x86_64/Core ------------------------------------------------------------------------------------------------------------
   gcc/12.1.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.5" with "mpich/4.1.1".


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.23" with "netlib-lapack/3.11.0".


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

$ module purge