awslabs / palace

3D finite element solver for computational electromagnetics
https://awslabs.github.io/palace/dev
Apache License 2.0
248 stars 51 forks source link

Palace v0.11.0 fails to compile #78

Closed davide-q closed 1 year ago

davide-q commented 1 year ago

Description

Palace v0.11.0 fails to compile with spack with both gcc@8.5.0 and gcc@13.1.0 as well as Intel's OneAPI

To reproduce

spack install palace%gcc@13.1.0

first generates the specs

==> Concretized palace%gcc@13.1.0
 -   qk4vyou  palace@0.11.0%gcc@13.1.0~arpack+gslib~int64~ipo~mumps~openmp+slepc~strumpack+superlu-dist build_system=cmake build_type=Release generator=make arch=linux-rhel8-icelake
[+]  bakbmqr      ^cmake@3.26.3%gcc@8.5.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-rhel8-icelake
[+]  2jvsjfx          ^ncurses@6.4%gcc@8.5.0~symlinks+termlib abi=none build_system=autotools arch=linux-rhel8-icelake
[+]  7vbz7bu          ^openssl@1.1.1t%gcc@8.5.0~docs~shared build_system=generic certs=mozilla arch=linux-rhel8-icelake
[+]  3zvihdf              ^ca-certificates-mozilla@2023-01-10%gcc@8.5.0 build_system=generic arch=linux-rhel8-icelake
[+]  a2ywgnt              ^perl@5.36.0%gcc@8.5.0+cpanm+open+shared+threads build_system=generic arch=linux-rhel8-icelake
[+]  t23qwds                  ^berkeley-db@18.1.40%gcc@8.5.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-rhel8-icelake
[+]  7ejvode      ^fmt@10.0.0%gcc@8.5.0~ipo+pic~shared build_system=cmake build_type=Release cxxstd=11 generator=make arch=linux-rhel8-icelake
[+]  scjxmtn      ^gmake@4.4.1%gcc@8.5.0~guile build_system=autotools arch=linux-rhel8-icelake
[+]  vcfbycx      ^gslib@1.0.7%gcc@8.5.0~blas+mpi+mpiio build_system=generic arch=linux-rhel8-icelake
[+]  d4rdfit      ^hypre@2.28.0%gcc@8.5.0~complex~cuda~debug+fortran~gptune~int64~internal-superlu~mixedint+mpi~openmp~rocm+shared~superlu-dist~sycl~umpire~unified-memory build_system=autotools arch=linux-rhel8-icelake
[+]  qqoeyn2          ^intel-oneapi-mkl@2023.1.0%gcc@8.5.0~cluster+envmods~ilp64+shared build_system=generic threads=none arch=linux-rhel8-icelake
[+]  u3d2b4h              ^intel-tbb@2021.9.0%gcc@8.5.0~ipo+shared+tm build_system=cmake build_type=Release cxxstd=default generator=make patches=12a9c3e arch=linux-rhel8-icelake
[+]  4e5f5x5                  ^hwloc@2.9.1%gcc@8.5.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-rhel8-icelake
[+]  pyylnlg                      ^libpciaccess@0.17%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  ihseqmd                          ^libtool@2.4.7%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  s6l33qe                              ^m4@1.4.19%gcc@8.5.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-rhel8-icelake
[+]  boulqpo                                  ^libsigsegv@2.14%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  yidwimn                          ^util-macros@1.19.3%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  6ij2gk6      ^metis@5.1.0%gcc@8.5.0~gdb~int64~ipo~real64+shared build_system=cmake build_type=Release generator=make patches=4991da9,93a7903,b1225da arch=linux-rhel8-icelake
[+]  sjkzdur      ^nlohmann-json@3.11.2%gcc@8.5.0~ipo+multiple_headers build_system=cmake build_type=Release generator=make arch=linux-rhel8-icelake
[e]  ezomfq2      ^openmpi@4.0.3%gcc@8.5.0~atomics~cuda~cxx~cxx_exceptions~gpfs~internal-hwloc~java~legacylaunchers~lustre~memchecker~orterunprefix+romio+rsh~singularity+static+vt+wrapper-rpath build_system=autotools fabrics=none patches=60ce20b schedulers=none arch=linux-rhel8-icelake
[+]  dx5ddex      ^petsc@3.19.1%gcc@8.5.0~X~batch~cgns+complex~cuda~debug+double~exodusii~fftw+fortran~giflib~hdf5~hpddm~hwloc~hypre~int64~jpeg~knl~kokkos~libpng~libyaml~memkind~metis~mkl-pardiso~mmg~moab~mpfr+mpi~mumps~openmp~p4est~parmmg~ptscotch~random123~rocm~saws~scalapack+shared~strumpack~suite-sparse~superlu-dist~tetgen~t
rilinos~valgrind build_system=generic clanguage=C arch=linux-rhel8-icelake
[+]  tgg5hpa          ^diffutils@3.9%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  u2l5id3              ^libiconv@1.17%gcc@8.5.0 build_system=autotools libs=shared,static arch=linux-rhel8-icelake
[+]  nthjaqr          ^python@3.10.10%gcc@8.5.0+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-rhel8-icelake
[+]  cza73dk              ^bzip2@1.0.8%gcc@8.5.0~debug~pic+shared build_system=generic arch=linux-rhel8-icelake
[+]  ltjykpf              ^expat@2.5.0%gcc@8.5.0+libbsd build_system=autotools arch=linux-rhel8-icelake
[+]  pevgx5n                  ^libbsd@0.11.7%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  4mxivpt                      ^libmd@1.0.4%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  gkqzubf              ^gdbm@1.23%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  pdky4jm              ^gettext@0.21.1%gcc@8.5.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-rhel8-icelake
[+]  o372pgy                  ^libxml2@2.10.3%gcc@8.5.0~python build_system=autotools arch=linux-rhel8-icelake
[+]  4nnk2py                  ^tar@1.34%gcc@8.5.0 build_system=autotools zip=pigz arch=linux-rhel8-icelake
[+]  hkdbhpp                      ^pigz@2.7%gcc@8.5.0 build_system=makefile arch=linux-rhel8-icelake
[+]  5hfoay7                      ^zstd@1.5.5%gcc@8.5.0+programs build_system=makefile compression=none libs=shared,static arch=linux-rhel8-icelake
[+]  h4o4pci              ^libffi@3.4.4%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  pgdp47o              ^libxcrypt@4.4.33%gcc@8.5.0~obsolete_api build_system=autotools arch=linux-rhel8-icelake
[+]  2cuzjkd              ^readline@8.2%gcc@8.5.0 build_system=autotools patches=bbf97f1 arch=linux-rhel8-icelake
[+]  n6p2m5y              ^sqlite@3.40.1%gcc@8.5.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-rhel8-icelake
[+]  hgm6i3z              ^util-linux-uuid@2.38.1%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  qyk5vue              ^xz@5.4.1%gcc@8.5.0~pic build_system=autotools libs=shared,static arch=linux-rhel8-icelake
[+]  ciujcy6      ^pkgconf@1.9.5%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  x5zm2bm      ^slepc@3.19.0%gcc@8.5.0~arpack~blopex~cuda~hpddm~rocm build_system=generic arch=linux-rhel8-icelake
[+]  i6iqpcx      ^superlu-dist@8.1.2%gcc@8.5.0~cuda~int64~ipo~openmp~rocm+shared build_system=cmake build_type=Release generator=make arch=linux-rhel8-icelake
[+]  ytzrzyw          ^parmetis@4.0.3%gcc@8.5.0~gdb~int64~ipo+shared build_system=cmake build_type=Release generator=make patches=4f89253,50ed208,704b84f arch=linux-rhel8-icelake
[+]  ku63xtp      ^zlib@1.2.13%gcc@8.5.0+optimize+pic+shared build_system=makefile arch=linux-rhel8-icelake

