Skip to content

Exawind (CPU) build failure on Perlmutter #570

Open
@ajpowelsnl

Description

Summary

  • Issue arose in the context of attempting a CPU-only spack exawind build (for the purpose of container engineering) in a spack-manager project
  • Recently submitted amr-wind PR did not correct exawind build failures
  • Possible that a Trilinos patch (kokkos_zero_length_team.patch) did not interact properly with recent "multiphase" additions for CPU-only builds
  • @lastephy, @wyphan are tracking the issue
  • @ndellingwood have you seen this failure before?

Error

==> Installing trilinos-13.0.1-g7whzyzvrjad7gggyhjxsmfd46uluh4s
==> No binary for trilinos-13.0.1-g7whzyzvrjad7gggyhjxsmfd46uluh4s found: installing from source
==> Using cached archive: /pscratch/sd/a/ajpowel/s_man_2/spack-manager/spack/var/spack/cache/_source-cache/archive/0b/0bce7066c27e83085bc189bf524e535e5225636c9ee4b16291a38849d6c2216d.tar.gz
2 out of 2 hunks FAILED -- saving rejects to file packages/kokkos/core/src/Cuda/Kokkos_Cuda_Parallel.hpp.rej


==> Patch /pscratch/sd/a/ajpowel/s_man_2/spack-manager/repos/exawind/packages/trilinos/kokkos_zero_length_team.patch failed.
==> Error: ProcessError: Command exited with status 1:
    '/usr/bin/patch' '-s' '-p' '1' '-i' '/pscratch/sd/a/ajpowel/s_man_2/spack-manager/repos/exawind/packages/trilinos/kokkos_zero_length_team.patch' '-d' '.


==> Warning: Skipping build of nalu-wind-multiphase-onvuy4bsahg4a7ejmfjo6wcecuyqkbxn since trilinos-13.0.1-g7whzyzvrjad7gggyhjxsmfd46uluh4s failed
==> Warning: Skipping build of exawind-multiphase-q7cdvlpy5otawckgddbpi42hqwtklnmy since nalu-wind-multiphase-onvuy4bsahg4a7ejmfjo6wcecuyqkbxn failed
==> Error: exawind-multiphase-q7cdvlpy5otawckgddbpi42hqwtklnmy: Package was not installed
==> Error: Installation request failed.  Refer to reported errors for failing package(s).

Environment

Currently Loaded Modules:
  1) craype-x86-milan                        6) cray-dsmml/0.2.2       11) perftools-base/23.03.0   16) cudatoolkit/11.7
  2) libfabric/1.15.2.0                      7) cray-libsci/23.02.1.1  12) cpe/23.03                17) craype-accel-nvidia80
  3) craype-network-ofi                      8) cray-mpich/8.1.25      13) xalt/2.10.2              18) gpu/1.0
  4) xpmem/2.6.2-2.5_2.27__gd067c3f.shasta   9) craype/2.7.20          14) Nsight-Compute/2022.1.1
  5) PrgEnv-gnu/8.3.3                       10) gcc/11.2.0             15) Nsight-Systems/2022.2.1

Reproducer

git clone --recursive git@github.com:sandialabs/spack-manager.git
cd spack-manager/
export SPACK_MANAGER=${PWD}
source start.sh && spack-start
spack spec exawind%gcc~cuda
spack install exawind%gcc~cuda

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions