oneapi e4s: use require: to force gcc build for some packages (#32309)

This commit is contained in:
Robert Cohn 2022-08-24 16:22:02 -04:00 committed by GitHub
parent ee02623171
commit c56abe4247
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,14 +59,17 @@ spack:
extra_rpaths: [] extra_rpaths: []
packages: packages:
adios2:
require: "%gcc"
all: all:
compiler: [oneapi] require: "%oneapi"
providers: providers:
blas: [openblas] blas: [openblas]
mpi: [mpich] mpi: [mpich]
target: [x86_64] target: [x86_64]
variants: +mpi variants: +mpi
binutils: binutils:
require: "%gcc"
variants: +ld +gold +headers +libiberty ~nls variants: +ld +gold +headers +libiberty ~nls
cuda: cuda:
version: [11.4.2] version: [11.4.2]
@ -78,6 +81,8 @@ spack:
variants: fabrics=sockets,tcp,udp,rxm variants: fabrics=sockets,tcp,udp,rxm
libunwind: libunwind:
variants: +pic +xz variants: +pic +xz
llvm:
require: "%gcc" # undefined reference to `_intel_fast_memset' becauase of -nodefaultlibs
mpich: mpich:
variants: ~wrapperrpath variants: ~wrapperrpath
ncurses: ncurses:
@ -86,11 +91,17 @@ spack:
variants: threads=openmp variants: threads=openmp
python: python:
version: [3.8.13] version: [3.8.13]
ruby:
require: "%gcc" # https://github.com/spack/spack/issues/31954
rust:
require: "%gcc" # undefined reference becauase of -nodefaultlibs
trilinos: trilinos:
variants: +amesos +amesos2 +anasazi +aztec +belos +boost +epetra +epetraext variants: +amesos +amesos2 +anasazi +aztec +belos +boost +epetra +epetraext
+ifpack +ifpack2 +intrepid +intrepid2 +isorropia +kokkos +ml +minitensor +muelu +ifpack +ifpack2 +intrepid +intrepid2 +isorropia +kokkos +ml +minitensor +muelu
+nox +piro +phalanx +rol +rythmos +sacado +stk +shards +shylu +stokhos +stratimikos +nox +piro +phalanx +rol +rythmos +sacado +stk +shards +shylu +stokhos +stratimikos
+teko +tempus +tpetra +trilinoscouplings +zoltan +zoltan2 +superlu-dist gotype=long_long +teko +tempus +tpetra +trilinoscouplings +zoltan +zoltan2 +superlu-dist gotype=long_long
vtk-m:
require: "~openmp"
xz: xz:
variants: +pic variants: +pic
mesa: mesa:
@ -103,8 +114,9 @@ spack:
- aml - aml
- amrex - amrex
- arborx - arborx
- archer
- argobots - argobots
- ascent ^vtk-m ~openmp - ascent
- axom - axom
- bolt - bolt
- bricks - bricks
@ -116,6 +128,7 @@ spack:
- darshan-runtime - darshan-runtime
- darshan-util - darshan-util
- datatransferkit - datatransferkit
- exaworks
- faodel - faodel
- flit - flit
- flux-core - flux-core
@ -149,6 +162,7 @@ spack:
- nrm - nrm
- omega-h - omega-h
- openmpi - openmpi
- openpmd-api
- papi - papi
- papyrus - papyrus
- parallel-netcdf - parallel-netcdf
@ -163,6 +177,9 @@ spack:
- py-jupyterhub - py-jupyterhub
- py-libensemble - py-libensemble
- py-petsc4py - py-petsc4py
- py-warpx ^warpx dims=2
- py-warpx ^warpx dims=3
- py-warpx ^warpx dims=rz
- qthreads scheduler=distrib - qthreads scheduler=distrib
- raja - raja
- rempi - rempi
@ -178,7 +195,7 @@ spack:
- swig@4.0.2-fortran - swig@4.0.2-fortran
- sz - sz
- tasmanian - tasmanian
- tau +mpi +python %oneapi ^binutils%gcc - tau +mpi +python
- trilinos@13.0.1 +amesos +amesos2 +anasazi +aztec +belos +boost +epetra +epetraext - trilinos@13.0.1 +amesos +amesos2 +anasazi +aztec +belos +boost +epetra +epetraext
+ifpack +ifpack2 +intrepid +intrepid2 +isorropia +kokkos +ml +minitensor +muelu +ifpack +ifpack2 +intrepid +intrepid2 +isorropia +kokkos +ml +minitensor +muelu
+nox +piro +phalanx +rol +rythmos +sacado +stk +shards +shylu +stokhos +stratimikos +nox +piro +phalanx +rol +rythmos +sacado +stk +shards +shylu +stokhos +stratimikos
@ -203,25 +220,18 @@ spack:
# CPU BUILD FAILURES # CPU BUILD FAILURES
#- adios2@2.8.0 # adios2 #- adios2@2.8.0 # adios2
#- archer@2.0.0 # binutils
#- charliecloud@0.26 # charliecloud #- charliecloud@0.26 # charliecloud
#- dyninst@12.1.0 # intel-tbb #- dyninst@12.1.0 # old intel-tbb
#- exaworks@0.1.0 # rust, flux-sched #- geopm@1.1.0 # geopm
#- geopm@1.1.0 # ruby
#- h5bench@1.2 # h5bench #- h5bench@1.2 # h5bench
#- hpctoolkit@2022.04.15 # binutils #- hpctoolkit # dyninst
#- openpmd-api@0.14.4 # adios2
#- paraview@5.10.1 +qt # binutils
#- phist@1.9.5 # phist #- phist@1.9.5 # phist
#- paraview +qt # qt
#- pruners-ninja@1.0.1 # pruners-ninja #- pruners-ninja@1.0.1 # pruners-ninja
#- py-warpx@22.05 ^warpx dims=2 # adios2
#- py-warpx@22.05 ^warpx dims=3 # adios2
#- py-warpx@22.05 ^warpx dims=rz # adios2
#- variorum@0.4.1 # variorum #- variorum@0.4.1 # variorum
# CPU BUILD FAILURES - NOTES # CPU BUILD FAILURES - NOTES
# adios2: /usr/bin/ld: ../../lib/libadios2_fortran.so.2.8.2: version node not found for symbol adios2_adios_init_mod@adios2_adios_init_serial_smod._; /usr/bin/ld: failed to set dynamic section sizes: bad value # adios2: /usr/bin/ld: ../../lib/libadios2_fortran.so.2.8.2: version node not found for symbol adios2_adios_init_mod@adios2_adios_init_serial_smod._; /usr/bin/ld: failed to set dynamic section sizes: bad value
# ascent: examples/proxies/cloverleaf3d-ref/clover_main.cpp:24: multiple definition of `main'; /opt/intel/oneapi/compiler/2022.1.0/linux/compiler/lib/intel64_lin/for_main.o:for_main.c:(.text+0x0): first defined here
# binutils: gold/powerpc.cc:3590: undefined reference to `gold::Sized_symbol<64>::Value_type gold::Symbol_table::compute_final_value<64>(gold::Sized_symbol<64> const*, gold::Symbol_table::Compute_final_value_status*) const' # binutils: gold/powerpc.cc:3590: undefined reference to `gold::Sized_symbol<64>::Value_type gold::Symbol_table::compute_final_value<64>(gold::Sized_symbol<64> const*, gold::Symbol_table::Compute_final_value_status*) const'
# charliecloud: autoreconf phase: RuntimeError: configure script not found in ... # charliecloud: autoreconf phase: RuntimeError: configure script not found in ...
# flux-sched: include/yaml-cpp/emitter.h:164:9: error: comparison with NaN always evaluates to false in fast floating point modes [-Werror,-Wtautological-constant-compare] # flux-sched: include/yaml-cpp/emitter.h:164:9: error: comparison with NaN always evaluates to false in fast floating point modes [-Werror,-Wtautological-constant-compare]
@ -230,7 +240,6 @@ spack:
# intel-tbb: clang++clang++clang++clang++clang++clang++clang++: : : : : : : clang++error: : unknown argument: '-flifetime-dse=1' # intel-tbb: clang++clang++clang++clang++clang++clang++clang++: : : : : : : clang++error: : unknown argument: '-flifetime-dse=1'
# phist: fortran_bindings/test/kernels.F90(63): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic. [ARGV] # phist: fortran_bindings/test/kernels.F90(63): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic. [ARGV]
# pruners-ninja: test/ninja_test_util.c:34: multiple definition of `a'; # pruners-ninja: test/ninja_test_util.c:34: multiple definition of `a';
# py-numpy@1.23.1: numpy/distutils/checks/cpu_avx512_knm.c:22:9: error: implicit declaration of function '_mm512_4fmadd_ps' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
# ruby: limits.c:415:34: error: invalid suffix 'D' on floating constant # ruby: limits.c:415:34: error: invalid suffix 'D' on floating constant
# rust: /usr/bin/ld: /opt/intel/oneapi/compiler/2022.1.0/linux/bin-llvm/../compiler/lib/intel64_lin/libimf.a(libm_feature_flag.o): in function `__libm_feature_flag_init': libm_feature_flag.c:(.text+0x25): undefined reference to `__intel_cpu_feature_indicator_x' # rust: /usr/bin/ld: /opt/intel/oneapi/compiler/2022.1.0/linux/bin-llvm/../compiler/lib/intel64_lin/libimf.a(libm_feature_flag.o): in function `__libm_feature_flag_init': libm_feature_flag.c:(.text+0x25): undefined reference to `__intel_cpu_feature_indicator_x'
# variorum: ld: Intel/CMakeFiles/variorum_intel.dir/msr_core.c.o:(.bss+0x0): multiple definition of `g_platform'; CMakeFiles/variorum.dir/config_architecture.c.o:(.bss+0x0): first defined here # variorum: ld: Intel/CMakeFiles/variorum_intel.dir/msr_core.c.o:(.bss+0x0): multiple definition of `g_platform'; CMakeFiles/variorum.dir/config_architecture.c.o:(.bss+0x0): first defined here