and then fails with

==> palace: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    '/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/gmake-4.4.1-scjxmtnftp4pqqsp3pxzwggx42z7bae6/bin/make' '-j16'

29 errors found in build log:
     147    [  8%] Building CXX object _deps/mfem-build/CMakeFiles/mfem.dir/general/stable3d.cpp.o
     148    cd /tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-build && /home/sw/spack-v0.20.1-a/lib/spack/env/gcc/g++ -DMFEM_CONFIG_FILE=\"/tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-build/config/
            _config.hpp\" -I/tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-build -I/tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-src -I/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.
            0/hypre-2.28.0-d4rdfit6brnl3tggy22qzxinsh4tb5ei/include -I/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/superlu-dist-8.1.2-i6iqpcxpbkqzsgkreqglwrb7zw6dd4dn/include -I/opt/apps/mpi/openmpi-4.0.3_gcc-8.5.0/include -I/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/metis-5.1.0-6ij2gk6
            2l6vnufdmccgdxz74hbivgjkl/include -I/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/gslib-1.0.7-vcfbycxg62fvldgb6cbg3jzre2kquwff/include -I/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/zlib-1.2.13-ku63xtpcjfuf5b762ld2lk2c3pnfs2sp/include -O3 -DNDEBUG -std=c++11 -MD -MT _deps/mfem-
            build/CMakeFiles/mfem.dir/general/stable3d.cpp.o -MF CMakeFiles/mfem.dir/general/stable3d.cpp.o.d -o CMakeFiles/mfem.dir/general/stable3d.cpp.o -c /tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-src/general/stable3d.cpp
     149    [  8%] Building CXX object _deps/mfem-build/CMakeFiles/mfem.dir/general/table.cpp.o
     150    cd /tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-build && /home/sw/spack-v0.20.1-a/lib/spack/env/gcc/g++ -DMFEM_CONFIG_FILE=\"/tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-build/config/
            _config.hpp\" -I/tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-build -I/tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-src -I/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.
            0/hypre-2.28.0-d4rdfit6brnl3tggy22qzxinsh4tb5ei/include -I/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/superlu-dist-8.1.2-i6iqpcxpbkqzsgkreqglwrb7zw6dd4dn/include -I/opt/apps/mpi/openmpi-4.0.3_gcc-8.5.0/include -I/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/metis-5.1.0-6ij2gk6
            2l6vnufdmccgdxz74hbivgjkl/include -I/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/gslib-1.0.7-vcfbycxg62fvldgb6cbg3jzre2kquwff/include -I/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/zlib-1.2.13-ku63xtpcjfuf5b762ld2lk2c3pnfs2sp/include -O3 -DNDEBUG -std=c++11 -MD -MT _deps/mfem-
            build/CMakeFiles/mfem.dir/general/table.cpp.o -MF CMakeFiles/mfem.dir/general/table.cpp.o.d -o CMakeFiles/mfem.dir/general/table.cpp.o -c /tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-src/general/table.cpp
     151    In file included from /tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-src/general/hash.cpp:12:
     152    /tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-src/general/hash.hpp: In member function 'mfem::HashFunction& mfem::HashFunction::EncodeAndHashDoubles(double_const_iter, double_const_iter)':
  >> 153    /tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-src/general/hash.hpp:1001:39: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     154     1001 |       auto k = reinterpret_cast<const uint64_t &>(*begin);
     155          |                                       ^~~~~~~~
  >> 156    /tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-src/general/hash.hpp:1001:39: error: expected '>' before 'uint64_t'
  >> 157    /tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-src/general/hash.hpp:1001:39: error: expected '(' before 'uint64_t'
     158     1001 |       auto k = reinterpret_cast<const uint64_t &>(*begin);
     159          |                                       ^~~~~~~~
     160          |                                       (
     161    [  8%] Building CXX object _deps/mfem-build/CMakeFiles/mfem.dir/general/tic_toc.cpp.o
  >> 162    /tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-src/general/hash.hpp:1001:39: error: 'uint64_t' was not declared in this scope
     163     1001 |       auto k = reinterpret_cast<const uint64_t &>(*begin);
     164          |                                       ^~~~~~~~
     165    /tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-src/general/hash.hpp:17:1: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
     166       16 | #include "array.hpp"
     167      +++ |+#include <cstdint>
     168       17 | #include "globals.hpp"
  >> 169    /tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-src/general/hash.hpp:1001:49: error: expected primary-expression before '>' token
     170     1001 |       auto k = reinterpret_cast<const uint64_t &>(*begin);
     171          |                                                 ^
     172    cd /tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-build && /home/sw/spack-v0.20.1-a/lib/spack/env/gcc/g++ -DMFEM_CONFIG_FILE=\"/tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-build/config/
            _config.hpp\" -I/tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-build -I/tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-src -I/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.
            0/hypre-2.28.0-d4rdfit6brnl3tggy22qzxinsh4tb5ei/include -I/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/superlu-dist-8.1.2-i6iqpcxpbkqzsgkreqglwrb7zw6dd4dn/include -I/opt/apps/mpi/openmpi-4.0.3_gcc-8.5.0/include -I/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/metis-5.1.0-6ij2gk6
            2l6vnufdmccgdxz74hbivgjkl/include -I/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/gslib-1.0.7-vcfbycxg62fvldgb6cbg3jzre2kquwff/include -I/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/zlib-1.2.13-ku63xtpcjfuf5b762ld2lk2c3pnfs2sp/include -O3 -DNDEBUG -std=c++11 -MD -MT _deps/mfem-
            build/CMakeFiles/mfem.dir/general/tic_toc.cpp.o -MF CMakeFiles/mfem.dir/general/tic_toc.cpp.o.d -o CMakeFiles/mfem.dir/general/tic_toc.cpp.o -c /tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-src/general/tic_toc.cpp
  >> 173    /tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-src/general/hash.hpp:1001:58: error: expected ')' before ';' token
     174     1001 |       auto k = reinterpret_cast<const uint64_t &>(*begin);
     175          |                                                          ^
     176          |                                                          )
  >> 177    make[2]: *** [_deps/mfem-build/CMakeFiles/mfem.dir/build.make:121: _deps/mfem-build/CMakeFiles/mfem.dir/general/hash.cpp.o] Error 1
     178    make[2]: *** Waiting for unfinished jobs....
  >> 179    /tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-src/general/mem_manager.cpp:262:8: error: 'uintptr_t' does not name a type
     180      262 | static uintptr_t pagesize = 0;
     181          |        ^~~~~~~~~
     182    /tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-src/general/mem_manager.cpp:28:1: note: 'uintptr_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
     183       27 | #include <sys/mman.h>
     184      +++ |+#include <cstdint>
     185       28 | #define mfem_memalign(p,a,s) posix_memalign(p,a,s)
  >> 186    /tmp/root/spack-stage/spack-stage-palace-0.11.0-qk4vyoudz24jozzqwpo6bfybp4zg57qo/spack-build-qk4vyou/_deps/mfem-src/general/mem_manager.cpp:263:8: error: 'uintptr_t' does not name a type


