-
Notifications
You must be signed in to change notification settings - Fork 565
Open
Labels
Description
Steps to reproduce the issue
$ spack spec -I hypre@3.1.0 %gcc
- hypre@3.1.0~caliper~complex~cuda~debug~fortran~gptune~gpu-aware-mpi~gpu-profiling~int64~ipo+lapack~magma~mixedint+mpi~openmp~rocm+shared~superlu-dist~sycl~umpire~unified-memory build_system=cmake build_type=Release cxxstd=17 generator=make patches:=cd0b67e precision=double platform=linux os=ubuntu20.04 target=zen2 %c=gcc@9.4.0
[+] ^cmake@3.31.11~doc+ncurses+ownlibs~qtgui build_system=generic build_type=Release platform=linux os=ubuntu20.04 target=zen2 %c,cxx=oneapi@2025.2.1
[e] ^curl@7.68.0+gssapi+ldap~libidn2~librtmp~libssh~libssh2+nghttp2 build_system=autotools libs:=shared,static tls:=openssl platform=linux os=ubuntu20.04 target=x86_64
[e] ^intel-oneapi-compilers@2025.2.1~amd+envmods~nvidia build_system=generic platform=linux os=ubuntu20.04 target=x86_64
[+] ^intel-oneapi-runtime@2025.2.1 build_system=generic platform=linux os=ubuntu20.04 target=zen2
[+] ^ncurses@6.6~symlinks+termlib abi=none build_system=autotools patches:=7a351bc platform=linux os=ubuntu20.04 target=zen2 %c,cxx=gcc@9.4.0
[e] ^pkg-config@0.29.1+internal_glib build_system=autotools platform=linux os=ubuntu20.04 target=x86_64
[e] ^zlib@1.2.11+optimize+pic+shared build_system=makefile platform=linux os=ubuntu20.04 target=x86_64
[+] ^compiler-wrapper@1.0 build_system=generic platform=linux os=ubuntu20.04 target=zen2
[e] ^gcc@9.4.0+binutils+bootstrap~graphite+libsanitizer~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages:='c,c++,fortran' platform=linux os=ubuntu20.04 target=x86_64
[+] ^gcc-runtime@9.4.0 build_system=generic platform=linux os=ubuntu20.04 target=zen2
[e] ^glibc@2.31 build_system=autotools platform=linux os=ubuntu20.04 target=x86_64
[e] ^gmake@4.2.1~guile build_system=generic platform=linux os=ubuntu20.04 target=x86_64
[e] ^intel-oneapi-mkl@2025.2~cluster+envmods~gfortran~ilp64+shared build_system=generic mpi_family=none threads=none platform=linux os=ubuntu20.04 target=x86_64
[e] ^mpich@3.3.2~argobots~cuda+fortran+hwloc+hydra~level_zero+libxml2+pci~rocm+romio~slurm~verbs+wrapperrpath build_system=autotools device=ch4 netmod=ofi pmi=default platform=linux os=ubuntu20.04 target=x86_64 Error message
Error message
$ spack install hypre@3.1.0 %gcc ^mpich
[+] /usr (external mpich-3.3.2-7mv75ktseoldf42gxmrin5kkanli7nsf)
==> intel-oneapi-mkl@2025.2 : has external module in ['mkl/2025.2']
[+] /opt/intel/oneapi (external intel-oneapi-mkl-2025.2-iiervpxilgqwstmldiz5ksbpsmyezrsd)
[+] /usr (external gcc-9.4.0-nzz76kz3s6wrf5mha5vbnhcffqu3thn6)
[+] /usr (external glibc-2.31-nm2n32h34mhcte6fm3s4fjjnnrdyqcvz)
[+] /usr (external gmake-4.2.1-f2yekiyybnro7lfgdzgrgc6pvsvobx2p)
[+] /usr (external curl-7.68.0-lsyx42no2mqejw2ibxecmzf6ekhanxda)
[+] /usr (external zlib-1.2.11-qnfvvtjmb6izkwqhocstwpi5wzw755pq)
[+] /dev/shm/spack/opt/spack/linux-zen2/compiler-wrapper-1.0-izibsbjo4x6egklsqksdzodqtli6ycst
[+] /dev/shm/spack/opt/spack/linux-zen2/gcc-runtime-9.4.0-6ikz44k5yqpog7jnr6mahnvvr62qwbgq
[+] /dev/shm/spack/opt/spack/linux-zen2/intel-oneapi-runtime-2025.2.1-brjdi3uym7rnstvacgmopvgpqlwn7p53
[+] /dev/shm/spack/opt/spack/linux-zen2/ncurses-6.6-vc7snsalcjkbpfu76jsjijvh32lxdbsh
[+] /dev/shm/spack/opt/spack/linux-zen2/cmake-3.31.11-kabqqzblzoxs66c7zyqyvmo5tsye33mz
==> No binary for hypre-3.1.0-h64d72irgewoad6pyav2j5gmq5hgg65c found: installing from source
==> Installing hypre-3.1.0-h64d72irgewoad6pyav2j5gmq5hgg65c [13/13]
==> Using cached archive: /dev/shm/spack/var/spack/cache/_source-cache/archive/a6/a6879ae9375d95c26afd97141d61e7a8092807333bf40cd180b385aed7351b2d.tar.gz
==> Using cached archive: /dev/shm/spack/var/spack/cache/_source-cache/archive/cd/cd0b67e0c03f9392a305c2263099929898ea7f49bd5006ad69209508e947903b
==> Applied patch https://github.com/hypre-space/hypre/pull/1463.patch?full_index=1
==> hypre: Executing phase: 'cmake'
==> Error: ProcessError: Command exited with status 1:
'/dev/shm/spack/opt/spack/linux-zen2/cmake-3.31.11-kabqqzblzoxs66c7zyqyvmo5tsye33mz/bin/cmake' '-G' 'Unix Makefiles' '-DCMAKE_INSTALL_PREFIX:STRING=/dev/shm/spack/opt/spack/linux-zen2/hypre-3.1.0-h64d72irgewoad6pyav2j5gmq5hgg65c' '-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON' '-DCMAKE_INSTALL_RPATH:STRING=/dev/shm/spack/opt/spack/linux-zen2/hypre-3.1.0-h64d72irgewoad6pyav2j5gmq5hgg65c/lib;/dev/shm/spack/opt/spack/linux-zen2/hypre-3.1.0-h64d72irgewoad6pyav2j5gmq5hgg65c/lib64' '-DCMAKE_PREFIX_PATH:STRING=/dev/shm/spack/opt/spack/linux-zen2/cmake-3.31.11-kabqqzblzoxs66c7zyqyvmo5tsye33mz;/dev/shm/spack/opt/spack/linux-zen2/compiler-wrapper-1.0-izibsbjo4x6egklsqksdzodqtli6ycst;/dev/shm/spack/opt/spack/linux-zen2/gcc-runtime-9.4.0-6ikz44k5yqpog7jnr6mahnvvr62qwbgq;/opt/intel/oneapi' '-DCMAKE_BUILD_TYPE:STRING=Release' '-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON' '-DCMAKE_INTERPROCEDURAL_OPTIMIZATION:BOOL=OFF' '-DCMAKE_POLICY_DEFAULT_CMP0090:STRING=NEW' '-DCMAKE_FIND_USE_PACKAGE_REGISTRY:BOOL=OFF' '-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON' '-DBUILD_SHARED_LIBS:BOOL=ON' '-DCMAKE_CXX_STANDARD:STRING=17' '' '-DHYPRE_ENABLE_MPI:BOOL=ON' '-DHYPRE_ENABLE_OPENMP:BOOL=OFF' '-DHYPRE_ENABLE_FORTRAN:BOOL=OFF' '-DHYPRE_ENABLE_COMPLEX:BOOL=OFF' '-DHYPRE_ENABLE_BIGINT:BOOL=OFF' '-DHYPRE_ENABLE_MIXEDINT:BOOL=OFF' '-DHYPRE_ENABLE_SINGLE:BOOL=OFF' '-DHYPRE_ENABLE_LONG_DOUBLE:BOOL=OFF' '-DHYPRE_ENABLE_MIXED_PRECISION:BOOL=OFF' '-DHYPRE_ENABLE_HYPRE_BLAS:BOOL=ON' '-DHYPRE_ENABLE_HYPRE_LAPACK:BOOL=ON' '-DHYPRE_ENABLE_CUDA:BOOL=OFF' '-DHYPRE_ENABLE_HIP:BOOL=OFF' '-DHYPRE_ENABLE_SYCL:BOOL=OFF' '-DHYPRE_ENABLE_GPU_AWARE_MPI:BOOL=OFF' '-DHYPRE_ENABLE_GPU_PROFILING:BOOL=OFF' '-DHYPRE_ENABLE_UNIFIED_MEMORY:BOOL=OFF' '-DHYPRE_ENABLE_UMPIRE:BOOL=OFF' '-DHYPRE_ENABLE_CALIPER:BOOL=OFF' '-DHYPRE_ENABLE_DSUPERLU:BOOL=OFF' '-DHYPRE_ENABLE_MAGMA:BOOL=OFF' '/tmp/cessenat/spack-stage/spack-stage-hypre-3.1.0-h64d72irgewoad6pyav2j5gmq5hgg65c/spack-src/src'
2 errors found in build log:
15 -- Detecting C compile features
16 -- Detecting C compile features - done
17 -- Build type: Release
18 -- Shared library: ON
19 -- Installation directory: /dev/shm/spack/opt/spack/linux-zen2/hypre-3.1.0-h64d72irgewoad6pyav2j5gmq5hgg65c
20 -- Using C standard: 99
>> 21 CMake Error in /tmp/cessenat/spack-stage/spack-stage-hypre-3.1.0-h64d72irgewoad6pyav2j5gmq5hgg65c/spack-build-h64d72i/CM
akeFiles/CMakeScratch/TryCompile-4grWKu/CMakeLists.txt:
22 Imported target "MPI::MPI_C" includes non-existent path
23
24 "/tmp/cessenat/spack-stage/spack-stage-hypre-3.1.0-h64d72irgewoad6pyav2j5gmq5hgg65c/spack-src/src/I_MPI_SUBSTITUTE_I
NSTALLDIR/include"
25
26 in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
27
...
31
32 * The installation package was faulty and references files it does not
33 provide.
34
35
36
>> 37 CMake Error at /dev/shm/spack/opt/spack/linux-zen2/cmake-3.31.11-kabqqzblzoxs66c7zyqyvmo5tsye33mz/share/cmake-3.31/Modul
es/FindMPI.cmake:1283 (try_compile):
38 Failed to generate test project build system.
39 Call Stack (most recent call first):
40 /dev/shm/spack/opt/spack/linux-zen2/cmake-3.31.11-kabqqzblzoxs66c7zyqyvmo5tsye33mz/share/cmake-3.31/Modules/FindMPI.cm
ake:1327 (_MPI_try_staged_settings)
41 /dev/shm/spack/opt/spack/linux-zen2/cmake-3.31.11-kabqqzblzoxs66c7zyqyvmo5tsye33mz/share/cmake-3.31/Modules/FindMPI.cm
ake:1650 (_MPI_check_lang_works)
42 config/cmake/HYPRE_CMakeUtilities.cmake:188 (find_package)
43 CMakeLists.txt:403 (configure_mpi_target)
See build log for details:
/tmp/cessenat/spack-stage/spack-stage-hypre-3.1.0-h64d72irgewoad6pyav2j5gmq5hgg65c/spack-build-out.txt
Information on your system
$ spack debug report
- Spack: 1.2.0.dev0 (spack/spack@cfccf30)
- Builtin repo: 04c1822
- Python: 3.8.10
- Platform: linux-ubuntu20.04-zen2
Installing hypre@2.33.0 is no problem.
Installing hypre@3.1.0 against a non external mpich or openmpi is no problem.
Custom packages.yaml:
packages:
mpich:
externals:
- spec: mpich@3.3.2
prefix: /usr
zlib:
externals:
- spec: zlib@1.2.11
prefix: /usr
intel-oneapi-mkl:
externals:
- spec: intel-oneapi-mkl@2025.2
prefix: /opt/intel/oneapi
modules:
- mkl/2025.2
$ cat /etc/os-release
NAME="Ubuntu" VERSION="20.04.6 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.6 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal
Additional information
$ spack maintainers hypre
@balay @liruipeng @oseikuffuor1 @rfalgout @victorapm @waynemitchell
General information
- I have run
spack debug reportand reported the version of Spack/Python/Platform - I have run
spack maintainers <name-of-the-package>and @mentioned any maintainers - I have uploaded the build log and environment files
- I have searched the issues of this repo and believe this is not a duplicate
Reactions are currently unavailable