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:hpcic24
and then set Spack up like this:
git clone --depth=100 --branch=releases/v0.22 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
Package Creation Tutorial
This tutorial walks you through the steps for creating and
debugging a simple Spack package. We will develop and debug
a package using an iterative approach in order to gain more
experience with additional Spack commands. For consistency,
we will create the package for mpileaks
(https://github.com/LLNL/mpileaks),
which is an MPI debugging tool.
What is a Spack Package?
Spack packages are installation scripts, which are essentially recipes for building (and testing) software.
They define properties and behavior of the build, such as:
where to find and how to retrieve the software;
its dependencies;
options for building from source; and
build commands.
They can also define checks of the installed software that can be performed after the installation.
Once we’ve specified a package’s recipe, users can ask Spack to build the software with different features on any of the supported systems.
Getting Started
In order to avoid modifying your Spack installation with the package we are creating, add a package repository just for this tutorial by entering the following command:
$ spack repo add $SPACK_ROOT/var/spack/repos/tutorial/
==> Added repo with namespace 'tutorial'.
Doing this ensures changes we make here do not adversely affect other parts of the tutorial. You can find out more about repositories at Package Repositories.
Creating the Package File
Note
Before proceeding, make sure your EDITOR
environment variable
is set to the name or path of your preferred text editor.
Suppose you want to install software that depends on mpileaks but found Spack did not already have a built-in package for it. This means you are going to have to create one.
Spack’s create command builds a new package from a template by taking the location of the package’s source code and using it to:
fetch the code;
create a package skeleton; and
open the file up in your editor of choice.
Note
An example of creating a package from software with more available versions can be found at Creating and Editing Packages.
The mpileaks
source code is available in a tarball in the
software’s repository (https://github.com/LLNL/mpileaks). Spack
will look at the contents of the tarball and generate a package when we
run spack create
with the URL:
$ spack create --name tutorial-mpileaks https://github.com/LLNL/mpileaks/releases/download/v1.0/mpileaks-1.0.tar.gz
==> Using specified package name: 'tutorial-mpileaks'
==> Fetching https://github.com/LLNL/mpileaks/releases/download/v1.0/mpileaks-1.0.tar.gz
==> This package looks like it uses the autotools build system
==> Created template for tutorial-mpileaks package
==> Created package file: /home/spack/spack/var/spack/repos/tutorial/packages/tutorial-mpileaks/package.py
You should now be in your text editor of choice, with the package.py
file open for editing.
Your package.py
file should reside in the tutorial-mpileaks
subdirectory of your tutorial repository’s packages
directory, i.e.,
$SPACK_ROOT/var/spack/repos/tutorial/packages/tutorial-mpileaks/package.py
Take a moment to look over the file.
As we can see from the skeleton contents, shown below, the Spack template:
provides instructions for how to contribute your package to the Spack repository;
indicates that the software is built with Autotools;
provides a docstring template;
provides an example homepage URL;
shows how to specify a list of package maintainers;
specifies the version directive, with checksum, for the software;
shows a dependency directive example; and
provides a skeleton
configure_args
method.
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
# ----------------------------------------------------------------------------
# If you submit this package back to Spack as a pull request,
# please first remove this boilerplate and all FIXME comments.
#
# This is a template package file for Spack. We've put "FIXME"
# next to all the things you'll want to change. Once you've handled
# them, you can save this file and test your package like this:
#
# spack install tutorial-mpileaks
#
# You can edit this file again by typing:
#
# spack edit tutorial-mpileaks
#
# See the Spack documentation for more information on packaging.
# ----------------------------------------------------------------------------
from spack import *
class TutorialMpileaks(AutotoolsPackage):
"""FIXME: Put a proper description of your package here."""
# FIXME: Add a proper url for your package's homepage here.
homepage = "https://www.example.com"
url = "https://github.com/LLNL/mpileaks/releases/download/v1.0/mpileaks-1.0.tar.gz"
# FIXME: Add a list of GitHub accounts to
# notify when the package is updated.
# maintainers("github_user1", "github_user2")
# FIXME: Add the SPDX identifier of the project's license below.
# See https://spdx.org/licenses/ for a list. Upon manually verifying
# the license, set checked_by to your Github username.
license("UNKNOWN", checked_by="github_user1")
version("1.0", sha256="2e34cc4505556d1c1f085758e26f2f8eea0972db9382f051b2dcfb1d7d9e1825")
# FIXME: Add dependencies if required.
# depends_on("foo")
def configure_args(self):
# FIXME: Add arguments other than --prefix
# FIXME: If not needed delete this function
args = []
return args
Note
The maintainers
field is a comma-separated list of GitHub user
names for those people who are willing to be notified when a change
is made to the package. This information is useful for developers who
maintain a Spack package for their own software and/or rely on software
maintained by other people.
Since we are providing a url
, we can confirm the checksum, or sha256
calculation. Exit your editor to return to the command line and use the
spack checksum
command:
$ spack checksum tutorial-mpileaks 1.0
==> Found 1 version of tutorial-mpileaks
==> Fetching https://github.com/LLNL/mpileaks/releases/download/v1.0/mpileaks-1.0.tar.gz
version("1.0", sha256="2e34cc4505556d1c1f085758e26f2f8eea0972db9382f051b2dcfb1d7d9e1825")
Note the entire version
directive is provided for your convenience.
We will now fill in the provided placeholders as we:
document some information about this package;
add dependencies; and
add the configuration arguments needed to build the package.
For the moment, though, let’s see what Spack does with the skeleton
by trying to install the package using the spack install
command:
$ spack install tutorial-mpileaks
[+] /usr (external glibc-2.35-a7drdl4tlx4bu3mzhor75pskvd3pdot6)
==> Installing gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd [2/4]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-runtime-11.4.0/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd.spack
==> Extracting gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd from binary cache
==> gcc-runtime: Successfully installed gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd
Search: 0.00s. Fetch: 0.22s. Install: 0.34s. Extract: 0.30s. Relocate: 0.04s. Total: 0.57s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd
==> Installing gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo [3/4]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo.spack
==> Extracting gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo from binary cache
==> gmake: Successfully installed gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo
Search: 0.00s. Fetch: 0.01s. Install: 0.05s. Extract: 0.02s. Relocate: 0.03s. Total: 0.06s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo
==> Installing tutorial-mpileaks-1.0-pzflhfrljrkux3siwkha5wqvr2nfuflz [4/4]
==> No binary for tutorial-mpileaks-1.0-pzflhfrljrkux3siwkha5wqvr2nfuflz found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/2e/2e34cc4505556d1c1f085758e26f2f8eea0972db9382f051b2dcfb1d7d9e1825.tar.gz
==> No patches needed for tutorial-mpileaks
==> tutorial-mpileaks: Executing phase: 'autoreconf'
==> tutorial-mpileaks: Executing phase: 'configure'
==> Error: ProcessError: Command exited with status 1:
'/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pzflhfrljrkux3siwkha5wqvr2nfuflz/spack-src/configure' '--prefix=/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pzflhfrljrkux3siwkha5wqvr2nfuflz'
1 error found in build log:
35 checking for mpipgcc... no
36 Checking whether not-found responds to '-showme:compile'... no
37 Checking whether not-found responds to '-showme'... no
38 Checking whether not-found responds to '-compile-info'... no
39 Checking whether not-found responds to '-show'... no
40 /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pzflhfrljrkux3siwkha5wqvr
2nfuflz/spack-src/configure: line 4931: Echo: command not found
>> 41 configure: error: unable to locate adept-utils installation
See build log for details:
/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pzflhfrljrkux3siwkha5wqvr2nfuflz/spack-build-out.txt
It clearly did not build. The error indicates configure
is unable
to find the installation location of a dependency.
So let’s start to customize the package for our software.
Adding Package Documentation
First, let’s fill in the documentation.
Bring mpileaks’ package.py
file back into your $EDITOR
with the
spack edit
command:
$ spack edit tutorial-mpileaks
Let’s make the following changes:
remove the instructions between dashed lines at the top;
replace the first
FIXME
comment with a description ofmpileaks
in the docstring;replace the homepage property with the correct link; and
uncomment the
maintainers
directive and add your GitHub user name.add the license of the project and your GitHub user name.
Note
We will exclude the Copyright
clause and license identifier in the
remainder of the package snippets here to reduce the length of the tutorial
documentation; however, the copyright is required for published packages.
Now make the changes and additions to your package.py
file.
The resulting package should contain the following information:
from spack import *
class TutorialMpileaks(AutotoolsPackage):
"""Tool to detect and report MPI objects like MPI_Requests and
MPI_Datatypes."""
homepage = "https://github.com/LLNL/mpileaks"
url = "https://github.com/LLNL/mpileaks/releases/download/v1.0/mpileaks-1.0.tar.gz"
maintainers("adamjstewart")
license("BSD-3-Clause", checked_by="adamjstewart")
version("1.0", sha256="2e34cc4505556d1c1f085758e26f2f8eea0972db9382f051b2dcfb1d7d9e1825")
# FIXME: Add dependencies if required.
# depends_on("foo")
def configure_args(self):
# FIXME: Add arguments other than --prefix
# FIXME: If not needed delete this function
args = []
return args
At this point we’ve only updated key documentation within the package. It won’t help us build the software but the information is now available for review.
Let’s enter the spack info
command for the package:
$ spack info tutorial-mpileaks
AutotoolsPackage: tutorial-mpileaks
Description:
Tool to detect and report MPI objects like MPI_Requests and
MPI_Datatypes.
Homepage: https://github.com/LLNL/mpileaks
Preferred version:
1.0 https://github.com/LLNL/mpileaks/releases/download/v1.0/mpileaks-1.0.tar.gz
Safe versions:
1.0 https://github.com/LLNL/mpileaks/releases/download/v1.0/mpileaks-1.0.tar.gz
Deprecated versions:
None
Variants:
build_system [autotools] autotools
Build systems supported by the package
Build Dependencies:
gmake gnuconfig
Link Dependencies:
None
Run Dependencies:
None
Licenses:
BSD-3-Clause
Take a moment to look over the output. You should see the following information derived from the package:
it is an Autotools package;
it has the description, homepage, and maintainer(s) we provided;
it has the URL we gave the
spack create
command;the preferred version was derived from the code;
the default Autotools package installation phases are listed;
the
gnuconfig
build dependency is inherited fromAutotoolsPackage
;both the link and run dependencies are
None
at this point; andit uses the 3-clause BSD license.
As we fill in more information about the package, the spack info
command will become more informative.
Note
More information on using Autotools packages is provided in AutotoolsPackage.
The full list of build systems known to Spack can be found at Build Systems.
More information on the build-time tests can be found at https://spack.readthedocs.io/en/latest/packaging_guide.html#build-time-tests.
Refer to the links at the end of this section for more information.
Now we’re ready to start filling in the build recipe.
Adding Dependencies
First we’ll add the dependencies determined by reviewing documentation
in the software’s repository (https://github.com/LLNL/mpileaks). The
mpileaks
software relies on three third-party libraries:
mpi
,adept-utils
, andcallpath
.
Note
Luckily, all of these dependencies are built-in packages in Spack; otherwise, we would have to create packages for them as well.
Bring mpileaks’ package.py
file back up in your $EDITOR
with
the spack edit
command:
$ spack edit tutorial-mpileaks
and add the dependencies by specifying them using the depends_on
directive as shown below:
from spack import *
class TutorialMpileaks(AutotoolsPackage):
"""Tool to detect and report MPI objects like MPI_Requests and
MPI_Datatypes."""
homepage = "https://github.com/LLNL/mpileaks"
url = "https://github.com/LLNL/mpileaks/releases/download/v1.0/mpileaks-1.0.tar.gz"
maintainers("adamjstewart")
license("BSD-3-Clause", checked_by="adamjstewart")
version("1.0", sha256="2e34cc4505556d1c1f085758e26f2f8eea0972db9382f051b2dcfb1d7d9e1825")
depends_on("mpi")
depends_on("adept-utils")
depends_on("callpath")
def configure_args(self):
# FIXME: Add arguments other than --prefix
# FIXME: If not needed delete this function
args = []
return args
Adding dependencies tells Spack that it must ensure these packages are installed before it can build our package.
Note
The mpi
dependency is different from the other two in that it is
a virtual dependency. That means Spack must satisfy the dependency
with a package that provides the mpi
interface, such as openmpi
or mvapich2
.
We call such packages providers. More information on virtual dependencies can be found in the Packaging Guide linked at the bottom of this tutorial.
Let’s check that dependencies are effectively built when we try to install tutorial-mpileaks
:
$ spack install tutorial-mpileaks
[+] /usr (external glibc-2.35-a7drdl4tlx4bu3mzhor75pskvd3pdot6)
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd
==> Installing ca-certificates-mozilla-2023-05-30-yw5x67uxvt6sapin6ft4cxfnwljusmbf [3/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-ca-certificates-mozilla-2023-05-30-yw5x67uxvt6sapin6ft4cxfnwljusmbf.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/ca-certificates-mozilla-2023-05-30/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-ca-certificates-mozilla-2023-05-30-yw5x67uxvt6sapin6ft4cxfnwljusmbf.spack
==> Extracting ca-certificates-mozilla-2023-05-30-yw5x67uxvt6sapin6ft4cxfnwljusmbf from binary cache
==> ca-certificates-mozilla: Successfully installed ca-certificates-mozilla-2023-05-30-yw5x67uxvt6sapin6ft4cxfnwljusmbf
Search: 0.00s. Fetch: 0.25s. Install: 0.07s. Extract: 0.05s. Relocate: 0.01s. Total: 0.32s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/ca-certificates-mozilla-2023-05-30-yw5x67uxvt6sapin6ft4cxfnwljusmbf
==> Installing boost-1.72.0-jwovt2o6oqll4zutrrwbo2ezyreewtr5 [4/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-boost-1.72.0-jwovt2o6oqll4zutrrwbo2ezyreewtr5.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/boost-1.72.0/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-boost-1.72.0-jwovt2o6oqll4zutrrwbo2ezyreewtr5.spack
==> Extracting boost-1.72.0-jwovt2o6oqll4zutrrwbo2ezyreewtr5 from binary cache
==> boost: Successfully installed boost-1.72.0-jwovt2o6oqll4zutrrwbo2ezyreewtr5
Search: 0.00s. Fetch: 0.02s. Install: 2.99s. Extract: 2.94s. Relocate: 0.04s. Total: 3.01s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/boost-1.72.0-jwovt2o6oqll4zutrrwbo2ezyreewtr5
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo
==> Installing findutils-4.9.0-v4yzc2wwg33pu64bs64rfhu6k4nb3r33 [6/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-findutils-4.9.0-v4yzc2wwg33pu64bs64rfhu6k4nb3r33.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/findutils-4.9.0/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-findutils-4.9.0-v4yzc2wwg33pu64bs64rfhu6k4nb3r33.spack
==> Extracting findutils-4.9.0-v4yzc2wwg33pu64bs64rfhu6k4nb3r33 from binary cache
==> findutils: Successfully installed findutils-4.9.0-v4yzc2wwg33pu64bs64rfhu6k4nb3r33
Search: 0.00s. Fetch: 0.01s. Install: 0.10s. Extract: 0.06s. Relocate: 0.04s. Total: 0.11s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/findutils-4.9.0-v4yzc2wwg33pu64bs64rfhu6k4nb3r33
==> Installing xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz [7/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/xz-5.4.6/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz.spack
==> Extracting xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz from binary cache
==> xz: Successfully installed xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz
Search: 0.00s. Fetch: 0.01s. Install: 0.13s. Extract: 0.11s. Relocate: 0.02s. Total: 0.14s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz
==> Installing libsigsegv-2.14-jwy3fyzf5vk74lvkdpa6uf4rqlvfz7my [8/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libsigsegv-2.14-jwy3fyzf5vk74lvkdpa6uf4rqlvfz7my.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libsigsegv-2.14/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libsigsegv-2.14-jwy3fyzf5vk74lvkdpa6uf4rqlvfz7my.spack
==> Extracting libsigsegv-2.14-jwy3fyzf5vk74lvkdpa6uf4rqlvfz7my from binary cache
==> libsigsegv: Successfully installed libsigsegv-2.14-jwy3fyzf5vk74lvkdpa6uf4rqlvfz7my
Search: 0.00s. Fetch: 0.01s. Install: 0.03s. Extract: 0.01s. Relocate: 0.01s. Total: 0.04s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libsigsegv-2.14-jwy3fyzf5vk74lvkdpa6uf4rqlvfz7my
==> Installing zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr [9/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zstd-1.5.6/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr.spack
==> Extracting zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr from binary cache
==> zstd: Successfully installed zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr
Search: 0.00s. Fetch: 0.01s. Install: 0.09s. Extract: 0.05s. Relocate: 0.04s. Total: 0.09s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr
==> Installing diffutils-3.10-mhzfdlk4s72qc2lndxqz4v6tcxkis5ez [10/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-diffutils-3.10-mhzfdlk4s72qc2lndxqz4v6tcxkis5ez.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/diffutils-3.10/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-diffutils-3.10-mhzfdlk4s72qc2lndxqz4v6tcxkis5ez.spack
==> Extracting diffutils-3.10-mhzfdlk4s72qc2lndxqz4v6tcxkis5ez from binary cache
==> diffutils: Successfully installed diffutils-3.10-mhzfdlk4s72qc2lndxqz4v6tcxkis5ez
Search: 0.00s. Fetch: 0.01s. Install: 0.07s. Extract: 0.05s. Relocate: 0.02s. Total: 0.08s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/diffutils-3.10-mhzfdlk4s72qc2lndxqz4v6tcxkis5ez
==> Installing libiberty-2.41-npyb6xv5oww2fxymv7qhlm46sfmv63pw [11/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libiberty-2.41-npyb6xv5oww2fxymv7qhlm46sfmv63pw.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libiberty-2.41/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libiberty-2.41-npyb6xv5oww2fxymv7qhlm46sfmv63pw.spack
==> Extracting libiberty-2.41-npyb6xv5oww2fxymv7qhlm46sfmv63pw from binary cache
==> libiberty: Successfully installed libiberty-2.41-npyb6xv5oww2fxymv7qhlm46sfmv63pw
Search: 0.00s. Fetch: 0.01s. Install: 0.06s. Extract: 0.03s. Relocate: 0.03s. Total: 0.07s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libiberty-2.41-npyb6xv5oww2fxymv7qhlm46sfmv63pw
==> Installing pkgconf-2.2.0-h3x3l7sed4l2efuskhaldi6ilmkoyeaa [12/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-pkgconf-2.2.0-h3x3l7sed4l2efuskhaldi6ilmkoyeaa.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pkgconf-2.2.0/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-pkgconf-2.2.0-h3x3l7sed4l2efuskhaldi6ilmkoyeaa.spack
==> Extracting pkgconf-2.2.0-h3x3l7sed4l2efuskhaldi6ilmkoyeaa from binary cache
==> pkgconf: Successfully installed pkgconf-2.2.0-h3x3l7sed4l2efuskhaldi6ilmkoyeaa
Search: 0.00s. Fetch: 0.01s. Install: 0.04s. Extract: 0.02s. Relocate: 0.01s. Total: 0.05s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pkgconf-2.2.0-h3x3l7sed4l2efuskhaldi6ilmkoyeaa
==> Installing util-macros-1.19.3-egkyddpgsgnwgmdzd4tlmqxnh3o3lhrq [13/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-util-macros-1.19.3-egkyddpgsgnwgmdzd4tlmqxnh3o3lhrq.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/util-macros-1.19.3/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-util-macros-1.19.3-egkyddpgsgnwgmdzd4tlmqxnh3o3lhrq.spack
==> Extracting util-macros-1.19.3-egkyddpgsgnwgmdzd4tlmqxnh3o3lhrq from binary cache
==> util-macros: Successfully installed util-macros-1.19.3-egkyddpgsgnwgmdzd4tlmqxnh3o3lhrq
Search: 0.00s. Fetch: 0.01s. Install: 0.02s. Extract: 0.01s. Relocate: 0.01s. Total: 0.03s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/util-macros-1.19.3-egkyddpgsgnwgmdzd4tlmqxnh3o3lhrq
==> Installing zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4 [14/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.1.6/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4.spack
==> Extracting zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4 from binary cache
==> zlib-ng: Successfully installed zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4
Search: 0.00s. Fetch: 0.01s. Install: 0.03s. Extract: 0.01s. Relocate: 0.01s. Total: 0.04s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4
==> Installing berkeley-db-18.1.40-br27jq6mkoumsbtdldgzcm3lw5zqjvel [15/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-berkeley-db-18.1.40-br27jq6mkoumsbtdldgzcm3lw5zqjvel.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/berkeley-db-18.1.40/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-berkeley-db-18.1.40-br27jq6mkoumsbtdldgzcm3lw5zqjvel.spack
==> Extracting berkeley-db-18.1.40-br27jq6mkoumsbtdldgzcm3lw5zqjvel from binary cache
==> berkeley-db: Successfully installed berkeley-db-18.1.40-br27jq6mkoumsbtdldgzcm3lw5zqjvel
Search: 0.00s. Fetch: 0.01s. Install: 0.13s. Extract: 0.10s. Relocate: 0.02s. Total: 0.14s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/berkeley-db-18.1.40-br27jq6mkoumsbtdldgzcm3lw5zqjvel
==> Installing m4-1.4.19-7d6p4sfrp4viryzbg5nxd2nsgm46d6x2 [16/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-m4-1.4.19-7d6p4sfrp4viryzbg5nxd2nsgm46d6x2.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/m4-1.4.19/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-m4-1.4.19-7d6p4sfrp4viryzbg5nxd2nsgm46d6x2.spack
==> Extracting m4-1.4.19-7d6p4sfrp4viryzbg5nxd2nsgm46d6x2 from binary cache
==> m4: Successfully installed m4-1.4.19-7d6p4sfrp4viryzbg5nxd2nsgm46d6x2
Search: 0.00s. Fetch: 0.01s. Install: 0.07s. Extract: 0.04s. Relocate: 0.02s. Total: 0.07s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/m4-1.4.19-7d6p4sfrp4viryzbg5nxd2nsgm46d6x2
==> Installing bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc [17/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/bzip2-1.0.8/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc.spack
==> Extracting bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc from binary cache
==> bzip2: Successfully installed bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc
Search: 0.00s. Fetch: 0.01s. Install: 0.04s. Extract: 0.02s. Relocate: 0.02s. Total: 0.05s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc
==> Installing ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa [18/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/ncurses-6.5/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa.spack
==> Extracting ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa from binary cache
==> ncurses: Successfully installed ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa
Search: 0.00s. Fetch: 0.01s. Install: 0.69s. Extract: 0.66s. Relocate: 0.02s. Total: 0.70s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa
==> Installing nghttp2-1.57.0-pn6bnmhdnu3jaiukkhvak4dbvzez4d7i [19/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-nghttp2-1.57.0-pn6bnmhdnu3jaiukkhvak4dbvzez4d7i.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/nghttp2-1.57.0/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-nghttp2-1.57.0-pn6bnmhdnu3jaiukkhvak4dbvzez4d7i.spack
==> Extracting nghttp2-1.57.0-pn6bnmhdnu3jaiukkhvak4dbvzez4d7i from binary cache
==> nghttp2: Successfully installed nghttp2-1.57.0-pn6bnmhdnu3jaiukkhvak4dbvzez4d7i
Search: 0.00s. Fetch: 0.02s. Install: 0.06s. Extract: 0.04s. Relocate: 0.01s. Total: 0.07s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/nghttp2-1.57.0-pn6bnmhdnu3jaiukkhvak4dbvzez4d7i
==> Installing libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e [20/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxml2-2.10.3/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e.spack
==> Extracting libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e from binary cache
==> libxml2: Successfully installed libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e
Search: 0.00s. Fetch: 0.01s. Install: 0.18s. Extract: 0.12s. Relocate: 0.05s. Total: 0.19s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e
==> Installing pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z [21/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pigz-2.8/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z.spack
==> Extracting pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z from binary cache
==> pigz: Successfully installed pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z
Search: 0.00s. Fetch: 0.01s. Install: 0.03s. Extract: 0.01s. Relocate: 0.02s. Total: 0.04s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z
==> Installing libtool-2.4.7-lop7htuzty2qpcu6own5hdvs6evoa2bg [22/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libtool-2.4.7-lop7htuzty2qpcu6own5hdvs6evoa2bg.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libtool-2.4.7/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libtool-2.4.7-lop7htuzty2qpcu6own5hdvs6evoa2bg.spack
==> Extracting libtool-2.4.7-lop7htuzty2qpcu6own5hdvs6evoa2bg from binary cache
==> libtool: Successfully installed libtool-2.4.7-lop7htuzty2qpcu6own5hdvs6evoa2bg
Search: 0.00s. Fetch: 0.01s. Install: 0.10s. Extract: 0.05s. Relocate: 0.05s. Total: 0.11s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libtool-2.4.7-lop7htuzty2qpcu6own5hdvs6evoa2bg
==> Installing bison-3.8.2-6wy33u6zyt2bd2hag3abhg3ohmi6jwvc [23/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-bison-3.8.2-6wy33u6zyt2bd2hag3abhg3ohmi6jwvc.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/bison-3.8.2/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-bison-3.8.2-6wy33u6zyt2bd2hag3abhg3ohmi6jwvc.spack
==> Extracting bison-3.8.2-6wy33u6zyt2bd2hag3abhg3ohmi6jwvc from binary cache
==> bison: Successfully installed bison-3.8.2-6wy33u6zyt2bd2hag3abhg3ohmi6jwvc
Search: 0.00s. Fetch: 0.01s. Install: 0.13s. Extract: 0.11s. Relocate: 0.02s. Total: 0.14s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/bison-3.8.2-6wy33u6zyt2bd2hag3abhg3ohmi6jwvc
==> Installing readline-8.2-cb6x34ku73pjh3f4t7rmpthnxuumw25x [24/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-readline-8.2-cb6x34ku73pjh3f4t7rmpthnxuumw25x.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/readline-8.2/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-readline-8.2-cb6x34ku73pjh3f4t7rmpthnxuumw25x.spack
==> Extracting readline-8.2-cb6x34ku73pjh3f4t7rmpthnxuumw25x from binary cache
==> readline: Successfully installed readline-8.2-cb6x34ku73pjh3f4t7rmpthnxuumw25x
Search: 0.00s. Fetch: 0.01s. Install: 0.08s. Extract: 0.06s. Relocate: 0.02s. Total: 0.09s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/readline-8.2-cb6x34ku73pjh3f4t7rmpthnxuumw25x
==> Installing libedit-3.1-20230828-swglgxeckeajkjp4b7d66fbsyn6hjsdh [25/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libedit-3.1-20230828-swglgxeckeajkjp4b7d66fbsyn6hjsdh.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libedit-3.1-20230828/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libedit-3.1-20230828-swglgxeckeajkjp4b7d66fbsyn6hjsdh.spack
==> Extracting libedit-3.1-20230828-swglgxeckeajkjp4b7d66fbsyn6hjsdh from binary cache
==> libedit: Successfully installed libedit-3.1-20230828-swglgxeckeajkjp4b7d66fbsyn6hjsdh
Search: 0.00s. Fetch: 0.01s. Install: 0.06s. Extract: 0.04s. Relocate: 0.02s. Total: 0.07s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libedit-3.1-20230828-swglgxeckeajkjp4b7d66fbsyn6hjsdh
==> Installing tar-1.34-wx4xfdnr4uzmlkbzpeuizbduh4e5klhj [26/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-tar-1.34-wx4xfdnr4uzmlkbzpeuizbduh4e5klhj.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tar-1.34/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-tar-1.34-wx4xfdnr4uzmlkbzpeuizbduh4e5klhj.spack
==> Extracting tar-1.34-wx4xfdnr4uzmlkbzpeuizbduh4e5klhj from binary cache
==> tar: Successfully installed tar-1.34-wx4xfdnr4uzmlkbzpeuizbduh4e5klhj
Search: 0.00s. Fetch: 0.01s. Install: 0.12s. Extract: 0.09s. Relocate: 0.03s. Total: 0.13s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tar-1.34-wx4xfdnr4uzmlkbzpeuizbduh4e5klhj
==> Installing libpciaccess-0.17-esgx75jgr6iu4dkcw566yvz4tmx33ljz [27/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libpciaccess-0.17-esgx75jgr6iu4dkcw566yvz4tmx33ljz.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libpciaccess-0.17/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libpciaccess-0.17-esgx75jgr6iu4dkcw566yvz4tmx33ljz.spack
==> Extracting libpciaccess-0.17-esgx75jgr6iu4dkcw566yvz4tmx33ljz from binary cache
==> libpciaccess: Successfully installed libpciaccess-0.17-esgx75jgr6iu4dkcw566yvz4tmx33ljz
Search: 0.00s. Fetch: 0.01s. Install: 0.04s. Extract: 0.02s. Relocate: 0.01s. Total: 0.04s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libpciaccess-0.17-esgx75jgr6iu4dkcw566yvz4tmx33ljz
==> Installing gdbm-1.23-ohbrdtphnhbycgd6p3btrxzjbtkwiqn6 [28/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-gdbm-1.23-ohbrdtphnhbycgd6p3btrxzjbtkwiqn6.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gdbm-1.23/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-gdbm-1.23-ohbrdtphnhbycgd6p3btrxzjbtkwiqn6.spack
==> Extracting gdbm-1.23-ohbrdtphnhbycgd6p3btrxzjbtkwiqn6 from binary cache
==> gdbm: Successfully installed gdbm-1.23-ohbrdtphnhbycgd6p3btrxzjbtkwiqn6
Search: 0.00s. Fetch: 0.01s. Install: 0.07s. Extract: 0.04s. Relocate: 0.02s. Total: 0.08s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gdbm-1.23-ohbrdtphnhbycgd6p3btrxzjbtkwiqn6
==> Installing gettext-0.22.5-eux6e6vvrk7uz4tx3vmjkyonhnvhseeu [29/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-gettext-0.22.5-eux6e6vvrk7uz4tx3vmjkyonhnvhseeu.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gettext-0.22.5/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-gettext-0.22.5-eux6e6vvrk7uz4tx3vmjkyonhnvhseeu.spack
==> Extracting gettext-0.22.5-eux6e6vvrk7uz4tx3vmjkyonhnvhseeu from binary cache
==> gettext: Successfully installed gettext-0.22.5-eux6e6vvrk7uz4tx3vmjkyonhnvhseeu
Search: 0.00s. Fetch: 0.01s. Install: 0.72s. Extract: 0.65s. Relocate: 0.06s. Total: 0.73s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gettext-0.22.5-eux6e6vvrk7uz4tx3vmjkyonhnvhseeu
==> Installing hwloc-2.9.1-ujih6ikevwjglzswfu4wf7eimac2pvsh [30/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-hwloc-2.9.1-ujih6ikevwjglzswfu4wf7eimac2pvsh.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hwloc-2.9.1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-hwloc-2.9.1-ujih6ikevwjglzswfu4wf7eimac2pvsh.spack
==> Extracting hwloc-2.9.1-ujih6ikevwjglzswfu4wf7eimac2pvsh from binary cache
==> hwloc: Successfully installed hwloc-2.9.1-ujih6ikevwjglzswfu4wf7eimac2pvsh
Search: 0.00s. Fetch: 0.02s. Install: 0.26s. Extract: 0.19s. Relocate: 0.06s. Total: 0.28s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hwloc-2.9.1-ujih6ikevwjglzswfu4wf7eimac2pvsh
==> Installing perl-5.38.0-uliw6spxatqyj5bjxwtf6ckndktozqqo [31/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-perl-5.38.0-uliw6spxatqyj5bjxwtf6ckndktozqqo.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/perl-5.38.0/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-perl-5.38.0-uliw6spxatqyj5bjxwtf6ckndktozqqo.spack
==> Extracting perl-5.38.0-uliw6spxatqyj5bjxwtf6ckndktozqqo from binary cache
==> perl: Successfully installed perl-5.38.0-uliw6spxatqyj5bjxwtf6ckndktozqqo
Search: 0.00s. Fetch: 0.02s. Install: 0.95s. Extract: 0.76s. Relocate: 0.18s. Total: 0.96s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/perl-5.38.0-uliw6spxatqyj5bjxwtf6ckndktozqqo
==> Installing elfutils-0.190-mn77wznxbwaxb7mwm34rjjlsg3xzwuog [32/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-elfutils-0.190-mn77wznxbwaxb7mwm34rjjlsg3xzwuog.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/elfutils-0.190/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-elfutils-0.190-mn77wznxbwaxb7mwm34rjjlsg3xzwuog.spack
==> Extracting elfutils-0.190-mn77wznxbwaxb7mwm34rjjlsg3xzwuog from binary cache
==> elfutils: Successfully installed elfutils-0.190-mn77wznxbwaxb7mwm34rjjlsg3xzwuog
Search: 0.00s. Fetch: 0.02s. Install: 0.40s. Extract: 0.30s. Relocate: 0.09s. Total: 0.43s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/elfutils-0.190-mn77wznxbwaxb7mwm34rjjlsg3xzwuog
==> Installing libxcrypt-4.4.35-qwi6aof3wwuahmefzsrnvhristv2zglh [33/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libxcrypt-4.4.35-qwi6aof3wwuahmefzsrnvhristv2zglh.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxcrypt-4.4.35/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libxcrypt-4.4.35-qwi6aof3wwuahmefzsrnvhristv2zglh.spack
==> Extracting libxcrypt-4.4.35-qwi6aof3wwuahmefzsrnvhristv2zglh from binary cache
==> libxcrypt: Successfully installed libxcrypt-4.4.35-qwi6aof3wwuahmefzsrnvhristv2zglh
Search: 0.00s. Fetch: 0.01s. Install: 0.06s. Extract: 0.04s. Relocate: 0.01s. Total: 0.07s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxcrypt-4.4.35-qwi6aof3wwuahmefzsrnvhristv2zglh
==> Installing openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij [34/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssl-3.3.0/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij.spack
==> Extracting openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij from binary cache
==> openssl: Successfully installed openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij
Search: 0.00s. Fetch: 0.01s. Install: 0.26s. Extract: 0.23s. Relocate: 0.03s. Total: 0.28s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij
==> Installing autoconf-2.72-ljmgup2xu5fzbqhilaeonlgfasmo5hhh [35/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-autoconf-2.72-ljmgup2xu5fzbqhilaeonlgfasmo5hhh.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/autoconf-2.72/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-autoconf-2.72-ljmgup2xu5fzbqhilaeonlgfasmo5hhh.spack
==> Extracting autoconf-2.72-ljmgup2xu5fzbqhilaeonlgfasmo5hhh from binary cache
==> autoconf: Successfully installed autoconf-2.72-ljmgup2xu5fzbqhilaeonlgfasmo5hhh
Search: 0.00s. Fetch: 0.01s. Install: 0.10s. Extract: 0.06s. Relocate: 0.03s. Total: 0.11s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/autoconf-2.72-ljmgup2xu5fzbqhilaeonlgfasmo5hhh
==> Installing libdwarf-20180129-3ybjurs2wa6kwiqggrvs573tkx3wdsif [36/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libdwarf-20180129-3ybjurs2wa6kwiqggrvs573tkx3wdsif.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libdwarf-20180129/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libdwarf-20180129-3ybjurs2wa6kwiqggrvs573tkx3wdsif.spack
==> Extracting libdwarf-20180129-3ybjurs2wa6kwiqggrvs573tkx3wdsif from binary cache
==> libdwarf: Successfully installed libdwarf-20180129-3ybjurs2wa6kwiqggrvs573tkx3wdsif
Search: 0.00s. Fetch: 0.01s. Install: 0.16s. Extract: 0.09s. Relocate: 0.06s. Total: 0.17s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libdwarf-20180129-3ybjurs2wa6kwiqggrvs573tkx3wdsif
==> Installing krb5-1.20.1-kqbte2e4fgnkv2m2zwcagwgkiluqlkdn [37/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-krb5-1.20.1-kqbte2e4fgnkv2m2zwcagwgkiluqlkdn.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/krb5-1.20.1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-krb5-1.20.1-kqbte2e4fgnkv2m2zwcagwgkiluqlkdn.spack
==> Extracting krb5-1.20.1-kqbte2e4fgnkv2m2zwcagwgkiluqlkdn from binary cache
==> krb5: Successfully installed krb5-1.20.1-kqbte2e4fgnkv2m2zwcagwgkiluqlkdn
Search: 0.00s. Fetch: 0.01s. Install: 0.18s. Extract: 0.11s. Relocate: 0.06s. Total: 0.19s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/krb5-1.20.1-kqbte2e4fgnkv2m2zwcagwgkiluqlkdn
==> Installing libevent-2.1.12-uv2twd5kir57zlvu4ntf3cffa2lad47g [38/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libevent-2.1.12-uv2twd5kir57zlvu4ntf3cffa2lad47g.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libevent-2.1.12/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-libevent-2.1.12-uv2twd5kir57zlvu4ntf3cffa2lad47g.spack
==> Extracting libevent-2.1.12-uv2twd5kir57zlvu4ntf3cffa2lad47g from binary cache
==> libevent: Successfully installed libevent-2.1.12-uv2twd5kir57zlvu4ntf3cffa2lad47g
Search: 0.00s. Fetch: 0.01s. Install: 0.13s. Extract: 0.09s. Relocate: 0.02s. Total: 0.14s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libevent-2.1.12-uv2twd5kir57zlvu4ntf3cffa2lad47g
==> Installing curl-8.7.1-cc6xd2h6vihed63v7gavflnhgxty3pwc [39/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-curl-8.7.1-cc6xd2h6vihed63v7gavflnhgxty3pwc.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/curl-8.7.1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-curl-8.7.1-cc6xd2h6vihed63v7gavflnhgxty3pwc.spack
==> Extracting curl-8.7.1-cc6xd2h6vihed63v7gavflnhgxty3pwc from binary cache
==> curl: Successfully installed curl-8.7.1-cc6xd2h6vihed63v7gavflnhgxty3pwc
Search: 0.00s. Fetch: 0.01s. Install: 0.17s. Extract: 0.13s. Relocate: 0.02s. Total: 0.18s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/curl-8.7.1-cc6xd2h6vihed63v7gavflnhgxty3pwc
==> Installing automake-1.16.5-p742yhmxrgeohdxdmiduznbou2rnf3bt [40/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-automake-1.16.5-p742yhmxrgeohdxdmiduznbou2rnf3bt.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/automake-1.16.5/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-automake-1.16.5-p742yhmxrgeohdxdmiduznbou2rnf3bt.spack
==> Extracting automake-1.16.5-p742yhmxrgeohdxdmiduznbou2rnf3bt from binary cache
==> automake: Successfully installed automake-1.16.5-p742yhmxrgeohdxdmiduznbou2rnf3bt
Search: 0.00s. Fetch: 0.01s. Install: 0.11s. Extract: 0.06s. Relocate: 0.04s. Total: 0.11s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/automake-1.16.5-p742yhmxrgeohdxdmiduznbou2rnf3bt
==> Installing openssh-9.7p1-iiuja4vvxdkrnzipyeyvzpxiqln2o2sd [41/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-openssh-9.7p1-iiuja4vvxdkrnzipyeyvzpxiqln2o2sd.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssh-9.7p1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-openssh-9.7p1-iiuja4vvxdkrnzipyeyvzpxiqln2o2sd.spack
==> Extracting openssh-9.7p1-iiuja4vvxdkrnzipyeyvzpxiqln2o2sd from binary cache
==> openssh: Successfully installed openssh-9.7p1-iiuja4vvxdkrnzipyeyvzpxiqln2o2sd
Search: 0.00s. Fetch: 0.01s. Install: 0.17s. Extract: 0.09s. Relocate: 0.06s. Total: 0.18s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssh-9.7p1-iiuja4vvxdkrnzipyeyvzpxiqln2o2sd
==> Installing pmix-5.0.1-bzewb3i2g5m4lv2jq3prq6nqvzrpdilw [42/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-pmix-5.0.1-bzewb3i2g5m4lv2jq3prq6nqvzrpdilw.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pmix-5.0.1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-pmix-5.0.1-bzewb3i2g5m4lv2jq3prq6nqvzrpdilw.spack
==> Extracting pmix-5.0.1-bzewb3i2g5m4lv2jq3prq6nqvzrpdilw from binary cache
==> pmix: Successfully installed pmix-5.0.1-bzewb3i2g5m4lv2jq3prq6nqvzrpdilw
Search: 0.00s. Fetch: 0.01s. Install: 0.27s. Extract: 0.19s. Relocate: 0.07s. Total: 0.28s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pmix-5.0.1-bzewb3i2g5m4lv2jq3prq6nqvzrpdilw
==> Installing cmake-3.27.9-fkjttm2fmowwdwblxovotnaxqxtehkku [43/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-cmake-3.27.9-fkjttm2fmowwdwblxovotnaxqxtehkku.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/cmake-3.27.9/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-cmake-3.27.9-fkjttm2fmowwdwblxovotnaxqxtehkku.spack
==> Extracting cmake-3.27.9-fkjttm2fmowwdwblxovotnaxqxtehkku from binary cache
==> cmake: Successfully installed cmake-3.27.9-fkjttm2fmowwdwblxovotnaxqxtehkku
Search: 0.00s. Fetch: 0.03s. Install: 1.42s. Extract: 1.27s. Relocate: 0.13s. Total: 1.45s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/cmake-3.27.9-fkjttm2fmowwdwblxovotnaxqxtehkku
==> Installing numactl-2.0.14-oece2d6cta5zgxcbziturcqsugvbehjg [44/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-numactl-2.0.14-oece2d6cta5zgxcbziturcqsugvbehjg.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/numactl-2.0.14/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-numactl-2.0.14-oece2d6cta5zgxcbziturcqsugvbehjg.spack
==> Extracting numactl-2.0.14-oece2d6cta5zgxcbziturcqsugvbehjg from binary cache
==> numactl: Successfully installed numactl-2.0.14-oece2d6cta5zgxcbziturcqsugvbehjg
Search: 0.00s. Fetch: 0.02s. Install: 0.06s. Extract: 0.03s. Relocate: 0.02s. Total: 0.08s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/numactl-2.0.14-oece2d6cta5zgxcbziturcqsugvbehjg
==> Installing intel-tbb-2021.9.0-ucz3jsxsjee6oj3id56xjzkxjbx7ple5 [45/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-intel-tbb-2021.9.0-ucz3jsxsjee6oj3id56xjzkxjbx7ple5.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/intel-tbb-2021.9.0/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-intel-tbb-2021.9.0-ucz3jsxsjee6oj3id56xjzkxjbx7ple5.spack
==> Extracting intel-tbb-2021.9.0-ucz3jsxsjee6oj3id56xjzkxjbx7ple5 from binary cache
==> intel-tbb: Successfully installed intel-tbb-2021.9.0-ucz3jsxsjee6oj3id56xjzkxjbx7ple5
Search: 0.00s. Fetch: 0.01s. Install: 0.11s. Extract: 0.06s. Relocate: 0.03s. Total: 0.11s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/intel-tbb-2021.9.0-ucz3jsxsjee6oj3id56xjzkxjbx7ple5
==> Installing openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal [46/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal.spack
==> Extracting openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal from binary cache
==> openmpi: Successfully installed openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal
Search: 0.00s. Fetch: 0.02s. Install: 1.02s. Extract: 0.92s. Relocate: 0.08s. Total: 1.05s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal
==> Installing dyninst-13.0.0-rf22klz3gg2aggvfkypfk2e55oigyhly [47/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-dyninst-13.0.0-rf22klz3gg2aggvfkypfk2e55oigyhly.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/dyninst-13.0.0/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-dyninst-13.0.0-rf22klz3gg2aggvfkypfk2e55oigyhly.spack
==> Extracting dyninst-13.0.0-rf22klz3gg2aggvfkypfk2e55oigyhly from binary cache
==> dyninst: Successfully installed dyninst-13.0.0-rf22klz3gg2aggvfkypfk2e55oigyhly
Search: 0.00s. Fetch: 0.02s. Install: 0.38s. Extract: 0.26s. Relocate: 0.10s. Total: 0.40s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/dyninst-13.0.0-rf22klz3gg2aggvfkypfk2e55oigyhly
==> Installing adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz [48/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz.spack
==> Extracting adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz from binary cache
==> adept-utils: Successfully installed adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz
Search: 0.00s. Fetch: 0.01s. Install: 0.22s. Extract: 0.04s. Relocate: 0.16s. Total: 0.23s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz
==> Installing callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo [49/50]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo.spec.json.sig
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo.spack
==> Extracting callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo from binary cache
==> callpath: Successfully installed callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo
Search: 0.00s. Fetch: 0.01s. Install: 0.15s. Extract: 0.05s. Relocate: 0.08s. Total: 0.16s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo
==> Installing tutorial-mpileaks-1.0-33dnbhaym6a5uwp7ezxi5r4ukhxc5r2m [50/50]
==> No binary for tutorial-mpileaks-1.0-33dnbhaym6a5uwp7ezxi5r4ukhxc5r2m found: installing from source
==> Using cached archive: /home/spack/spack/var/spack/cache/_source-cache/archive/2e/2e34cc4505556d1c1f085758e26f2f8eea0972db9382f051b2dcfb1d7d9e1825.tar.gz
==> No patches needed for tutorial-mpileaks
==> tutorial-mpileaks: Executing phase: 'autoreconf'
==> tutorial-mpileaks: Executing phase: 'configure'
==> Error: ProcessError: Command exited with status 1:
'/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-33dnbhaym6a5uwp7ezxi5r4ukhxc5r2m/spack-src/configure' '--prefix=/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-33dnbhaym6a5uwp7ezxi5r4ukhxc5r2m'
1 error found in build log:
28 checking whether /home/spack/spack/lib/spack/env/gcc/gcc and cc understand -c and
-o together... yes
29 checking whether we are using the GNU C++ compiler... yes
30 checking whether /home/spack/spack/lib/spack/env/gcc/g++ accepts -g... yes
31 checking dependency style of /home/spack/spack/lib/spack/env/gcc/g++... gcc3
32 checking for /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/op
enmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/bin/mpicc... /home/spack/spack/opt/sp
ack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkh
oxt2kal/bin/mpicc
33 Checking whether /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.
0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/bin/mpicc responds to '-showme:co
mpile'... yes
>> 34 configure: error: unable to locate adept-utils installation
See build log for details:
/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-33dnbhaym6a5uwp7ezxi5r4ukhxc5r2m/spack-build-out.txt
Note
This command may take a while to run and may produce more output if you don’t already have an MPI installed or configured in Spack.
We see that Spack has now identified and built all of our dependencies. It found that:
the
openmpi
package will satisfy ourmpi
dependency;adept-utils
is a concrete dependency; andcallpath
is a concrete dependency.
But we are still not able to build the package.
Debugging Package Builds
Our tutorial-mpileaks
package is still not building due to the
adept-utils
package’s configure
error. Experienced
Autotools developers will likely already see the problem and
its solution.
But let’s take this opportunity to use Spack features to investigate the problem. Our options for proceeding are:
review the build log; and
build the package manually.
Reviewing the Build Log
The build log might yield some clues so let’s look at the contents of
the spack-build-out.txt
file at the path recommended above by our
failed installation:
$ cat /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-33dnbhaym6a5uwp7ezxi5r4ukhxc5r2m/spack-build-out.txt
==> tutorial-mpileaks: Executing phase: 'autoreconf'
==> tutorial-mpileaks: Executing phase: 'configure'
==> [2024-05-12-12:37:11.217253] Find (recursive): /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-33dnbhaym6a5uwp7ezxi5r4ukhxc5r2m/spack-src ['configure']
==> [2024-05-12-12:37:11.218326] Find complete: /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-33dnbhaym6a5uwp7ezxi5r4ukhxc5r2m/spack-src ['configure']
==> [2024-05-12-12:37:11.218769] FILTER FILE: /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-33dnbhaym6a5uwp7ezxi5r4ukhxc5r2m/spack-src/configure [replacing "^(\s*if test x-L = )("\$p" \|\|\s*)$"]
==> [2024-05-12-12:37:11.255931] FILTER FILE: /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-33dnbhaym6a5uwp7ezxi5r4ukhxc5r2m/spack-src/configure [replacing "^(\s*test x-R = )("\$p")(; then\s*)$"]
==> [2024-05-12-12:37:11.287855] FILTER FILE: /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-33dnbhaym6a5uwp7ezxi5r4ukhxc5r2m/spack-src/configure [replacing "^(\s*test \$p = "-R")(; then\s*)$"]
==> [2024-05-12-12:37:11.309576] '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-33dnbhaym6a5uwp7ezxi5r4ukhxc5r2m/spack-src/configure' '--prefix=/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-33dnbhaym6a5uwp7ezxi5r4ukhxc5r2m'
checking metadata... no
checking installation directory variables... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... /home/spack/spack/lib/spack/env/gcc/gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /home/spack/spack/lib/spack/env/gcc/gcc accepts -g... yes
checking for /home/spack/spack/lib/spack/env/gcc/gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /home/spack/spack/lib/spack/env/gcc/gcc... gcc3
checking whether /home/spack/spack/lib/spack/env/gcc/gcc and cc understand -c and -o together... yes
checking whether we are using the GNU C++ compiler... yes
checking whether /home/spack/spack/lib/spack/env/gcc/g++ accepts -g... yes
checking dependency style of /home/spack/spack/lib/spack/env/gcc/g++... gcc3
checking for /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/bin/mpicc... /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/bin/mpicc
Checking whether /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/bin/mpicc responds to '-showme:compile'... yes
configure: error: unable to locate adept-utils installation
In this case the error conveniently appears on the last line of the log and the output from spack install.
Here we also see a number of checks performed by the configure
command.
Most importantly, the last line is very clear: the installation path of the
adept-utils
dependency cannot be found.
Note
Spack automatically adds standard include and library directories
to the compiler’s search path but it is not uncommon for this
information to not get picked up. Some software, like mpileaks
,
requires the paths to be explicitly provided on the command line.
So let’s investigate further from the staged build directory.
Building Manually
First let’s try to build the package manually to see if we can figure out how to solve the problem.
Let’s move to the build directory using the spack cd
command:
$ spack cd tutorial-mpileaks
You should now be in the appropriate stage directory since this
command moves us into the working directory of the last attempted
build. If not, you can cd
into the directory above that contained
the spack-build-out.txt
file then into it’s spack-src
subdirectory.
Now let’s ensure the environment is properly set up using the
spack build-env
command:
$ spack build-env tutorial-mpileaks bash
This command spawned a new shell containing the same environment
that Spack used to build the tutorial-mpileaks
package. (Feel
free to substitute your favorite shell for bash
.)
Note
If you are running using an AWS instance, you’ll want to
substitute your home directory for /home/spack
below.
From here we can manually re-run the build using the configure
command:
$ ./configure --prefix=/home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/mpileaks-1.0-wl3kx4o4bgegghl4u7hb3jk4toina3fx
checking metadata... no
checking installation directory variables... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... /home/spack/spack/lib/spack/env/gcc/gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /home/spack/spack/lib/spack/env/gcc/gcc accepts -g... yes
checking for /home/spack/spack/lib/spack/env/gcc/gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /home/spack/spack/lib/spack/env/gcc/gcc... gcc3
checking whether /home/spack/spack/lib/spack/env/gcc/gcc and cc understand -c and -o together... yes
checking whether we are using the GNU C++ compiler... yes
checking whether /home/spack/spack/lib/spack/env/gcc/g++ accepts -g... yes
checking dependency style of /home/spack/spack/lib/spack/env/gcc/g++... gcc3
checking for /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/openmpi-4.1.3-jfxctqwar7wb65rn7wf5mot7m4jxmsey/bin/mpicc... /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/openmpi-4.1.3-jfxctqwar7wb65rn7wf5mot7m4jxmsey/bin/mpicc
Checking whether /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/openmpi-4.1.3-jfxctqwar7wb65rn7wf5mot7m4jxmsey/bin/mpicc responds to '-showme:compile'... yes
configure: error: unable to locate adept-utils installation
checking metadata... no
checking installation directory variables... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... /home/spack/spack/lib/spack/env/gcc/gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /home/spack/spack/lib/spack/env/gcc/gcc accepts -g... yes
checking for /home/spack/spack/lib/spack/env/gcc/gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /home/spack/spack/lib/spack/env/gcc/gcc... gcc3
checking whether /home/spack/spack/lib/spack/env/gcc/gcc and cc understand -c and -o together... yes
checking whether we are using the GNU C++ compiler... yes
checking whether /home/spack/spack/lib/spack/env/gcc/g++ accepts -g... yes
checking dependency style of /home/spack/spack/lib/spack/env/gcc/g++... gcc3
checking for /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/openmpi-4.1.1-p5qicacmcy72pjljd4lfdy66kavxp3tv/bin/mpicc... /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/openmpi-4.1.1-p5qicacmcy72pjljd4lfdy66kavxp3tv/bin/mpicc
Checking whether /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/openmpi-4.1.1-p5qicacmcy72pjljd4lfdy66kavxp3tv/bin/mpicc responds to '-showme:compile'... yes
configure: error: unable to locate adept-utils installation
And we get the same results as before. Unfortunately, the output does not provide any additional information that can help us with the build.
Given that this is a simple package built with configure
and we know
that installation directories need to be specified, we can use its
help to see what command line options are available for the software.
$ ./configure --help
`configure' configures mpileaks 1.0 to adapt to many kinds of systems.
Usage: ./configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/mpileaks]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
Program names:
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
--enable-shared[=PKGS] build shared libraries [default=yes]
--enable-static[=PKGS] build static libraries [default=yes]
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-adept-utils=PATH Specify adept-utils path
--with-callpath=PATH Specify libcallpath path
--with-stack-start-c=value
Specify integer number for MPILEAKS_STACK_START for
C code
--with-stack-start-fortran=value
Specify integer number for MPILEAKS_STACK_START for
FORTRAN code
--with-pic try to use only PIC/non-PIC objects [default=use
both]
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CXX C++ compiler command
CXXFLAGS C++ compiler flags
CPP C preprocessor
CXXCPP C++ preprocessor
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
Report bugs to <moody20@llnl.gov>.
Note that you can specify the paths for the two concrete dependencies with the following options:
--with-adept-utils=PATH
--with-callpath=PATH
So let’s leave the spawned shell and return to the Spack repository directory:
$ exit
$ cd $SPACK_ROOT
Now that we know what arguments to provide, we can update the recipe.
Specifying Configure Arguments
We now know which options we need to pass to configure
, but how do we
know where to find the installation paths for the package’s dependencies
from within the package.py
file?
Fortunately, we can query the package’s concrete Spec
instance.
The self.spec
property holds the package’s directed acyclic graph
(DAG) of its dependencies. Each dependency’s Spec
, accessed by name,
has a prefix
property containing its installation path.
So let’s add the configuration arguments for specifying the paths to
the two concrete dependencies in the configure_args
method of our
package.
Bring mpileaks’ package.py
file back up in your $EDITOR
with
the spack edit
command:
$ spack edit tutorial-mpileaks
and add the --with-adept-utils
and --with-callpath
arguments
in the configure_args
method as follows:
from spack import *
class TutorialMpileaks(AutotoolsPackage):
"""Tool to detect and report MPI objects like MPI_Requests and
MPI_Datatypes."""
homepage = "https://github.com/LLNL/mpileaks"
url = "https://github.com/LLNL/mpileaks/releases/download/v1.0/mpileaks-1.0.tar.gz"
maintainers("adamjstewart")
version("1.0", sha256="2e34cc4505556d1c1f085758e26f2f8eea0972db9382f051b2dcfb1d7d9e1825")
license("BSD-3-Clause", checked_by="adamjstewart")
depends_on("mpi")
depends_on("adept-utils")
depends_on("callpath")
def configure_args(self):
args = [
f"--with-adept-utils={self.spec['adept-utils'].prefix}",
f"--with-callpath={self.spec['callpath'].prefix}",
]
return args
Since this is an AutotoolsPackage
, the arguments returned from the
method will automatically get passed to configure
during the build.
Now let’s try the build again:
$ spack install tutorial-mpileaks
[+] /usr (external glibc-2.35-a7drdl4tlx4bu3mzhor75pskvd3pdot6)
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxcrypt-4.4.35-qwi6aof3wwuahmefzsrnvhristv2zglh
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/boost-1.72.0-jwovt2o6oqll4zutrrwbo2ezyreewtr5
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libiberty-2.41-npyb6xv5oww2fxymv7qhlm46sfmv63pw
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/numactl-2.0.14-oece2d6cta5zgxcbziturcqsugvbehjg
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libpciaccess-0.17-esgx75jgr6iu4dkcw566yvz4tmx33ljz
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libedit-3.1-20230828-swglgxeckeajkjp4b7d66fbsyn6hjsdh
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pkgconf-2.2.0-h3x3l7sed4l2efuskhaldi6ilmkoyeaa
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libevent-2.1.12-uv2twd5kir57zlvu4ntf3cffa2lad47g
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hwloc-2.9.1-ujih6ikevwjglzswfu4wf7eimac2pvsh
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tar-1.34-wx4xfdnr4uzmlkbzpeuizbduh4e5klhj
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/intel-tbb-2021.9.0-ucz3jsxsjee6oj3id56xjzkxjbx7ple5
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pmix-5.0.1-bzewb3i2g5m4lv2jq3prq6nqvzrpdilw
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gettext-0.22.5-eux6e6vvrk7uz4tx3vmjkyonhnvhseeu
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/krb5-1.20.1-kqbte2e4fgnkv2m2zwcagwgkiluqlkdn
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/elfutils-0.190-mn77wznxbwaxb7mwm34rjjlsg3xzwuog
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssh-9.7p1-iiuja4vvxdkrnzipyeyvzpxiqln2o2sd
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libdwarf-20180129-3ybjurs2wa6kwiqggrvs573tkx3wdsif
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/dyninst-13.0.0-rf22klz3gg2aggvfkypfk2e55oigyhly
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo
==> Installing tutorial-mpileaks-1.0-ffgvemhupyyqvra22ta352ylyjt3ww7z [33/33]
==> No binary for tutorial-mpileaks-1.0-ffgvemhupyyqvra22ta352ylyjt3ww7z found: installing from source
==> Using cached archive: /home/spack/spack/var/spack/cache/_source-cache/archive/2e/2e34cc4505556d1c1f085758e26f2f8eea0972db9382f051b2dcfb1d7d9e1825.tar.gz
==> No patches needed for tutorial-mpileaks
==> tutorial-mpileaks: Executing phase: 'autoreconf'
==> tutorial-mpileaks: Executing phase: 'configure'
==> tutorial-mpileaks: Executing phase: 'build'
==> tutorial-mpileaks: Executing phase: 'install'
==> tutorial-mpileaks: Successfully installed tutorial-mpileaks-1.0-ffgvemhupyyqvra22ta352ylyjt3ww7z
Stage: 0.01s. Autoreconf: 0.00s. Configure: 6.45s. Build: 5.88s. Install: 0.27s. Post-install: 0.10s. Total: 13.02s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-ffgvemhupyyqvra22ta352ylyjt3ww7z
Success!
All we needed to do was add the path arguments for the two concrete packages for configure to perform a simple, no frills build.
But is that all we can do to help other users build our software?
Adding Variants
What if we want to expose the software’s optional features in the package? We can do this by adding build-time options using package variants.
Recall from configure’s help output for tutorial-mpileaks
that the
software has several optional features and packages that we could support
in Spack. Two stand out for tutorial purposes because they both take integers,
as opposed to simply allowing them to be enabled or disabled.
Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
--enable-shared[=PKGS] build shared libraries [default=yes]
--enable-static[=PKGS] build static libraries [default=yes]
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-adept-utils=PATH Specify adept-utils path
--with-callpath=PATH Specify libcallpath path
--with-stack-start-c=value
Specify integer number for MPILEAKS_STACK_START for
C code
--with-stack-start-fortran=value
Specify integer number for MPILEAKS_STACK_START for
FORTRAN code
--with-pic try to use only PIC/non-PIC objects [default=use
both]
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
According to the software’s documentation (https://github.com/LLNL/mpileaks),
the integer values for the --with-stack-start-*
options represent the
numbers of calls to shave off of the top of the stack traces for each
language, effectively reducing the noise of internal mpileaks library function
calls in generated traces.
For simplicity, we’ll use one variant to supply the value for both arguments.
Supporting this optional feature will require two changes to the package:
add a
variant
directive; andchange the configure options to use the value.
Let’s add the variant to expect an int
value with a default of
0
. Defaulting to 0
effectively disables the option. Also change
configure_args
to retrieve the value and add the corresponding
configure arguments when a non-zero value is provided by the user.
Bring mpileaks’ package.py
file back up in your $EDITOR
with
the spack edit
command:
$ spack edit tutorial-mpileaks
and add the variant
directive and associated arguments as follows:
from spack import *
class TutorialMpileaks(AutotoolsPackage):
"""Tool to detect and report MPI objects like MPI_Requests and
MPI_Datatypes."""
homepage = "https://github.com/LLNL/mpileaks"
url = "https://github.com/LLNL/mpileaks/releases/download/v1.0/mpileaks-1.0.tar.gz"
maintainers("adamjstewart")
license("BSD-3-Clause", checked_by="adamjstewart")
version("1.0", sha256="2e34cc4505556d1c1f085758e26f2f8eea0972db9382f051b2dcfb1d7d9e1825")
variant("stackstart", values=int, default=0,
description="Specify the number of stack frames to truncate")
depends_on("mpi")
depends_on("adept-utils")
depends_on("callpath")
def configure_args(self):
args = [
f"--with-adept-utils={self.spec['adept-utils'].prefix}",
f"--with-callpath={self.spec['callpath'].prefix}",
]
stackstart = int(self.spec.variants["stackstart"].value)
if stackstart:
args.extend([
f"--with-stack-start-c={stackstart}",
f"--with-stack-start-fortran={stackstart}",
])
return args
Notice that the variant
directive is translated into a variants
dictionary
in self.spec
. Also note that the value provided by the user is accessed
by the entry’s value
property.
Now run the installation again with the --verbose
install option – to
get more output during the build – and the new stackstart
package option:
$ spack install --verbose tutorial-mpileaks stackstart=4
[+] /usr (external glibc-2.35-a7drdl4tlx4bu3mzhor75pskvd3pdot6)
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/boost-1.72.0-jwovt2o6oqll4zutrrwbo2ezyreewtr5
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pkgconf-2.2.0-h3x3l7sed4l2efuskhaldi6ilmkoyeaa
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libiberty-2.41-npyb6xv5oww2fxymv7qhlm46sfmv63pw
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxcrypt-4.4.35-qwi6aof3wwuahmefzsrnvhristv2zglh
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/numactl-2.0.14-oece2d6cta5zgxcbziturcqsugvbehjg
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libpciaccess-0.17-esgx75jgr6iu4dkcw566yvz4tmx33ljz
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tar-1.34-wx4xfdnr4uzmlkbzpeuizbduh4e5klhj
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libedit-3.1-20230828-swglgxeckeajkjp4b7d66fbsyn6hjsdh
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libevent-2.1.12-uv2twd5kir57zlvu4ntf3cffa2lad47g
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hwloc-2.9.1-ujih6ikevwjglzswfu4wf7eimac2pvsh
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gettext-0.22.5-eux6e6vvrk7uz4tx3vmjkyonhnvhseeu
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pmix-5.0.1-bzewb3i2g5m4lv2jq3prq6nqvzrpdilw
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/intel-tbb-2021.9.0-ucz3jsxsjee6oj3id56xjzkxjbx7ple5
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/krb5-1.20.1-kqbte2e4fgnkv2m2zwcagwgkiluqlkdn
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/elfutils-0.190-mn77wznxbwaxb7mwm34rjjlsg3xzwuog
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssh-9.7p1-iiuja4vvxdkrnzipyeyvzpxiqln2o2sd
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libdwarf-20180129-3ybjurs2wa6kwiqggrvs573tkx3wdsif
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/dyninst-13.0.0-rf22klz3gg2aggvfkypfk2e55oigyhly
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo
==> Installing tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq [33/33]
==> No binary for tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq found: installing from source
==> Using cached archive: /home/spack/spack/var/spack/cache/_source-cache/archive/2e/2e34cc4505556d1c1f085758e26f2f8eea0972db9382f051b2dcfb1d7d9e1825.tar.gz
==> No patches needed for tutorial-mpileaks
==> tutorial-mpileaks: Executing phase: 'autoreconf'
==> tutorial-mpileaks: Executing phase: 'configure'
==> [2024-05-12-12:38:37.943963] Find (recursive): /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src ['configure']
==> [2024-05-12-12:38:37.945142] Find complete: /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src ['configure']
==> [2024-05-12-12:38:37.945614] FILTER FILE: /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/configure [replacing "^(\s*if test x-L = )("\$p" \|\|\s*)$"]
==> [2024-05-12-12:38:37.987016] FILTER FILE: /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/configure [replacing "^(\s*test x-R = )("\$p")(; then\s*)$"]
==> [2024-05-12-12:38:38.020628] FILTER FILE: /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/configure [replacing "^(\s*test \$p = "-R")(; then\s*)$"]
==> [2024-05-12-12:38:38.043191] '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/configure' '--prefix=/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq' '--with-adept-utils=/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz' '--with-callpath=/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo' '--with-stack-start-c=4' '--with-stack-start-fortran=4'
checking metadata... no
checking installation directory variables... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... /home/spack/spack/lib/spack/env/gcc/gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /home/spack/spack/lib/spack/env/gcc/gcc accepts -g... yes
checking for /home/spack/spack/lib/spack/env/gcc/gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /home/spack/spack/lib/spack/env/gcc/gcc... gcc3
checking whether /home/spack/spack/lib/spack/env/gcc/gcc and cc understand -c and -o together... yes
checking whether we are using the GNU C++ compiler... yes
checking whether /home/spack/spack/lib/spack/env/gcc/g++ accepts -g... yes
checking dependency style of /home/spack/spack/lib/spack/env/gcc/g++... gcc3
checking for /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/bin/mpicc... /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/bin/mpicc
Checking whether /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/bin/mpicc responds to '-showme:compile'... yes
checking for adept-utils installation... /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz
checking for libcallpath installation... /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /home/spack/spack/lib/spack/env/gcc/gcc... /home/spack/spack/lib/spack/env/ld
checking if the linker (/home/spack/spack/lib/spack/env/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /home/spack/spack/lib/spack/env/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from /home/spack/spack/lib/spack/env/gcc/gcc object... ok
/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/configure: line 7163: /usr/bin/file: No such file or directory
checking how to run the C preprocessor... /home/spack/spack/lib/spack/env/gcc/gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether /home/spack/spack/lib/spack/env/gcc/g++ accepts -g... (cached) yes
checking dependency style of /home/spack/spack/lib/spack/env/gcc/g++... (cached) gcc3
checking how to run the C++ preprocessor... /home/spack/spack/lib/spack/env/gcc/g++ -E
checking for objdir... .libs
checking if /home/spack/spack/lib/spack/env/gcc/gcc supports -fno-rtti -fno-exceptions... no
checking for /home/spack/spack/lib/spack/env/gcc/gcc option to produce PIC... -fPIC -DPIC
checking if /home/spack/spack/lib/spack/env/gcc/gcc PIC flag -fPIC -DPIC works... yes
checking if /home/spack/spack/lib/spack/env/gcc/gcc static flag -static works... yes
checking if /home/spack/spack/lib/spack/env/gcc/gcc supports -c -o file.o... yes
checking if /home/spack/spack/lib/spack/env/gcc/gcc supports -c -o file.o... (cached) yes
checking whether the /home/spack/spack/lib/spack/env/gcc/gcc linker (/home/spack/spack/lib/spack/env/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by /home/spack/spack/lib/spack/env/gcc/g++... /home/spack/spack/lib/spack/env/ld
checking if the linker (/home/spack/spack/lib/spack/env/ld) is GNU ld... yes
checking whether the /home/spack/spack/lib/spack/env/gcc/g++ linker (/home/spack/spack/lib/spack/env/ld) supports shared libraries... yes
checking for /home/spack/spack/lib/spack/env/gcc/g++ option to produce PIC... -fPIC -DPIC
checking if /home/spack/spack/lib/spack/env/gcc/g++ PIC flag -fPIC -DPIC works... yes
checking if /home/spack/spack/lib/spack/env/gcc/g++ static flag -static works... yes
checking if /home/spack/spack/lib/spack/env/gcc/g++ supports -c -o file.o... yes
checking if /home/spack/spack/lib/spack/env/gcc/g++ supports -c -o file.o... (cached) yes
checking whether the /home/spack/spack/lib/spack/env/gcc/g++ linker (/home/spack/spack/lib/spack/env/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking whether byte ordering is bigendian... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating examples/Makefile
config.status: creating scripts/Makefile
config.status: creating scripts/srun-mpileaks
config.status: creating scripts/srun-mpileaksf
config.status: creating config/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
==> [2024-05-12-12:38:44.032985] Find (recursive): /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src ['libtool']
==> [2024-05-12-12:38:44.033546] Find complete: /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src ['libtool']
==> [2024-05-12-12:38:44.033743] FILTER FILE: /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/libtool [replacing "^wl=""$"]
==> [2024-05-12-12:38:44.044307] FILTER FILE: /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/libtool [replacing "^pic_flag=""$"]
==> [2024-05-12-12:38:44.061538] FILTER FILE: /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/libtool [replacing "^pic_flag=""$"]
==> [2024-05-12-12:38:44.100533] FILTER FILE: /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/libtool [replacing "^pic_flag=""$"]
==> [2024-05-12-12:38:44.134214] FILTER FILE: /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/libtool [replacing "^pic_flag=""$"]
==> tutorial-mpileaks: Executing phase: 'build'
==> [2024-05-12-12:38:44.193988] 'make' '-j8' 'V=1'
Making all in scripts
make[1]: Entering directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/scripts'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/scripts'
Making all in src
make[1]: Entering directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/src'
/bin/bash ../libtool --tag=CXX --mode=compile /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT mpileaks.lo -MD -MP -MF .deps/mpileaks.Tpo -c -o mpileaks.lo mpileaks.cpp
/bin/bash ../libtool --tag=CXX --mode=compile /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT comm.lo -MD -MP -MF .deps/comm.Tpo -c -o comm.lo comm.cpp
/bin/bash ../libtool --tag=CXX --mode=compile /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT datatype.lo -MD -MP -MF .deps/datatype.Tpo -c -o datatype.lo datatype.cpp
/bin/bash ../libtool --tag=CXX --mode=compile /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT errhandler.lo -MD -MP -MF .deps/errhandler.Tpo -c -o errhandler.lo errhandler.cpp
/bin/bash ../libtool --tag=CXX --mode=compile /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT fileio.lo -MD -MP -MF .deps/fileio.Tpo -c -o fileio.lo fileio.cpp
/bin/bash ../libtool --tag=CXX --mode=compile /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT group.lo -MD -MP -MF .deps/group.Tpo -c -o group.lo group.cpp
/bin/bash ../libtool --tag=CXX --mode=compile /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT info.lo -MD -MP -MF .deps/info.Tpo -c -o info.lo info.cpp
/bin/bash ../libtool --tag=CXX --mode=compile /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT keyval.lo -MD -MP -MF .deps/keyval.Tpo -c -o keyval.lo keyval.cpp
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT datatype.lo -MD -MP -MF .deps/datatype.Tpo -c datatype.cpp -fPIC -DPIC -o .libs/datatype.o
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT info.lo -MD -MP -MF .deps/info.Tpo -c info.cpp -fPIC -DPIC -o .libs/info.o
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT comm.lo -MD -MP -MF .deps/comm.Tpo -c comm.cpp -fPIC -DPIC -o .libs/comm.o
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT mpileaks.lo -MD -MP -MF .deps/mpileaks.Tpo -c mpileaks.cpp -fPIC -DPIC -o .libs/mpileaks.o
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT fileio.lo -MD -MP -MF .deps/fileio.Tpo -c fileio.cpp -fPIC -DPIC -o .libs/fileio.o
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT group.lo -MD -MP -MF .deps/group.Tpo -c group.cpp -fPIC -DPIC -o .libs/group.o
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT keyval.lo -MD -MP -MF .deps/keyval.Tpo -c keyval.cpp -fPIC -DPIC -o .libs/keyval.o
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT errhandler.lo -MD -MP -MF .deps/errhandler.Tpo -c errhandler.cpp -fPIC -DPIC -o .libs/errhandler.o
errhandler.cpp: In function 'int MPI_Errhandler_create(void (*)(ompi_communicator_t**, int*, ...), ompi_errhandler_t**)':
errhandler.cpp:33:34: warning: 'int PMPI_Errhandler_create(void (*)(ompi_communicator_t**, int*, ...), ompi_errhandler_t**)' is deprecated: PMPI_Errhandler_create was removed in MPI-3.0. Use PMPI_Comm_create_errhandler instead. continuing... [-Wdeprecated-declarations]
33 | int rc = PMPI_Errhandler_create(function, eh);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from errhandler.cpp:10:
/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include/mpi.h:3129:20: note: declared here
3129 | OMPI_DECLSPEC int PMPI_Errhandler_create(MPI_Handler_function *function,
| ^~~~~~~~~~~~~~~~~~~~~~
errhandler.cpp: In function 'int MPI_Errhandler_get(MPI_Comm, ompi_errhandler_t**)':
errhandler.cpp:40:31: warning: 'int PMPI_Errhandler_get(MPI_Comm, ompi_errhandler_t**)' is deprecated: PMPI_Errhandler_get was removed in MPI-3.0. Use PMPI_Comm_get_errhandler instead. continuing... [-Wdeprecated-declarations]
40 | int rc = PMPI_Errhandler_get(comm, eh);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from errhandler.cpp:10:
/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include/mpi.h:3134:20: note: declared here
3134 | OMPI_DECLSPEC int PMPI_Errhandler_get(MPI_Comm comm, MPI_Errhandler *errhandler)
| ^~~~~~~~~~~~~~~~~~~
datatype.cpp: In function 'int MPI_Type_hvector(int, int, MPI_Aint, MPI_Datatype, ompi_datatype_t**)':
datatype.cpp:60:29: warning: 'int PMPI_Type_hvector(int, int, MPI_Aint, MPI_Datatype, ompi_datatype_t**)' is deprecated: PMPI_Type_hvector was removed in MPI-3.0. Use PMPI_Type_create_hvector instead. continuing... [-Wdeprecated-declarations]
60 | int rc = PMPI_Type_hvector(count, blocklength, stride, oldtype, newtype);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from datatype.cpp:10:
/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include/mpi.h:3155:20: note: declared here
3155 | OMPI_DECLSPEC int PMPI_Type_hvector(int count, int blocklength, MPI_Aint stride,
| ^~~~~~~~~~~~~~~~~
datatype.cpp: In function 'int MPI_Type_hindexed(int, int*, MPI_Aint*, MPI_Datatype, ompi_datatype_t**)':
datatype.cpp:78:30: warning: 'int PMPI_Type_hindexed(int, int*, MPI_Aint*, MPI_Datatype, ompi_datatype_t**)' is deprecated: PMPI_Type_hindexed was removed in MPI-3.0. Use PMPI_Type_create_hindexed instead. continuing... [-Wdeprecated-declarations]
78 | int rc = PMPI_Type_hindexed(count, array_of_blocklengths, array_of_displacements,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
79 | oldtype, newtype);
| ~~~~~~~~~~~~~~~~~
In file included from datatype.cpp:10:
/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include/mpi.h:3148:20: note: declared here
3148 | OMPI_DECLSPEC int PMPI_Type_hindexed(int count, int array_of_blocklengths[],
| ^~~~~~~~~~~~~~~~~~
datatype.cpp: In function 'int MPI_Type_struct(int, int*, MPI_Aint*, ompi_datatype_t**, ompi_datatype_t**)':
datatype.cpp:88:28: warning: 'int PMPI_Type_struct(int, int*, MPI_Aint*, ompi_datatype_t**, ompi_datatype_t**)' is deprecated: PMPI_Type_struct was removed in MPI-3.0. Use PMPI_Type_create_struct instead. continuing... [-Wdeprecated-declarations]
88 | int rc = PMPI_Type_struct(count, array_of_blocklengths, array_of_displacements,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | array_of_types, newtype);
| ~~~~~~~~~~~~~~~~~~~~~~~~
In file included from datatype.cpp:10:
/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include/mpi.h:3167:20: note: declared here
3167 | OMPI_DECLSPEC int PMPI_Type_struct(int count, int array_of_blocklengths[],
| ^~~~~~~~~~~~~~~~
keyval.cpp: In function 'int MPI_Keyval_create(int (*)(MPI_Comm, int, void*, void*, void*, int*), int (*)(MPI_Comm, int, void*, void*), int*, void*)':
keyval.cpp:38:30: warning: 'int PMPI_Keyval_create(int (*)(MPI_Comm, int, void*, void*, void*, int*), int (*)(MPI_Comm, int, void*, void*), int*, void*)' is deprecated: PMPI_Keyval_create was deprecated in MPI-2.0; use PMPI_Comm_create_keyval instead. [-Wdeprecated-declarations]
38 | int rc = PMPI_Keyval_create(copy_fn, delete_fn, keyval, extra_state);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from keyval.cpp:10:
/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include/mpi.h:3062:20: note: declared here
3062 | OMPI_DECLSPEC int PMPI_Keyval_create(MPI_Copy_function *copy_fn,
| ^~~~~~~~~~~~~~~~~~
keyval.cpp: In function 'int MPI_Keyval_free(int*)':
keyval.cpp:93:28: warning: 'int PMPI_Keyval_free(int*)' is deprecated: PMPI_Keyval_free was deprecated in MPI-2.0; PMPI_Comm_free_keyval instead. [-Wdeprecated-declarations]
93 | int rc = PMPI_Keyval_free(keyval);
| ~~~~~~~~~~~~~~~~^~~~~~~~
In file included from keyval.cpp:10:
/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include/mpi.h:3068:20: note: declared here
3068 | OMPI_DECLSPEC int PMPI_Keyval_free(int *keyval)
| ^~~~~~~~~~~~~~~~
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT info.lo -MD -MP -MF .deps/info.Tpo -c info.cpp -o info.o >/dev/null 2>&1
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT fileio.lo -MD -MP -MF .deps/fileio.Tpo -c fileio.cpp -o fileio.o >/dev/null 2>&1
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT errhandler.lo -MD -MP -MF .deps/errhandler.Tpo -c errhandler.cpp -o errhandler.o >/dev/null 2>&1
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT group.lo -MD -MP -MF .deps/group.Tpo -c group.cpp -o group.o >/dev/null 2>&1
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT mpileaks.lo -MD -MP -MF .deps/mpileaks.Tpo -c mpileaks.cpp -o mpileaks.o >/dev/null 2>&1
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT keyval.lo -MD -MP -MF .deps/keyval.Tpo -c keyval.cpp -o keyval.o >/dev/null 2>&1
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT datatype.lo -MD -MP -MF .deps/datatype.Tpo -c datatype.cpp -o datatype.o >/dev/null 2>&1
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT comm.lo -MD -MP -MF .deps/comm.Tpo -c comm.cpp -o comm.o >/dev/null 2>&1
mv -f .deps/fileio.Tpo .deps/fileio.Plo
/bin/bash ../libtool --tag=CXX --mode=compile /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT mem.lo -MD -MP -MF .deps/mem.Tpo -c -o mem.lo mem.cpp
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT mem.lo -MD -MP -MF .deps/mem.Tpo -c mem.cpp -fPIC -DPIC -o .libs/mem.o
mv -f .deps/info.Tpo .deps/info.Plo
/bin/bash ../libtool --tag=CXX --mode=compile /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT op.lo -MD -MP -MF .deps/op.Tpo -c -o op.lo op.cpp
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT op.lo -MD -MP -MF .deps/op.Tpo -c op.cpp -fPIC -DPIC -o .libs/op.o
mv -f .deps/errhandler.Tpo .deps/errhandler.Plo
/bin/bash ../libtool --tag=CXX --mode=compile /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT request.lo -MD -MP -MF .deps/request.Tpo -c -o request.lo request.cpp
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT request.lo -MD -MP -MF .deps/request.Tpo -c request.cpp -fPIC -DPIC -o .libs/request.o
mv -f .deps/keyval.Tpo .deps/keyval.Plo
mv -f .deps/group.Tpo .deps/group.Plo
/bin/bash ../libtool --tag=CXX --mode=compile /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT win.lo -MD -MP -MF .deps/win.Tpo -c -o win.lo win.cpp
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT win.lo -MD -MP -MF .deps/win.Tpo -c win.cpp -fPIC -DPIC -o .libs/win.o
mv -f .deps/mpileaks.Tpo .deps/mpileaks.Plo
mv -f .deps/datatype.Tpo .deps/datatype.Plo
mv -f .deps/comm.Tpo .deps/comm.Plo
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT mem.lo -MD -MP -MF .deps/mem.Tpo -c mem.cpp -o mem.o >/dev/null 2>&1
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT op.lo -MD -MP -MF .deps/op.Tpo -c op.cpp -o op.o >/dev/null 2>&1
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT win.lo -MD -MP -MF .deps/win.Tpo -c win.cpp -o win.o >/dev/null 2>&1
libtool: compile: /home/spack/spack/lib/spack/env/gcc/g++ -DHAVE_CONFIG_H -I. -I../config -DHAVE_CONFIG_H -I. -I../config -I../src -I../config -g -O2 -I//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/include -I/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/include -g -O2 -MT request.lo -MD -MP -MF .deps/request.Tpo -c request.cpp -o request.o >/dev/null 2>&1
mv -f .deps/mem.Tpo .deps/mem.Plo
mv -f .deps/op.Tpo .deps/op.Plo
mv -f .deps/win.Tpo .deps/win.Plo
mv -f .deps/request.Tpo .deps/request.Plo
/bin/bash ../libtool --tag=CXX --mode=link /home/spack/spack/lib/spack/env/gcc/g++ -g -O2 -avoid-version -o libmpileaks.la -rpath /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/lib mpileaks.lo comm.lo datatype.lo errhandler.lo fileio.lo group.lo info.lo keyval.lo mem.lo op.lo request.lo win.lo -L/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/lib -ladept_cutils -ladept_timing -ladept_utils -L/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/lib -lcallpath
libtool: link: /home/spack/spack/lib/spack/env/gcc/g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o .libs/mpileaks.o .libs/comm.o .libs/datatype.o .libs/errhandler.o .libs/fileio.o .libs/group.o .libs/info.o .libs/keyval.o .libs/mem.o .libs/op.o .libs/request.o .libs/win.o -L/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz/lib -ladept_cutils -ladept_timing -ladept_utils -L/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/lib -lcallpath -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o -Wl,-soname -Wl,libmpileaks.so -o .libs/libmpileaks.so
libtool: link: ar cru .libs/libmpileaks.a mpileaks.o comm.o datatype.o errhandler.o fileio.o group.o info.o keyval.o mem.o op.o request.o win.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libmpileaks.a
libtool: link: ( cd ".libs" && rm -f "libmpileaks.la" && ln -s "../libmpileaks.la" "libmpileaks.la" )
make[1]: Leaving directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/src'
Making all in examples
make[1]: Entering directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/examples'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/examples'
make[1]: Entering directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src'
==> tutorial-mpileaks: Executing phase: 'install'
==> [2024-05-12-12:38:50.164947] 'make' '-j8' 'install'
Making install in scripts
make[1]: Entering directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/scripts'
make[2]: Entering directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/scripts'
test -z "/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/bin" || /usr/bin/mkdir -p "/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/bin"
make[2]: Nothing to be done for 'install-data-am'.
/usr/bin/install -c srun-mpileaks srun-mpileaksf '/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/bin'
make[2]: Leaving directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/scripts'
make[1]: Leaving directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/scripts'
Making install in src
make[1]: Entering directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/src'
make[2]: Entering directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/src'
test -z "/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/lib" || /usr/bin/mkdir -p "/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/lib"
make[2]: Nothing to be done for 'install-data-am'.
/bin/bash ../libtool --mode=install /usr/bin/install -c libmpileaks.la '/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/lib'
libtool: install: /usr/bin/install -c .libs/libmpileaks.so /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/lib/libmpileaks.so
libtool: install: /usr/bin/install -c .libs/libmpileaks.lai /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/lib/libmpileaks.la
libtool: install: /usr/bin/install -c .libs/libmpileaks.a /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/lib/libmpileaks.a
libtool: install: chmod 644 /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/lib/libmpileaks.a
libtool: install: ranlib /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/lib/libmpileaks.a
libtool: finish: PATH="/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo/bin:/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo/bin:/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal/bin:/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssh-9.7p1-iiuja4vvxdkrnzipyeyvzpxiqln2o2sd/bin:/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr/bin:/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z/bin:/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc/bin:/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz/bin:/home/spack/spack/lib/spack/env/gcc:/home/spack/spack/lib/spack/env/case-insensitive:/home/spack/spack/lib/spack/env:/home/spack/spack/bin:/opt/spack/view/bin:/root/spack/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/lib
----------------------------------------------------------------------
Libraries have been installed in:
/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Leaving directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/src'
make[1]: Leaving directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/src'
Making install in examples
make[1]: Entering directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/examples'
make[2]: Entering directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/examples'
make[2]: Nothing to be done for 'install-exec-am'.
test -z "/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/share/mpileaks/examples" || /usr/bin/mkdir -p "/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/share/mpileaks/examples"
/usr/bin/install -c -m 644 tests.c mpiPing_leaky.f '/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/share/mpileaks/examples'
make[2]: Leaving directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/examples'
make[1]: Leaving directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src/examples'
make[1]: Entering directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src'
make[2]: Entering directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src'
make[2]: Nothing to be done for 'install-exec-am'.
test -z "/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/share/mpileaks" || /usr/bin/mkdir -p "/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/share/mpileaks"
/usr/bin/install -c -m 644 README '/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/share/mpileaks'
make[2]: Leaving directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src'
make[1]: Leaving directory '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq/spack-src'
==> [2024-05-12-12:38:50.387484] Find (recursive): /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq ['*.la']
==> [2024-05-12-12:38:50.388533] Find complete: /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq ['*.la']
==> tutorial-mpileaks: Successfully installed tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq
Stage: 0.01s. Autoreconf: 0.00s. Configure: 6.22s. Build: 5.93s. Install: 0.23s. Post-install: 0.10s. Total: 12.80s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-pun5iqbmjo6jjwmnswkp7sssgved7asq
Notice the addition of the two stack start arguments in the configure
command that appears at the end of the highlighted line after mpileaks’
Executing phase: 'configure'
.
Adding Tests
The simplest tests we can add are sanity checks, which can be used to ensure the directories and files we expect to be installed for all versions of the package actually exist. If we look at a successful installation, we can see that the following directories will be installed:
bin
lib
share
So let’s add a simple sanity check to ensure they are present, BUT let’s enter a typo to see what happens:
from spack import *
class TutorialMpileaks(AutotoolsPackage):
"""Tool to detect and report MPI objects like MPI_Requests and
MPI_Datatypes."""
homepage = "https://github.com/LLNL/mpileaks"
url = "https://github.com/LLNL/mpileaks/releases/download/v1.0/mpileaks-1.0.tar.gz"
maintainers("adamjstewart")
license("BSD-3-Clause", checked_by="adamjstewart")
sanity_check_is_dir = ["bin", "lib", "shar"]
version("1.0", sha256="2e34cc4505556d1c1f085758e26f2f8eea0972db9382f051b2dcfb1d7d9e1825")
variant("stackstart", values=int, default=0,
description="Specify the number of stack frames to truncate")
depends_on("mpi")
depends_on("adept-utils")
depends_on("callpath")
def configure_args(self):
args = [
f"--with-adept-utils={self.spec['adept-utils'].prefix}",
f"--with-callpath={self.spec['callpath'].prefix}",
]
stackstart = int(self.spec.variants["stackstart"].value)
if stackstart:
args.extend([
f"--with-stack-start-c={stackstart}",
f"--with-stack-start-fortran={stackstart}",
])
return args
We’ll need to uninstall the package so we can re-run it with tests enabled:
$ spack uninstall -ay tutorial-mpileaks
==> Successfully uninstalled tutorial-mpileaks@1.0%gcc@11.4.0 build_system=autotools arch=linux-ubuntu22.04-x86_64_v3/ffgvemh
==> Successfully uninstalled tutorial-mpileaks@1.0%gcc@11.4.0 build_system=autotools stackstart=4 arch=linux-ubuntu22.04-x86_64_v3/pun5iqb
$ spack install --test=root tutorial-mpileaks
[+] /usr (external glibc-2.35-a7drdl4tlx4bu3mzhor75pskvd3pdot6)
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/boost-1.72.0-jwovt2o6oqll4zutrrwbo2ezyreewtr5
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libiberty-2.41-npyb6xv5oww2fxymv7qhlm46sfmv63pw
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pkgconf-2.2.0-h3x3l7sed4l2efuskhaldi6ilmkoyeaa
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/numactl-2.0.14-oece2d6cta5zgxcbziturcqsugvbehjg
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libedit-3.1-20230828-swglgxeckeajkjp4b7d66fbsyn6hjsdh
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxcrypt-4.4.35-qwi6aof3wwuahmefzsrnvhristv2zglh
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libpciaccess-0.17-esgx75jgr6iu4dkcw566yvz4tmx33ljz
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libevent-2.1.12-uv2twd5kir57zlvu4ntf3cffa2lad47g
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tar-1.34-wx4xfdnr4uzmlkbzpeuizbduh4e5klhj
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hwloc-2.9.1-ujih6ikevwjglzswfu4wf7eimac2pvsh
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gettext-0.22.5-eux6e6vvrk7uz4tx3vmjkyonhnvhseeu
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pmix-5.0.1-bzewb3i2g5m4lv2jq3prq6nqvzrpdilw
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/intel-tbb-2021.9.0-ucz3jsxsjee6oj3id56xjzkxjbx7ple5
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/elfutils-0.190-mn77wznxbwaxb7mwm34rjjlsg3xzwuog
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/krb5-1.20.1-kqbte2e4fgnkv2m2zwcagwgkiluqlkdn
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/dyninst-13.0.0-rf22klz3gg2aggvfkypfk2e55oigyhly
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libdwarf-20180129-3ybjurs2wa6kwiqggrvs573tkx3wdsif
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssh-9.7p1-iiuja4vvxdkrnzipyeyvzpxiqln2o2sd
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo
==> Installing tutorial-mpileaks-1.0-juscjxdiahweocghvpt42z34pos3lq6q [33/33]
==> No binary for tutorial-mpileaks-1.0-juscjxdiahweocghvpt42z34pos3lq6q found: installing from source
==> Using cached archive: /home/spack/spack/var/spack/cache/_source-cache/archive/2e/2e34cc4505556d1c1f085758e26f2f8eea0972db9382f051b2dcfb1d7d9e1825.tar.gz
==> No patches needed for tutorial-mpileaks
==> tutorial-mpileaks: Executing phase: 'autoreconf'
==> tutorial-mpileaks: Executing phase: 'configure'
==> tutorial-mpileaks: Executing phase: 'build'
==> tutorial-mpileaks: Executing phase: 'install'
==> Error: InstallError: Install failed for tutorial-mpileaks. No such directory in prefix: shar
See build log for details:
/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-juscjxdiahweocghvpt42z34pos3lq6q/spack-build-out.txt
See test log for details:
/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-juscjxdiahweocghvpt42z34pos3lq6q/install-time-test-log.txt
Notice the installation fails due to the missing directory.
Now let’s fix the error and try again:
from spack import *
class TutorialMpileaks(AutotoolsPackage):
"""Tool to detect and report MPI objects like MPI_Requests and
MPI_Datatypes."""
homepage = "https://github.com/LLNL/mpileaks"
url = "https://github.com/LLNL/mpileaks/releases/download/v1.0/mpileaks-1.0.tar.gz"
maintainers("adamjstewart")
license("BSD-3-Clause", checked_by="adamjstewart")
sanity_check_is_dir = ["bin", "lib", "share"]
version("1.0", sha256="2e34cc4505556d1c1f085758e26f2f8eea0972db9382f051b2dcfb1d7d9e1825")
variant("stackstart", values=int, default=0,
description="Specify the number of stack frames to truncate")
depends_on("mpi")
depends_on("adept-utils")
depends_on("callpath")
def configure_args(self):
args = [
f"--with-adept-utils={self.spec['adept-utils'].prefix}",
f"--with-callpath={self.spec['callpath'].prefix}",
]
stackstart = int(self.spec.variants["stackstart"].value)
if stackstart:
args.extend([
f"--with-stack-start-c={stackstart}",
f"--with-stack-start-fortran={stackstart}",
])
return args
Installing again we can see we’ve fixed the problem.
$ spack install --test=root tutorial-mpileaks
[+] /usr (external glibc-2.35-a7drdl4tlx4bu3mzhor75pskvd3pdot6)
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gcc-runtime-11.4.0-f47qm6qeplqyahc4zhfpfdnf5mo6gxvd
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pkgconf-2.2.0-h3x3l7sed4l2efuskhaldi6ilmkoyeaa
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libiberty-2.41-npyb6xv5oww2fxymv7qhlm46sfmv63pw
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxcrypt-4.4.35-qwi6aof3wwuahmefzsrnvhristv2zglh
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/bzip2-1.0.8-qmy6dpipkzgotxrxqwxlnfsj5vbzkbcc
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/numactl-2.0.14-oece2d6cta5zgxcbziturcqsugvbehjg
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zstd-1.5.6-ew3aaosbmf3ts2ylqgi4c6enfmf3m5dr
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/boost-1.72.0-jwovt2o6oqll4zutrrwbo2ezyreewtr5
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/zlib-ng-2.1.6-xqtp62nft6pt5slbdljucwnkl5fxd6x4
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/xz-5.4.6-syttnntihi6n463mupmgl5e7kp5izxkz
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-qfrotccvbyovembcoto3jajc3vuvcejo
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libpciaccess-0.17-esgx75jgr6iu4dkcw566yvz4tmx33ljz
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libxml2-2.10.3-jv5es2yg6on55zdsb5xyvvg7xvqh6h4e
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pigz-2.8-gk55zt73c5ekv3iogqn4lo4r66tuzv5z
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssl-3.3.0-vunusyxizia47xitgoyd7ck73s3gppij
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/ncurses-6.5-gk4xs2idegfiwoyaikamyhxkjrruxtxa
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tar-1.34-wx4xfdnr4uzmlkbzpeuizbduh4e5klhj
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libevent-2.1.12-uv2twd5kir57zlvu4ntf3cffa2lad47g
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libedit-3.1-20230828-swglgxeckeajkjp4b7d66fbsyn6hjsdh
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/hwloc-2.9.1-ujih6ikevwjglzswfu4wf7eimac2pvsh
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gettext-0.22.5-eux6e6vvrk7uz4tx3vmjkyonhnvhseeu
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/intel-tbb-2021.9.0-ucz3jsxsjee6oj3id56xjzkxjbx7ple5
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/pmix-5.0.1-bzewb3i2g5m4lv2jq3prq6nqvzrpdilw
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/krb5-1.20.1-kqbte2e4fgnkv2m2zwcagwgkiluqlkdn
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/elfutils-0.190-mn77wznxbwaxb7mwm34rjjlsg3xzwuog
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openssh-9.7p1-iiuja4vvxdkrnzipyeyvzpxiqln2o2sd
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/libdwarf-20180129-3ybjurs2wa6kwiqggrvs573tkx3wdsif
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/dyninst-13.0.0-rf22klz3gg2aggvfkypfk2e55oigyhly
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-5.0.3-kzonshw6wgio6do6gj5vk5kkhoxt2kal
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/adept-utils-1.0.1-6pn6kaqw6zmqvvsrbd7xqpxjovwmvahz
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/callpath-1.0.4-6qtkbjpwlnf7wozzy52mzrad55rtduoo
==> Installing tutorial-mpileaks-1.0-vlj5h4udbpqs6dfpmgtuzejxt5l6zacj [33/33]
==> No binary for tutorial-mpileaks-1.0-vlj5h4udbpqs6dfpmgtuzejxt5l6zacj found: installing from source
==> Using cached archive: /home/spack/spack/var/spack/cache/_source-cache/archive/2e/2e34cc4505556d1c1f085758e26f2f8eea0972db9382f051b2dcfb1d7d9e1825.tar.gz
==> No patches needed for tutorial-mpileaks
==> tutorial-mpileaks: Executing phase: 'autoreconf'
==> tutorial-mpileaks: Executing phase: 'configure'
==> tutorial-mpileaks: Executing phase: 'build'
==> tutorial-mpileaks: Executing phase: 'install'
==> tutorial-mpileaks: Successfully installed tutorial-mpileaks-1.0-vlj5h4udbpqs6dfpmgtuzejxt5l6zacj
Stage: 0.01s. Autoreconf: 0.00s. Configure: 6.39s. Build: 6.04s. Install: 0.38s. Post-install: 0.10s. Total: 13.27s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-vlj5h4udbpqs6dfpmgtuzejxt5l6zacj
This is just scratching the surface of testing an installation. We could leverage the examples from this package to add post-install phase tests and/or stand-lone tests. Refer to the links at the bottom for more information on checking an installation.
Querying the Spec Object
As packages evolve and are ported to different systems, build recipes
often need to change as well. This is where the package’s Spec
comes
in.
So far we’ve looked at getting the paths for dependencies and values of
variants from the Spec
but there is more. The package’s self.spec
,
property allows you to query information about the package build, such as:
how a package’s dependencies were built;
what compiler was being used;
what version of a package is being installed; and
what variants were specified (implicitly or explicitly).
Examples of common queries are provided below.
Querying Spec Versions
You can customize the build based on the version of the package, compiler, and dependencies. Examples of each are:
Am I building my package with version
1.1
or greater?
if self.spec.satisfies("@1.1:"):
# Do things needed for version 1.1 or newer
Am I building with a
gcc
version up to5.0
?
if self.spec.satisfies("%gcc@:5.0"):
# Add arguments specific to gcc's up to 5.0
Is my
dyninst
dependency at least version8.0
?
if self.spec["dyninst"].satisfies("@8.0:"):
# Use newest dyninst options
Querying Spec Names
If the build has to be customized to the concrete version of an abstract
Spec
you can use its name
property. For example:
Is
openmpi
the MPI I’m building with?
if self.spec["mpi"].name == "openmpi":
# Do openmpi things
Querying Variants
Adjusting build options based on enabled variants can be done by querying
the Spec
itself, such as:
Am I building with the
debug
variant?
if "+debug" in self.spec:
# Add -g option to configure flags
These are just a few examples of Spec
queries. Spack has thousands of
built-in packages that can serve as examples to guide the development
of your package. You can find these packages in
$SPACK_ROOT/var/spack/repos/builtin/packages
.
Multiple Build Systems
There are cases where software actively supports two build systems, or changes build systems as it evolves, or needs different build systems on different platforms. Spack allows you to write a single, neat recipe for these cases too. It will only require a slight change in the recipe’s structure compared to what we have seen so far.
Let’s take uncrustify
, a source code beautifier, as an example. This software
used to build with Autotools until version 0.63, and then switched build systems
to CMake at version 0.64.
Compared to previous recipes in this tutorial, in this case we need Uncrustify
to
inherit from both CMakePackage
and AutotoolsPackage
. We also need to explicitly
specify the build_system
directive, and add conditional dependencies based on
build system:
class Uncrustify(CMakePackage, AutotoolsPackage):
"""Source Code Beautifier for C, C++, C#, ObjectiveC, Java, and others."""
homepage = "http://uncrustify.sourceforge.net/"
git = "https://github.com/uncrustify/uncrustify"
version("0.64", commit="1d7d97")
version("0.63", commit="44ce0f")
build_system(
conditional("cmake", when="@0.64:"),
conditional("autotools", when="@:0.63"),
default="cmake",
)
with when("build_system=cmake"):
depends_on("cmake@3.18:", type="build")
We didn’t mention it so far, but each spec has a build_system
variant that specifies
the build system it uses. In most cases that variant has a single allowed value, inherited from the
corresponding base package - so, usually, you don’t have to think about it.
When your package supports more than one build system though, you have to explicitly declare which ones are
allowed and under which conditions. In the example above it’s cmake
for version 0.64 and higher and
autotools
for version 0.63 and lower.
The build_system
variant can also be used to declare other properties which are conditional on the build
system being selected. For instance, above we declare that when using cmake
, CMake 3.18+ is required.
The other relevant difference, compared to the previous recipes we have seen so far, is that the code prescribing the installation procedure will live into two separate classes:
class CMakeBuilder(spack.build_systems.cmake.CMakeBuilder):
def cmake_args(self):
pass
class AutotoolsBuilder(spack.build_systems.autotools.AutotoolsBuilder):
def configure_args(self):
pass
Depending on the spec
, and more specifically on the value of the build_system
directive, a Builder
object will be instantiated from one of the two classes when an installation is requested from a user.
Cleaning Up
Before leaving this tutorial, let’s ensure what we have done does not interfere with your Spack instance or future sections of the tutorial. Undo the work we’ve done here by entering the following commands:
$ spack uninstall -ay tutorial-mpileaks
==> Successfully uninstalled tutorial-mpileaks@1.0%gcc@11.4.0 build_system=autotools stackstart=0 arch=linux-ubuntu22.04-x86_64_v3/vlj5h4u
$ spack repo remove tutorial
==> Removed repository /home/spack/spack/var/spack/repos/tutorial with namespace 'tutorial'.
$ rm -rf $SPACK_ROOT/var/spack/repos/tutorial/packages/tutorial-mpileaks
More information
This tutorial module only scratches the surface of defining Spack package recipes. The Packaging Guide more thoroughly covers packaging topics.
Additional information on key topics can be found at the links below.
Testing an installation
Checking an installation: for more information on adding tests that run at build-time and against an installation
Using other build systems
Build Systems: for the full list of built-in build systems
Spack Package Build Systems tutorial: for tutorials on common build systems
Multiple Build Systems: for a reference on writing packages with multiple build systems
Package Class Architecture: for more insight on the inner workings of
Package
andBuilder
classes.The GDAL Package: for an example of a complex package which extends Python and supports two build systems.
Making a package externally detectable
Making a package externally discoverable: for making a package discoverable using the
spack external find
command