Alternatively

spack install palace%gcc@8.5.0

first generates the specs

==> Concretized palace
 -   27eh3gw  palace@0.11.0%gcc@8.5.0~arpack+gslib~int64~ipo~mumps~openmp+slepc~strumpack+superlu-dist build_system=cmake build_type=Release generator=make arch=linux-rhel8-icelake
[+]  bakbmqr      ^cmake@3.26.3%gcc@8.5.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-rhel8-icelake
[+]  2jvsjfx          ^ncurses@6.4%gcc@8.5.0~symlinks+termlib abi=none build_system=autotools arch=linux-rhel8-icelake
[+]  7vbz7bu          ^openssl@1.1.1t%gcc@8.5.0~docs~shared build_system=generic certs=mozilla arch=linux-rhel8-icelake
[+]  3zvihdf              ^ca-certificates-mozilla@2023-01-10%gcc@8.5.0 build_system=generic arch=linux-rhel8-icelake
[+]  a2ywgnt              ^perl@5.36.0%gcc@8.5.0+cpanm+open+shared+threads build_system=generic arch=linux-rhel8-icelake
[+]  t23qwds                  ^berkeley-db@18.1.40%gcc@8.5.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-rhel8-icelake
 -   7ejvode      ^fmt@10.0.0%gcc@8.5.0~ipo+pic~shared build_system=cmake build_type=Release cxxstd=11 generator=make arch=linux-rhel8-icelake
[+]  scjxmtn      ^gmake@4.4.1%gcc@8.5.0~guile build_system=autotools arch=linux-rhel8-icelake
 -   vcfbycx      ^gslib@1.0.7%gcc@8.5.0~blas+mpi+mpiio build_system=generic arch=linux-rhel8-icelake
 -   d4rdfit      ^hypre@2.28.0%gcc@8.5.0~complex~cuda~debug+fortran~gptune~int64~internal-superlu~mixedint+mpi~openmp~rocm+shared~superlu-dist~sycl~umpire~unified-memory build_system=autotools arch=linux-rhel8-icelake
[+]  qqoeyn2          ^intel-oneapi-mkl@2023.1.0%gcc@8.5.0~cluster+envmods~ilp64+shared build_system=generic threads=none arch=linux-rhel8-icelake
[+]  u3d2b4h              ^intel-tbb@2021.9.0%gcc@8.5.0~ipo+shared+tm build_system=cmake build_type=Release cxxstd=default generator=make patches=12a9c3e arch=linux-rhel8-icelake
[+]  4e5f5x5                  ^hwloc@2.9.1%gcc@8.5.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-rhel8-icelake
[+]  pyylnlg                      ^libpciaccess@0.17%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  ihseqmd                          ^libtool@2.4.7%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  s6l33qe                              ^m4@1.4.19%gcc@8.5.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-rhel8-icelake
[+]  boulqpo                                  ^libsigsegv@2.14%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  yidwimn                          ^util-macros@1.19.3%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
 -   6ij2gk6      ^metis@5.1.0%gcc@8.5.0~gdb~int64~ipo~real64+shared build_system=cmake build_type=Release generator=make patches=4991da9,93a7903,b1225da arch=linux-rhel8-icelake
 -   sjkzdur      ^nlohmann-json@3.11.2%gcc@8.5.0~ipo+multiple_headers build_system=cmake build_type=Release generator=make arch=linux-rhel8-icelake
[e]  ezomfq2      ^openmpi@4.0.3%gcc@8.5.0~atomics~cuda~cxx~cxx_exceptions~gpfs~internal-hwloc~java~legacylaunchers~lustre~memchecker~orterunprefix+romio+rsh~singularity+static+vt+wrapper-rpath build_system=autotools fabrics=none patches=60ce20b schedulers=none arch=linux-rhel8-icelake
 -   dx5ddex      ^petsc@3.19.1%gcc@8.5.0~X~batch~cgns+complex~cuda~debug+double~exodusii~fftw+fortran~giflib~hdf5~hpddm~hwloc~hypre~int64~jpeg~knl~kokkos~libpng~libyaml~memkind~metis~mkl-pardiso~mmg~moab~mpfr+mpi~mumps~openmp~p4est~parmmg~ptscotch~random123~rocm~saws~scalapack+shared~strumpack~suite-sparse~superlu-dist~tetgen~t
rilinos~valgrind build_system=generic clanguage=C arch=linux-rhel8-icelake
[+]  tgg5hpa          ^diffutils@3.9%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  u2l5id3              ^libiconv@1.17%gcc@8.5.0 build_system=autotools libs=shared,static arch=linux-rhel8-icelake
[+]  nthjaqr          ^python@3.10.10%gcc@8.5.0+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-rhel8-icelake
[+]  cza73dk              ^bzip2@1.0.8%gcc@8.5.0~debug~pic+shared build_system=generic arch=linux-rhel8-icelake
[+]  ltjykpf              ^expat@2.5.0%gcc@8.5.0+libbsd build_system=autotools arch=linux-rhel8-icelake
[+]  pevgx5n                  ^libbsd@0.11.7%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  4mxivpt                      ^libmd@1.0.4%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  gkqzubf              ^gdbm@1.23%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  pdky4jm              ^gettext@0.21.1%gcc@8.5.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-rhel8-icelake
[+]  o372pgy                  ^libxml2@2.10.3%gcc@8.5.0~python build_system=autotools arch=linux-rhel8-icelake
[+]  4nnk2py                  ^tar@1.34%gcc@8.5.0 build_system=autotools zip=pigz arch=linux-rhel8-icelake
[+]  hkdbhpp                      ^pigz@2.7%gcc@8.5.0 build_system=makefile arch=linux-rhel8-icelake
[+]  5hfoay7                      ^zstd@1.5.5%gcc@8.5.0+programs build_system=makefile compression=none libs=shared,static arch=linux-rhel8-icelake
[+]  h4o4pci              ^libffi@3.4.4%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  pgdp47o              ^libxcrypt@4.4.33%gcc@8.5.0~obsolete_api build_system=autotools arch=linux-rhel8-icelake
[+]  2cuzjkd              ^readline@8.2%gcc@8.5.0 build_system=autotools patches=bbf97f1 arch=linux-rhel8-icelake
[+]  n6p2m5y              ^sqlite@3.40.1%gcc@8.5.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-rhel8-icelake
[+]  hgm6i3z              ^util-linux-uuid@2.38.1%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  qyk5vue              ^xz@5.4.1%gcc@8.5.0~pic build_system=autotools libs=shared,static arch=linux-rhel8-icelake
[+]  ciujcy6      ^pkgconf@1.9.5%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
 -   x5zm2bm      ^slepc@3.19.0%gcc@8.5.0~arpack~blopex~cuda~hpddm~rocm build_system=generic arch=linux-rhel8-icelake
 -   i6iqpcx      ^superlu-dist@8.1.2%gcc@8.5.0~cuda~int64~ipo~openmp~rocm+shared build_system=cmake build_type=Release generator=make arch=linux-rhel8-icelake
 -   ytzrzyw          ^parmetis@4.0.3%gcc@8.5.0~gdb~int64~ipo+shared build_system=cmake build_type=Release generator=make patches=4f89253,50ed208,704b84f arch=linux-rhel8-icelake
