Skip to content

Commit

Permalink
isc24: update packaging output (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
alalazo committed May 10, 2024
1 parent a2d4fb2 commit bf9aed2
Show file tree
Hide file tree
Showing 10 changed files with 687 additions and 678 deletions.
2 changes: 2 additions & 0 deletions outputs/packaging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ rm -rf "${raw_outputs:?}/packaging"
. "$project/init_spack.sh"
mpileaks_package_py="$SPACK_ROOT/var/spack/repos/tutorial/packages/tutorial-mpileaks/package.py"

export SPACK_COLOR=never

example packaging/repo-add "spack repo add \$SPACK_ROOT/var/spack/repos/tutorial/"

# make the editor automatically exit
Expand Down
18 changes: 9 additions & 9 deletions outputs/packaging/build-output.out
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
$ cat /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-ld6dflzj5vwcfnx7nhprmrogn5yfi2pd/spack-build-out.txt
$ 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'
==> [2023-11-12-09:25:36.753161] Find (recursive): /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-ld6dflzj5vwcfnx7nhprmrogn5yfi2pd/spack-src ['configure']
==> [2023-11-12-09:25:36.754030] Find complete: /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-ld6dflzj5vwcfnx7nhprmrogn5yfi2pd/spack-src ['configure']
==> [2023-11-12-09:25:36.754344] FILTER FILE: /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-ld6dflzj5vwcfnx7nhprmrogn5yfi2pd/spack-src/configure [replacing "^(\s*if test x-L = )("\$p" \|\|\s*)$"]
==> [2023-11-12-09:25:36.777358] FILTER FILE: /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-ld6dflzj5vwcfnx7nhprmrogn5yfi2pd/spack-src/configure [replacing "^(\s*test x-R = )("\$p")(; then\s*)$"]
==> [2023-11-12-09:25:36.799398] FILTER FILE: /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-ld6dflzj5vwcfnx7nhprmrogn5yfi2pd/spack-src/configure [replacing "^(\s*test \$p = "-R")(; then\s*)$"]
==> [2023-11-12-09:25:36.822103] '/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-ld6dflzj5vwcfnx7nhprmrogn5yfi2pd/spack-src/configure' '--prefix=/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-ld6dflzj5vwcfnx7nhprmrogn5yfi2pd'
==> [2024-05-10-07:55:37.828998] Find (recursive): /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-33dnbhaym6a5uwp7ezxi5r4ukhxc5r2m/spack-src ['configure']
==> [2024-05-10-07:55:37.830319] Find complete: /tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-33dnbhaym6a5uwp7ezxi5r4ukhxc5r2m/spack-src ['configure']
==> [2024-05-10-07:55:37.830792] 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-10-07:55:37.864095] 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-10-07:55:37.895505] 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-10-07:55:37.917173] '/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
Expand All @@ -30,6 +30,6 @@ checking whether /home/spack/spack/lib/spack/env/gcc/gcc and cc understand -c an
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-4.1.6-z4iqm7nipxsdam3chio7r74ob3cznoof/bin/mpicc... /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-4.1.6-z4iqm7nipxsdam3chio7r74ob3cznoof/bin/mpicc
Checking whether /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/openmpi-4.1.6-z4iqm7nipxsdam3chio7r74ob3cznoof/bin/mpicc responds to '-showme:compile'... yes
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
2 changes: 1 addition & 1 deletion outputs/packaging/cleanup.out
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$ 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/z2cehyh
==> 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
4 changes: 2 additions & 2 deletions outputs/packaging/info-mpileaks.out
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Description:
Homepage: https://github.com/LLNL/mpileaks

Preferred version:
1.0 https://github.com/LLNL/mpileaks/releases/download/v1.0/mpileaks-1.0.tar.gz
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
1.0 https://github.com/LLNL/mpileaks/releases/download/v1.0/mpileaks-1.0.tar.gz

Deprecated versions:
None
Expand Down
46 changes: 27 additions & 19 deletions outputs/packaging/install-mpileaks-1.out
Original file line number Diff line number Diff line change
@@ -1,30 +1,38 @@
$ spack install tutorial-mpileaks
==> Installing gmake-4.4.1-znvoaniggvauzxv4yobchqt4g7tyjuc7 [1/2]
==> Fetching file:///mirror/build_cache/linux-ubuntu22.04-x86_64_v3-gcc-11.4.0-gmake-4.4.1-znvoaniggvauzxv4yobchqt4g7tyjuc7.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-znvoaniggvauzxv4yobchqt4g7tyjuc7.spack
==> Extracting gmake-4.4.1-znvoaniggvauzxv4yobchqt4g7tyjuc7 from binary cache
==> gmake: Successfully installed gmake-4.4.1-znvoaniggvauzxv4yobchqt4g7tyjuc7
Search: 0.00s. Fetch: 0.09s. Install: 0.05s. Extract: 0.04s. Relocate: 0.01s. Total: 0.14s
[+] /home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/gmake-4.4.1-znvoaniggvauzxv4yobchqt4g7tyjuc7
==> Installing tutorial-mpileaks-1.0-lxhhwqacj5ptrs5vnfg4opmcffrfh7g2 [2/2]
==> No binary for tutorial-mpileaks-1.0-lxhhwqacj5ptrs5vnfg4opmcffrfh7g2 found: installing from source
[+] /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.24s. Install: 0.34s. Extract: 0.30s. Relocate: 0.04s. Total: 0.58s
[+] /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.06s. Extract: 0.02s. Relocate: 0.04s. Total: 0.07s
[+] /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-lxhhwqacj5ptrs5vnfg4opmcffrfh7g2/spack-src/configure' '--prefix=/home/spack/spack/opt/spack/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/tutorial-mpileaks-1.0-lxhhwqacj5ptrs5vnfg4opmcffrfh7g2'
'/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-lxhhwqacj5ptrs5vnfg4opmcf
frfh7g2/spack-src/configure: line 4931: Echo: command not found
>> 41 configure: error: unable to locate adept-utils installation
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-lxhhwqacj5ptrs5vnfg4opmcffrfh7g2/spack-build-out.txt
/tmp/spack/spack-stage/spack-stage-tutorial-mpileaks-1.0-pzflhfrljrkux3siwkha5wqvr2nfuflz/spack-build-out.txt

0 comments on commit bf9aed2

Please sign in to comment.