[+]  ku63xtp      ^zlib@1.2.13%gcc@8.5.0+optimize+pic+shared build_system=makefile arch=linux-rhel8-icelake

and then fails with

==> palace: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    '/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/gmake-4.4.1-scjxmtnftp4pqqsp3pxzwggx42z7bae6/bin/make' '-j16'

33 errors found in build log:
     559    /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/include/fmt/core.h:1827:77:   required from 'constexpr fmt::v10::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {fmt::v10::basic_format_string<char>&}; Context = fmt::v10::basic_format_c
            ontext<fmt::v10::appender, char>; Args = {fmt::v10::basic_format_string<char>}]'
     560    /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/include/fmt/core.h:2818:1:   required from 'std::__cxx11::string fmt::v10::format(fmt::v10::format_string<T ...>, T&& ...) [with T = {fmt::v10::basic_format_string<char>&}; std::__cxx11::string = std::__cxx11
            ::basic_string<char>; fmt::v10::format_string<T ...> = fmt::v10::basic_format_string<char, fmt::v10::basic_format_string<char>&>]'
     561    /tmp/root/spack-stage/spack-stage-palace-0.11.0-27eh3gw6ceqhziguremrsrhkmwzk44u2/spack-src/palace/utils/communication.hpp:196:28:   required from 'static void palace::Mpi::Warning(MPI_Comm, fmt::v10::format_string<T ...>, T&& ...) [with T = {}; MPI_Comm = ompi_communicator_t*; fmt::v10::format_string<T ...> = fmt::v
            10::basic_format_string<char>]'
     562    /tmp/root/spack-stage/spack-stage-palace-0.11.0-27eh3gw6ceqhziguremrsrhkmwzk44u2/spack-src/palace/utils/communication.hpp:202:12:   required from 'static void palace::Mpi::Warning(fmt::v10::format_string<T ...>, T&& ...) [with T = {}; fmt::v10::format_string<T ...> = fmt::v10::basic_format_string<char>]'
     563    /tmp/root/spack-stage/spack-stage-palace-0.11.0-27eh3gw6ceqhziguremrsrhkmwzk44u2/spack-src/palace/fem/materialoperator.cpp:335:81:   required from here
     564    /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/include/fmt/core.h:2817:44:   in 'constexpr' expansion of 'fmt::v10::make_format_args<>(args#0)'
  >> 565    /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/include/fmt/core.h:1691:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
     566           formattable,
     567           ^~~~~~~~~~~
  >> 568    make[2]: *** [CMakeFiles/palace.dir/build.make:247: CMakeFiles/palace.dir/fem/materialoperator.cpp.o] Error 1
     569    make[2]: *** Waiting for unfinished jobs....
     570    In file included from /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/include/fmt/format.h:49,
     571                     from /tmp/root/spack-stage/spack-stage-palace-0.11.0-27eh3gw6ceqhziguremrsrhkmwzk44u2/spack-src/palace/utils/communication.hpp:8,
     572                     from /tmp/root/spack-stage/spack-stage-palace-0.11.0-27eh3gw6ceqhziguremrsrhkmwzk44u2/spack-src/palace/fem/laplaceoperator.cpp:6:
     573    /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/include/fmt/core.h: In instantiation of 'constexpr fmt::v10::detail::value<Context> fmt::v10::detail::make_value(T&&) [with Context = fmt::v10::basic_format_context<fmt::v10::appender, char>; T = fmt::v10::ba
            sic_format_string<char, int&>&]':
     574    /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/include/fmt/core.h:1711:29:   required from 'constexpr fmt::v10::detail::value<Context> fmt::v10::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v10::basic_format_context<fmt::v10::appender
            , char>; fmt::v10::detail::type <anonymous> = (fmt::v10::detail::type)15; T = fmt::v10::basic_format_string<char, int&>&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]'
     575    /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/include/fmt/core.h:1827:77:   required from 'constexpr fmt::v10::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {fmt::v10::basic_format_string<char, int&>&}; Context = fmt::v10::basic_fo
            rmat_context<fmt::v10::appender, char>; Args = {fmt::v10::basic_format_string<char, int&>}]'
     576    /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/include/fmt/core.h:2818:1:   required from 'std::__cxx11::string fmt::v10::format(fmt::v10::format_string<T ...>, T&& ...) [with T = {fmt::v10::basic_format_string<char, int&>&}; std::__cxx11::string = std::_
            _cxx11::basic_string<char>; fmt::v10::format_string<T ...> = fmt::v10::basic_format_string<char, fmt::v10::basic_format_string<char, int&>&>]'
     577    /tmp/root/spack-stage/spack-stage-palace-0.11.0-27eh3gw6ceqhziguremrsrhkmwzk44u2/spack-src/palace/utils/communication.hpp:196:28:   required from 'static void palace::Mpi::Warning(MPI_Comm, fmt::v10::format_string<T ...>, T&& ...) [with T = {int&}; MPI_Comm = ompi_communicator_t*; fmt::v10::format_string<T ...> = fm
            t::v10::basic_format_string<char, int&>]'
     578    /tmp/root/spack-stage/spack-stage-palace-0.11.0-27eh3gw6ceqhziguremrsrhkmwzk44u2/spack-src/palace/utils/communication.hpp:202:12:   required from 'static void palace::Mpi::Warning(fmt::v10::format_string<T ...>, T&& ...) [with T = {int&}; fmt::v10::format_string<T ...> = fmt::v10::basic_format_string<char, int&>]'
     579    /tmp/root/spack-stage/spack-stage-palace-0.11.0-27eh3gw6ceqhziguremrsrhkmwzk44u2/spack-src/palace/fem/laplaceoperator.cpp:47:91:   required from here
     580    /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/include/fmt/core.h:2817:44:   in 'constexpr' expansion of 'fmt::v10::make_format_args<>(args#0)'
  >> 581    /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/include/fmt/core.h:1691:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
     582           formattable,
     583           ^~~~~~~~~~~
     584    In file included from /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/include/fmt/format.h:49,
     585                     from /tmp/root/spack-stage/spack-stage-palace-0.11.0-27eh3gw6ceqhziguremrsrhkmwzk44u2/spack-src/palace/utils/communication.hpp:8,
     586                     from /tmp/root/spack-stage/spack-stage-palace-0.11.0-27eh3gw6ceqhziguremrsrhkmwzk44u2/spack-src/palace/fem/curlcurloperator.cpp:7:
     587    /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/include/fmt/core.h: In instantiation of 'constexpr fmt::v10::detail::value<Context> fmt::v10::detail::make_value(T&&) [with Context = fmt::v10::basic_format_context<fmt::v10::appender, char>; T = fmt::v10::ba
            sic_format_string<char, int&>&]':

     ...

     589    /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/include/fmt/core.h:1827:77:   required from 'constexpr fmt::v10::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {fmt::v10::basic_format_string<char, int&>&}; Context = fmt::v10::basic_fo
            rmat_context<fmt::v10::appender, char>; Args = {fmt::v10::basic_format_string<char, int&>}]'
     590    /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/include/fmt/core.h:2818:1:   required from 'std::__cxx11::string fmt::v10::format(fmt::v10::format_string<T ...>, T&& ...) [with T = {fmt::v10::basic_format_string<char, int&>&}; std::__cxx11::string = std::_
            _cxx11::basic_string<char>; fmt::v10::format_string<T ...> = fmt::v10::basic_format_string<char, fmt::v10::basic_format_string<char, int&>&>]'
     591    /tmp/root/spack-stage/spack-stage-palace-0.11.0-27eh3gw6ceqhziguremrsrhkmwzk44u2/spack-src/palace/utils/communication.hpp:196:28:   required from 'static void palace::Mpi::Warning(MPI_Comm, fmt::v10::format_string<T ...>, T&& ...) [with T = {int&}; MPI_Comm = ompi_communicator_t*; fmt::v10::format_string<T ...> = fm
            t::v10::basic_format_string<char, int&>]'
     592    /tmp/root/spack-stage/spack-stage-palace-0.11.0-27eh3gw6ceqhziguremrsrhkmwzk44u2/spack-src/palace/utils/communication.hpp:202:12:   required from 'static void palace::Mpi::Warning(fmt::v10::format_string<T ...>, T&& ...) [with T = {int&}; fmt::v10::format_string<T ...> = fmt::v10::basic_format_string<char, int&>]'
     593    /tmp/root/spack-stage/spack-stage-palace-0.11.0-27eh3gw6ceqhziguremrsrhkmwzk44u2/spack-src/palace/fem/curlcurloperator.cpp:49:26:   required from here
     594    /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/include/fmt/core.h:2817:44:   in 'constexpr' expansion of 'fmt::v10::make_format_args<>(args#0)'
  >> 595    /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/include/fmt/core.h:1691:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
     596           formattable,
     597           ^~~~~~~~~~~
     598    In file included from /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/include/fmt/format.h:49,
     599                     from /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/include/fmt/os.h:20,


Alternatively

Using palace%oneapi concretizes to palace@0.11.0%oneapi@2023.2.0, but attempts to use petsc@3.19.1%gcc@8.5.0 as can be seen below:

==> Concretized palace%oneapi
 -   g5wqrkg  palace@0.11.0%oneapi@2023.2.0~arpack+gslib~int64~ipo~mumps~openmp+slepc~strumpack+superlu-dist build_system=cmake build_type=Release generator=make arch=linux-rhel8-icelake
[+]  bakbmqr      ^cmake@3.26.3%gcc@8.5.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-rhel8-icelake
[+]  2jvsjfx          ^ncurses@6.4%gcc@8.5.0~symlinks+termlib abi=none build_system=autotools arch=linux-rhel8-icelake
[+]  7vbz7bu          ^openssl@1.1.1t%gcc@8.5.0~docs~shared build_system=generic certs=mozilla arch=linux-rhel8-icelake
[+]  3zvihdf              ^ca-certificates-mozilla@2023-01-10%gcc@8.5.0 build_system=generic arch=linux-rhel8-icelake
[+]  a2ywgnt              ^perl@5.36.0%gcc@8.5.0+cpanm+open+shared+threads build_system=generic arch=linux-rhel8-icelake
[+]  t23qwds                  ^berkeley-db@18.1.40%gcc@8.5.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-rhel8-icelake
[+]  7ejvode      ^fmt@10.0.0%gcc@8.5.0~ipo+pic~shared build_system=cmake build_type=Release cxxstd=11 generator=make arch=linux-rhel8-icelake
[+]  scjxmtn      ^gmake@4.4.1%gcc@8.5.0~guile build_system=autotools arch=linux-rhel8-icelake
[+]  vcfbycx      ^gslib@1.0.7%gcc@8.5.0~blas+mpi+mpiio build_system=generic arch=linux-rhel8-icelake
[+]  d4rdfit      ^hypre@2.28.0%gcc@8.5.0~complex~cuda~debug+fortran~gptune~int64~internal-superlu~mixedint+mpi~openmp~rocm+shared~superlu-dist~sycl~umpire~unified-memory build_system=autotools arch=linux-rhel8-icelake
[+]  qqoeyn2          ^intel-oneapi-mkl@2023.1.0%gcc@8.5.0~cluster+envmods~ilp64+shared build_system=generic threads=none arch=linux-rhel8-icelake
[+]  u3d2b4h              ^intel-tbb@2021.9.0%gcc@8.5.0~ipo+shared+tm build_system=cmake build_type=Release cxxstd=default generator=make patches=12a9c3e arch=linux-rhel8-icelake
[+]  4e5f5x5                  ^hwloc@2.9.1%gcc@8.5.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-rhel8-icelake
[+]  pyylnlg                      ^libpciaccess@0.17%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  ihseqmd                          ^libtool@2.4.7%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  s6l33qe                              ^m4@1.4.19%gcc@8.5.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-rhel8-icelake
[+]  boulqpo                                  ^libsigsegv@2.14%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  yidwimn                          ^util-macros@1.19.3%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  6ij2gk6      ^metis@5.1.0%gcc@8.5.0~gdb~int64~ipo~real64+shared build_system=cmake build_type=Release generator=make patches=4991da9,93a7903,b1225da arch=linux-rhel8-icelake
[+]  sjkzdur      ^nlohmann-json@3.11.2%gcc@8.5.0~ipo+multiple_headers build_system=cmake build_type=Release generator=make arch=linux-rhel8-icelake
[e]  ezomfq2      ^openmpi@4.0.3%gcc@8.5.0~atomics~cuda~cxx~cxx_exceptions~gpfs~internal-hwloc~java~legacylaunchers~lustre~memchecker~orterunprefix+romio+rsh~singularity+static+vt+wrapper-rpath build_system=autotools fabrics=none patches=60ce20b schedulers=none arch=linux-rhel8-icelake
[+]  dx5ddex      ^petsc@3.19.1%gcc@8.5.0~X~batch~cgns+complex~cuda~debug+double~exodusii~fftw+fortran~giflib~hdf5~hpddm~hwloc~hypre~int64~jpeg~knl~kokkos~libpng~libyaml~memkind~metis~mkl-pardiso~mmg~moab~mpfr+mpi~mumps~openmp~p4est~parmmg~ptscotch~random123~rocm~saws~scalapack+shared~strumpack~suite-sparse~superlu-dist~tetgen~t
rilinos~valgrind build_system=generic clanguage=C arch=linux-rhel8-icelake
[+]  tgg5hpa          ^diffutils@3.9%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  u2l5id3              ^libiconv@1.17%gcc@8.5.0 build_system=autotools libs=shared,static arch=linux-rhel8-icelake
[+]  nthjaqr          ^python@3.10.10%gcc@8.5.0+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-rhel8-icelake
[+]  cza73dk              ^bzip2@1.0.8%gcc@8.5.0~debug~pic+shared build_system=generic arch=linux-rhel8-icelake
[+]  ltjykpf              ^expat@2.5.0%gcc@8.5.0+libbsd build_system=autotools arch=linux-rhel8-icelake
[+]  pevgx5n                  ^libbsd@0.11.7%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  4mxivpt                      ^libmd@1.0.4%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  gkqzubf              ^gdbm@1.23%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  pdky4jm              ^gettext@0.21.1%gcc@8.5.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-rhel8-icelake
[+]  o372pgy                  ^libxml2@2.10.3%gcc@8.5.0~python build_system=autotools arch=linux-rhel8-icelake
[+]  4nnk2py                  ^tar@1.34%gcc@8.5.0 build_system=autotools zip=pigz arch=linux-rhel8-icelake
[+]  hkdbhpp                      ^pigz@2.7%gcc@8.5.0 build_system=makefile arch=linux-rhel8-icelake
[+]  5hfoay7                      ^zstd@1.5.5%gcc@8.5.0+programs build_system=makefile compression=none libs=shared,static arch=linux-rhel8-icelake
[+]  h4o4pci              ^libffi@3.4.4%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  pgdp47o              ^libxcrypt@4.4.33%gcc@8.5.0~obsolete_api build_system=autotools arch=linux-rhel8-icelake
[+]  2cuzjkd              ^readline@8.2%gcc@8.5.0 build_system=autotools patches=bbf97f1 arch=linux-rhel8-icelake
[+]  n6p2m5y              ^sqlite@3.40.1%gcc@8.5.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-rhel8-icelake
[+]  hgm6i3z              ^util-linux-uuid@2.38.1%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  qyk5vue              ^xz@5.4.1%gcc@8.5.0~pic build_system=autotools libs=shared,static arch=linux-rhel8-icelake
[+]  ciujcy6      ^pkgconf@1.9.5%gcc@8.5.0 build_system=autotools arch=linux-rhel8-icelake
[+]  x5zm2bm      ^slepc@3.19.0%gcc@8.5.0~arpack~blopex~cuda~hpddm~rocm build_system=generic arch=linux-rhel8-icelake
[+]  i6iqpcx      ^superlu-dist@8.1.2%gcc@8.5.0~cuda~int64~ipo~openmp~rocm+shared build_system=cmake build_type=Release generator=make arch=linux-rhel8-icelake
[+]  ytzrzyw          ^parmetis@4.0.3%gcc@8.5.0~gdb~int64~ipo+shared build_system=cmake build_type=Release generator=make patches=4f89253,50ed208,704b84f arch=linux-rhel8-icelake
[+]  ku63xtp      ^zlib@1.2.13%gcc@8.5.0+optimize+pic+shared build_system=makefile arch=linux-rhel8-icelake

and it fails with

==> palace: Executing phase: 'cmake'
==> Error: ProcessError: Command exited with status 1:
    '/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/cmake-3.26.3-bakbmqrqiwbg65gquu7u2lwjyxuiggzq/bin/cmake' '-G' 'Unix Makefiles' '-DCMAKE_INSTALL_PREFIX:STRING=/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/oneapi-2023.2.0/palace-0.11.0-g5wqrkggg5mkk7gcectnn6hz7fxrc3i5' '-DCMAKE_BUILD_TYPE:STRING=Release' '-DBUILD_TESTING:BOOL=OFF' '-DCMAKE_INTERPROCEDURAL_OPTIMIZATION:BOOL=OFF' '-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON' '-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON' '-DCMAKE_INSTALL_RPATH:STRING=/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/oneapi-2023.2.0/palace-0.11.0-g5wqrkggg5mkk7gcectnn6hz7fxrc3i5/lib;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/oneapi-2023.2.0/palace-0.11.0-g5wqrkggg5mkk7gcectnn6hz7fxrc3i5/lib64;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/gslib-1.0.7-vcfbycxg62fvldgb6cbg3jzre2kquwff/lib;/opt/apps/mpi/openmpi-4.0.3_gcc-8.5.0/lib;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/hypre-2.28.0-d4rdfit6brnl3tggy22qzxinsh4tb5ei/lib;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/intel-oneapi-mkl-2023.1.0-qqoeyn2dsxmxopsm4bex3bnmlxu4pcpw/lib;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/hwloc-2.9.1-4e5f5x57ubz622zilq7k54i2xfgimnco/lib;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/libpciaccess-0.17-pyylnlgruycpuvabz6ujtvw6sgimzvwu/lib;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/libxml2-2.10.3-o372pgyko7iuxfljstpofmkocfqm5g7m/lib;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/libiconv-1.17-u2l5id3y6v4eh22qn4petn3xld6ws477/lib;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/xz-5.4.1-qyk5vue2b3s7pznvco2psu5262d5s3sj/lib;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/zlib-1.2.13-ku63xtpcjfuf5b762ld2lk2c3pnfs2sp/lib;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/ncurses-6.4-2jvsjfx4abb3fnmk6xjkpmm3pu3n7257/lib;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/metis-5.1.0-6ij2gk62l6vnufdmccgdxz74hbivgjkl/lib;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/petsc-3.19.1-dx5ddexaajwe4krvxae4htvl62yk56eu/lib;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/slepc-3.19.0-x5zm2bmcd5mnnlcqyescdpddeuz7zvmq/lib;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/superlu-dist-8.1.2-i6iqpcxpbkqzsgkreqglwrb7zw6dd4dn/lib;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/parmetis-4.0.3-ytzrzywiti242juprsjtokp3dqats2sj/lib;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6/lib64;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/intel-tbb-2021.9.0-u3d2b4htqrz6rl3z67nr4v3qpnc4jkpr/lib64' '-DCMAKE_PREFIX_PATH:STRING=/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/superlu-dist-8.1.2-i6iqpcxpbkqzsgkreqglwrb7zw6dd4dn;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/parmetis-4.0.3-ytzrzywiti242juprsjtokp3dqats2sj;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/slepc-3.19.0-x5zm2bmcd5mnnlcqyescdpddeuz7zvmq;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/petsc-3.19.1-dx5ddexaajwe4krvxae4htvl62yk56eu;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/nlohmann-json-3.11.2-sjkzdurkqc3e5qefi7vsqgncwbn3rrpy;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/metis-5.1.0-6ij2gk62l6vnufdmccgdxz74hbivgjkl;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/hypre-2.28.0-d4rdfit6brnl3tggy22qzxinsh4tb5ei;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/intel-oneapi-mkl-2023.1.0-qqoeyn2dsxmxopsm4bex3bnmlxu4pcpw;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/intel-tbb-2021.9.0-u3d2b4htqrz6rl3z67nr4v3qpnc4jkpr;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/hwloc-2.9.1-4e5f5x57ubz622zilq7k54i2xfgimnco;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/libxml2-2.10.3-o372pgyko7iuxfljstpofmkocfqm5g7m;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/xz-5.4.1-qyk5vue2b3s7pznvco2psu5262d5s3sj;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/libpciaccess-0.17-pyylnlgruycpuvabz6ujtvw6sgimzvwu;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/gslib-1.0.7-vcfbycxg62fvldgb6cbg3jzre2kquwff;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/fmt-10.0.0-7ejvodemnwrk43efzqockzthnz4mizj6;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/gmake-4.4.1-scjxmtnftp4pqqsp3pxzwggx42z7bae6;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/cmake-3.26.3-bakbmqrqiwbg65gquu7u2lwjyxuiggzq;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/zlib-1.2.13-ku63xtpcjfuf5b762ld2lk2c3pnfs2sp;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/libiconv-1.17-u2l5id3y6v4eh22qn4petn3xld6ws477;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/ncurses-6.4-2jvsjfx4abb3fnmk6xjkpmm3pu3n7257;/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/pkgconf-1.9.5-ciujcy6i2js7wli6pnr26pw75zihfc53;/opt/apps/mpi/openmpi-4.0.3_gcc-8.5.0' '-DPALACE_WITH_OPENMP:BOOL=OFF' '-DPALACE_WITH_GSLIB:BOOL=ON' '-DPALACE_WITH_SUPERLU:BOOL=ON' '-DPALACE_WITH_STRUMPACK:BOOL=OFF' '-DPALACE_WITH_MUMPS:BOOL=OFF' '-DPALACE_WITH_SLEPC:BOOL=ON' '-DPALACE_WITH_ARPACK:BOOL=OFF' '-DPALACE_WITH_INTERNAL_JSON=OFF' '-DPALACE_WITH_INTERNAL_FMT=OFF' '-DSuperLUDist_REQUIRED_PACKAGES=MPI' '-DHYPRE_REQUIRED_PACKAGES=LAPACK;BLAS' '/tmp/root/spack-stage/spack-stage-palace-0.11.0-g5wqrkggg5mkk7gcectnn6hz7fxrc3i5/spack-src/palace'

1 error found in build log:
     76    -- Found PkgConfig: /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-8.5.0/pkgconf-1.9.5-ciujcy6i2js7wli6pnr26pw75zihfc53/bin/pkg-config (found version "1.9.5")
     77    -- Checking for module 'PETSc'
     78    --   Found PETSc, version 3.19.1
     79    -- Found PETSc: 3.19.1
     80    -- PETSc test program - Failed
     81    -- PETSc test program with static linkage - Failed
  >> 82    CMake Error at CMakeLists.txt:106 (message):
     83      PETSc could not be found, be sure to set PETSC_DIR
     84
     85
     86    -- Configuring incomplete, errors occurred!


Alternatively

Finally forcing it to do palace%oneapi ^petsc%oneapi concretizes as

==> Concretized palace%oneapi ^petsc%oneapi
 -   cebqtli  palace@0.11.0%oneapi@2023.2.0~arpack+gslib~int64~ipo~mumps~openmp+slepc~strumpack+superlu-dist build_system=cmake build_type=Release generator=make arch=linux-rhel8-icelake
[+]  zcsp2jl      ^cmake@3.26.3%oneapi@2023.2.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-rhel8-icelake
[+]  h7ozmc3          ^ncurses@6.4%oneapi@2023.2.0~symlinks+termlib abi=none build_system=autotools arch=linux-rhel8-icelake
[+]  4ibfk45          ^openssl@1.1.1t%oneapi@2023.2.0~docs~shared build_system=generic certs=mozilla arch=linux-rhel8-icelake
[+]  wm2qool              ^ca-certificates-mozilla@2023-01-10%oneapi@2023.2.0 build_system=generic arch=linux-rhel8-icelake
[+]  ndsa2lc              ^perl@5.36.0%oneapi@2023.2.0+cpanm+open+shared+threads build_system=generic arch=linux-rhel8-icelake
[+]  vujvvgz                  ^berkeley-db@18.1.40%oneapi@2023.2.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-rhel8-icelake
 -   ctbsspt      ^fmt@10.0.0%oneapi@2023.2.0~ipo+pic~shared build_system=cmake build_type=Release cxxstd=11 generator=make arch=linux-rhel8-icelake
[+]  bj2etx2      ^gmake@4.4.1%oneapi@2023.2.0~guile build_system=autotools arch=linux-rhel8-icelake
 -   eegqqhu      ^gslib@1.0.7%oneapi@2023.2.0~blas+mpi+mpiio build_system=generic arch=linux-rhel8-icelake
 -   x24uxpm      ^hypre@2.28.0%oneapi@2023.2.0~complex~cuda~debug+fortran~gptune~int64~internal-superlu~mixedint+mpi~openmp~rocm+shared~superlu-dist~sycl~umpire~unified-memory build_system=autotools arch=linux-rhel8-icelake
[+]  2yvjyrt          ^intel-oneapi-mkl@2023.1.0%oneapi@2023.2.0~cluster+envmods~ilp64+shared build_system=generic threads=none arch=linux-rhel8-icelake
[+]  iyq5zpt              ^intel-tbb@2021.9.0%oneapi@2023.2.0~ipo+shared+tm build_system=cmake build_type=Release cxxstd=default generator=make patches=12a9c3e arch=linux-rhel8-icelake
[+]  t2popak                  ^hwloc@2.9.1%oneapi@2023.2.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-rhel8-icelake
[+]  etpzs4v                      ^libpciaccess@0.17%oneapi@2023.2.0 build_system=autotools arch=linux-rhel8-icelake
[+]  seemp7t                          ^libtool@2.4.7%oneapi@2023.2.0 build_system=autotools arch=linux-rhel8-icelake
[+]  zxn6kt4                              ^m4@1.4.19%oneapi@2023.2.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-rhel8-icelake
[+]  zdtas6g                                  ^libsigsegv@2.14%oneapi@2023.2.0 build_system=autotools arch=linux-rhel8-icelake
[+]  tgcxcai                          ^util-macros@1.19.3%oneapi@2023.2.0 build_system=autotools arch=linux-rhel8-icelake
 -   d4hidyq      ^metis@5.1.0%oneapi@2023.2.0~gdb~int64~ipo~real64+shared build_system=cmake build_type=Release generator=make patches=4991da9,93a7903 arch=linux-rhel8-icelake
[e]  htepbmz      ^mpich@3.3.2%oneapi@2023.2.0~argobots~cuda+fortran+hwloc+hydra+libxml2+pci~rocm+romio~slurm~two_level_namespace~verbs+wrapperrpath build_system=autotools device=ch4 netmod=ofi patches=66ba8eb,be529bf,d2dafc0 pmi=pmi arch=linux-rhel8-icelake
 -   pscb4ji      ^nlohmann-json@3.11.2%oneapi@2023.2.0~ipo+multiple_headers build_system=cmake build_type=Release generator=make arch=linux-rhel8-icelake
 -   hasfryn      ^petsc@3.19.1%oneapi@2023.2.0~X~batch~cgns+complex~cuda~debug+double~exodusii~fftw+fortran~giflib+hdf5~hpddm~hwloc~hypre~int64~jpeg~knl~kokkos~libpng~libyaml~memkind~metis~mkl-pardiso~mmg~moab~mpfr+mpi~mumps~openmp~p4est~parmmg~ptscotch~random123~rocm~saws~scalapack+shared~strumpack~suite-sparse~superlu-dist~te
tgen~trilinos~valgrind build_system=generic clanguage=C arch=linux-rhel8-icelake
[+]  fbmwowm          ^diffutils@3.9%oneapi@2023.2.0 build_system=autotools arch=linux-rhel8-icelake
[+]  kdgqqoh              ^libiconv@1.17%oneapi@2023.2.0 build_system=autotools libs=shared,static arch=linux-rhel8-icelake
 -   moe4ivk          ^hdf5@1.14.1-2%oneapi@2023.2.0~cxx~fortran~hl~ipo~java~map+mpi+shared~szip~threadsafe+tools api=default build_system=cmake build_type=Release generator=make arch=linux-rhel8-icelake
[+]  xijtgma          ^python@3.10.10%oneapi@2023.2.0+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-rhel8-icelake
[+]  c5eqtbs              ^bzip2@1.0.8%oneapi@2023.2.0~debug~pic+shared build_system=generic arch=linux-rhel8-icelake
[+]  x6ldpl5              ^expat@2.5.0%oneapi@2023.2.0+libbsd build_system=autotools arch=linux-rhel8-icelake
[+]  arxj22p                  ^libbsd@0.11.7%oneapi@2023.2.0 build_system=autotools arch=linux-rhel8-icelake
[+]  gqgiuye                      ^libmd@1.0.4%oneapi@2023.2.0 build_system=autotools arch=linux-rhel8-icelake
[+]  377s5jq              ^gdbm@1.23%oneapi@2023.2.0 build_system=autotools arch=linux-rhel8-icelake
[+]  3p6oywh              ^gettext@0.21.1%oneapi@2023.2.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-rhel8-icelake
[+]  szfo6jm                  ^libxml2@2.10.3%oneapi@2023.2.0~python build_system=autotools arch=linux-rhel8-icelake
[+]  mlituhq                  ^tar@1.34%oneapi@2023.2.0 build_system=autotools zip=pigz arch=linux-rhel8-icelake
[+]  i5jkx4o                      ^pigz@2.7%oneapi@2023.2.0 build_system=makefile arch=linux-rhel8-icelake
[+]  2h6biet                      ^zstd@1.5.5%oneapi@2023.2.0+programs build_system=makefile compression=none libs=shared,static arch=linux-rhel8-icelake
[+]  gf6e73j              ^libffi@3.4.4%oneapi@2023.2.0 build_system=autotools arch=linux-rhel8-icelake
[+]  7woajoa              ^libxcrypt@4.4.33%oneapi@2023.2.0~obsolete_api build_system=autotools arch=linux-rhel8-icelake
[+]  6me4doz              ^readline@8.2%oneapi@2023.2.0 build_system=autotools patches=bbf97f1 arch=linux-rhel8-icelake
[+]  5vmq7z2              ^sqlite@3.40.1%oneapi@2023.2.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-rhel8-icelake
[+]  7cy74xa              ^util-linux-uuid@2.38.1%oneapi@2023.2.0 build_system=autotools arch=linux-rhel8-icelake
[+]  nvy3jam              ^xz@5.4.1%oneapi@2023.2.0~pic build_system=autotools libs=shared,static arch=linux-rhel8-icelake
[+]  qkskgud      ^pkgconf@1.9.5%oneapi@2023.2.0 build_system=autotools arch=linux-rhel8-icelake
 -   o2zd4ks      ^slepc@3.19.0%oneapi@2023.2.0~arpack~blopex~cuda~hpddm~rocm build_system=generic arch=linux-rhel8-icelake
 -   vl4ojyy      ^superlu-dist@8.1.2%oneapi@2023.2.0~cuda~int64~ipo~openmp~rocm+shared build_system=cmake build_type=Release generator=make arch=linux-rhel8-icelake
 -   42blq3w          ^parmetis@4.0.3%oneapi@2023.2.0~gdb~int64~ipo+shared build_system=cmake build_type=Release generator=make patches=4f89253,50ed208,704b84f arch=linux-rhel8-icelake
[+]  okt3sm7      ^zlib@1.2.13%oneapi@2023.2.0+optimize+pic+shared build_system=makefile arch=linux-rhel8-icelake

fails with issues unrelated to palace

==> slepc: Executing phase: 'install'
==> [2023-07-26-13:58:21.843506] '/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/oneapi-2023.2.0/python-3.10.10-xijtgmalu4rfw4er6qedepweb4inbdmg/bin/python3.10' 'configure' '--prefix=/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/oneapi-2023.2.0/slepc-3.19.0-o2zd4ksundoro7s4dww7xfcss35fxqsx'
Checking environment... done
Checking PETSc installation...
ERROR: Unable to link with PETSc

This is on RHEL8.8 but I guess the compiler and its version matters more.

Can you please suggest a compiler (and its version) that works? TIA :-)

sebastiangrimberg commented 1 year ago

Hi @davide-q, thanks for raising this issue. The Spack recipe recently changed to be compatible with the minor build system updates in v0.11.2 (see https://github.com/spack/spack/pull/38910). Could you try updating Spack and installing v0.11.2 or develop?

davide-q commented 1 year ago

Hi @sebastiangrimberg thanks for getting back to me so quickly, greatly appreciated!

So I could not move to another version of Spack for other reasons, but backporting your PR to Spack v0.20.1 was straightforward and worked like a charm!

Thanks!

sebastiangrimberg commented 1 year ago

Great to hear!