e4s oneapi: use oneapi@2023.0.0 (#34634)

This commit is contained in:
eugeneswalker 2023-01-29 15:22:14 -06:00 committed by GitHub
parent f576b4b6c5
commit 48a63719b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 104 additions and 83 deletions

View File

@ -332,11 +332,11 @@ e4s-protected-build:
e4s-oneapi-pr-generate: e4s-oneapi-pr-generate:
extends: [ ".e4s-oneapi", ".pr-generate"] extends: [ ".e4s-oneapi", ".pr-generate"]
image: ecpe4s/ubuntu20.04-runner-x86_64-oneapi:2022-07-01 image: ecpe4s/ubuntu20.04-runner-x86_64-oneapi:2023-01-01
e4s-oneapi-protected-generate: e4s-oneapi-protected-generate:
extends: [ ".e4s-oneapi", ".protected-generate"] extends: [ ".e4s-oneapi", ".protected-generate"]
image: ecpe4s/ubuntu20.04-runner-x86_64-oneapi:2022-07-01 image: ecpe4s/ubuntu20.04-runner-x86_64-oneapi:2023-01-01
e4s-oneapi-pr-build: e4s-oneapi-pr-build:
extends: [ ".e4s-oneapi", ".pr-build" ] extends: [ ".e4s-oneapi", ".pr-build" ]

View File

@ -3,7 +3,7 @@ spack:
concretizer: concretizer:
reuse: false reuse: false
unify: when_possible unify: false
config: config:
build_jobs: 32 build_jobs: 32
@ -16,37 +16,37 @@ spack:
compilers: compilers:
- compiler: - compiler:
spec: dpcpp@2022.1.0 spec: dpcpp@2023.0.0
paths: paths:
cc: /opt/intel/oneapi/compiler/2022.1.0/linux/bin/icx cc: /opt/intel/oneapi/compiler/2023.0.0/linux/bin/icx
cxx: /opt/intel/oneapi/compiler/2022.1.0/linux/bin/dpcpp cxx: /opt/intel/oneapi/compiler/2023.0.0/linux/bin/dpcpp
f77: /opt/intel/oneapi/compiler/2022.1.0/linux/bin/ifx f77: /opt/intel/oneapi/compiler/2023.0.0/linux/bin/ifx
fc: /opt/intel/oneapi/compiler/2022.1.0/linux/bin/ifx fc: /opt/intel/oneapi/compiler/2023.0.0/linux/bin/ifx
flags: {} flags: {}
operating_system: ubuntu20.04 operating_system: ubuntu20.04
target: x86_64 target: x86_64
modules: [compiler] modules: [compiler]
environment: environment:
prepend_path: prepend_path:
LD_LIBRARY_PATH: /opt/intel/oneapi/compiler/2022.1.0/linux/compiler/lib/intel64_lin LD_LIBRARY_PATH: /opt/intel/oneapi/compiler/2023.0.0/linux/compiler/lib/intel64_lin
extra_rpaths: [] extra_rpaths: []
- compiler: - compiler:
spec: oneapi@2022.1.0 spec: oneapi@2023.0.0
paths: paths:
cc: /opt/intel/oneapi/compiler/2022.1.0/linux/bin/icx cc: /opt/intel/oneapi/compiler/2023.0.0/linux/bin/icx
cxx: /opt/intel/oneapi/compiler/2022.1.0/linux/bin/icpx cxx: /opt/intel/oneapi/compiler/2023.0.0/linux/bin/icpx
f77: /opt/intel/oneapi/compiler/2022.1.0/linux/bin/ifx f77: /opt/intel/oneapi/compiler/2023.0.0/linux/bin/ifx
fc: /opt/intel/oneapi/compiler/2022.1.0/linux/bin/ifx fc: /opt/intel/oneapi/compiler/2023.0.0/linux/bin/ifx
flags: {} flags: {}
operating_system: ubuntu20.04 operating_system: ubuntu20.04
target: x86_64 target: x86_64
modules: [compiler] modules: [compiler]
environment: environment:
prepend_path: prepend_path:
LD_LIBRARY_PATH: /opt/intel/oneapi/compiler/2022.1.0/linux/compiler/lib/intel64_lin LD_LIBRARY_PATH: /opt/intel/oneapi/compiler/2023.0.0/linux/compiler/lib/intel64_lin
extra_rpaths: [] extra_rpaths: []
- compiler: - compiler:
spec: gcc@9.4.0 spec: gcc@11.1.0
paths: paths:
cc: /usr/bin/gcc cc: /usr/bin/gcc
cxx: /usr/bin/g++ cxx: /usr/bin/g++
@ -60,20 +60,13 @@ spack:
extra_rpaths: [] extra_rpaths: []
packages: packages:
adios2:
require: "%gcc"
all: all:
require: "%oneapi" require: '%oneapi'
providers: providers:
blas: [openblas] blas: [openblas]
mpi: [mpich] mpi: [mpich]
target: [x86_64] target: [x86_64]
variants: +mpi variants: +mpi
binutils:
require: "%gcc"
variants: +ld +gold +headers +libiberty ~nls
cuda:
version: [11.4.2]
elfutils: elfutils:
variants: +bzip2 ~nls +xz variants: +bzip2 ~nls +xz
hdf5: hdf5:
@ -82,8 +75,6 @@ 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:
@ -92,35 +83,55 @@ 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: vtk-m:
require: "~openmp" require: ~openmp
xz: xz:
variants: +pic variants: +pic
mesa: mesa:
version: [21.3.8] version: [21.3.8]
binutils:
require: '%gcc'
variants: +ld +gold +headers +libiberty ~nls
bison:
require: '%gcc'
krb5:
require: '%gcc'
llvm:
require: '%gcc'
m4:
require: '%gcc'
openssh:
require: '%gcc'
papi:
require: '%gcc'
py-scipy:
require: '%gcc'
ruby:
require: '%gcc'
rust:
require: '%gcc'
unzip:
require: '%gcc'
specs: specs:
# CPU # CPU
- adios - adios
- adios2
- alquimia - alquimia
- aml - aml
- amrex
- arborx - arborx
- archer - archer
- argobots - argobots
- ascent - ascent
- amrex
- axom - axom
- bolt - bolt
- bricks
- butterflypack - butterflypack
- cabana - cabana
- caliper - caliper
@ -129,20 +140,15 @@ spack:
- darshan-runtime - darshan-runtime
- darshan-util - darshan-util
- datatransferkit - datatransferkit
- exaworks
- faodel - faodel
- flit - flit
- flux-core
- fortrilinos - fortrilinos
- gasnet - gasnet
- ginkgo
- globalarrays - globalarrays
- gmp - gmp
- gotcha - gotcha
- gptune
- hdf5 +fortran +hl +shared - hdf5 +fortran +hl +shared
- heffte +fftw - heffte +fftw
- hpx max_cpu_count=512 networking=mpi
- hypre - hypre
- kokkos-kernels +openmp - kokkos-kernels +openmp
- kokkos +openmp - kokkos +openmp
@ -160,7 +166,6 @@ spack:
- nccmp - nccmp
- nco - nco
- netlib-scalapack - netlib-scalapack
- nrm
- omega-h - omega-h
- openmpi - openmpi
- openpmd-api - openpmd-api
@ -174,17 +179,11 @@ spack:
- plumed - plumed
- precice - precice
- pumi - pumi
- py-cinemasci
- 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
- scr
- slate ~cuda - slate ~cuda
- slepc - slepc
- stc - stc
@ -193,10 +192,8 @@ spack:
- superlu-dist - superlu-dist
- superlu - superlu
- swig - swig
- swig@4.0.2-fortran
- sz - sz
- tasmanian - tasmanian
- 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
@ -213,54 +210,72 @@ spack:
# GPU # GPU
- aml +ze - aml +ze
- amrex +sycl
- arborx +sycl ^kokkos +sycl +openmp std=17 +tests +examples - arborx +sycl ^kokkos +sycl +openmp std=17 +tests +examples
- cabana +sycl ^kokkos +sycl +openmp std=17 +tests +examples - cabana +sycl ^kokkos +sycl +openmp std=17 +tests +examples
- kokkos +sycl +openmp std=17 +tests +examples %oneapi - kokkos +sycl +openmp std=17 +tests +examples %oneapi
- kokkos-kernels build_type=Release %oneapi ^kokkos +sycl +openmp std=17 +tests +examples %oneapi - kokkos-kernels build_type=Release ^kokkos +sycl +openmp std=17 +tests +examples %oneapi
# CPU BUILD FAILURES # CPU FAILURES
#- adios2@2.8.0 # adios2 # - bricks # bricks
#- charliecloud@0.26 # charliecloud # - charliecloud # charliecloud
#- dyninst@12.1.0 # old intel-tbb # - dyninst # old intel-tbb
#- geopm@1.1.0 # geopm # - exaworks # py-setuptools-scm
#- h5bench@1.2 # h5bench # - flux-core # py-setuptools-scm
# - geopm # geopm
# - ginkgo # ginkgo
# - gptune # py-scipy@1.3.3
# - h5bench # h5bench
# - hpctoolkit # dyninst # - hpctoolkit # dyninst
#- phist@1.9.5 # phist # - hpx max_cpu_count=512 networking=mpi # boost cxxstd=17
# - nrm # py-scipy
# - paraview +qt # qt # - paraview +qt # qt
#- pruners-ninja@1.0.1 # pruners-ninja # - phist # phist
#- variorum@0.4.1 # variorum # - pruners-ninja # pruners-ninja
# - py-cinemasci # py-scipy@1.3.3, py-setuptools-scm
# CPU BUILD FAILURES - NOTES # - py-jupyterhub # py-setuptools-scm
# 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 # - py-warpx ^warpx dims=2 # py-scipy@1.5.4
# - py-warpx ^warpx dims=3 # py-scipy@1.5.4
# - py-warpx ^warpx dims=rz # py-scipy@1.5.4
# - scr # libyogrt
# - swig@4.0.2-fortran # swig
# - tau +mpi +python # tau
# - variorum # variorum
# --
# amrex: /opt/intel/oneapi/compiler/2023.0.0/linux/bin-llvm/../include/sycl/detail/defines_elementary.hpp:52:40: note: expanded from macro '__SYCL2020_DEPRECATED'
# amrex: /opt/intel/oneapi/compiler/2023.0.0/linux/bin-llvm/../include/sycl/detail/defines_elementary.hpp:52:40: note: expanded from macro '__SYCL2020_DEPRECATED'
# 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'
# boost cxxstd=17: ./boost/mpl/aux_/integral_wrapper.hpp:73:31: error: integer value -1 is outside the valid range of values [0, 3] for this enumeration type [-Wenum-constexpr-conversion]
# bricks: cc1plus: error: bad value ('OFF') for '-mtune=' switch
# 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]
# flux-sched: include/yaml-cpp/emitter.h:171:24: error: comparison with infinity always evaluates to false in fast floating point modes [-Werror,-Wtautological-constant-compare] # flux-sched: include/yaml-cpp/emitter.h:171:24: error: comparison with infinity always evaluates to false in fast floating point modes [-Werror,-Wtautological-constant-compare]
# ginkgo: icpx: error: clang frontend command failed with exit code 139
# h5bench: commons/h5bench_util.h:196: multiple definition of `has_vol_async'; # h5bench: commons/h5bench_util.h:196: multiple definition of `has_vol_async';
# 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'
# libyogrt: configure: error: slurm is not in specified location!
# 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-cryptography: ??
# py-scipy@1.3.3: gcc: error: unrecognized command-line option '-fp-model=strict'
# py-scipy@1.5.4: gcc: error: unrecognized command-line option '-fp-model=strict'
# py-setuptools-scm: ??
# 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'
# swig@4.0.2-fortran: /spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-11.1.0/m4-1.4.19-p3otmjixpi6zibdsyoqib5dpzfshq3nj/bin/m4:/spack/opt/spack/linux-ubuntu20.04-x86_64/oneapi-2023.0.0/bison-3.8.2-xca2sot4jhd72hvj2m2b3ajchagczvau/share/bison/skeletons/yacc.c:420: undefined macro `b4_symbol(103, tag)'
# tau: Error: Unable to identify ifort lib directory
# 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
# vtk-m +openmp: clang++: error: clang frontend command failed with exit code 139 (use -v to see invocation) # vtk-m +openmp: clang++: error: clang frontend command failed with exit code 139 (use -v to see invocation)
# GPU BUILD FAILURES # GPU FAILURES
#- ginkgo@1.4.0 +oneapi %dpcpp ^cmake%oneapi # ginkgo # - amrex +sycl # amrex
#- hpctoolkit@2022.04.15 +level_zero # dyninst # - ginkgo +oneapi # ginkgo
#- sundials@6.2.0 +sycl cxxstd=17 # sundials # - hpctoolkit +level_zero # dyninst
#- tau@2.31.1 +mpi +opencl +level_zero ~pdt %oneapi ^binutils%gcc@9.4.0 ^papi%gcc@9.4.0 # tau # - sundials +sycl cxxstd=17 # sundials
# - tau +mpi +opencl +level_zero ~pdt # tau
# GPU BUILD FAILURES - NOTES # --
# berkeley-db %dpcpp: dpcpp: dpcpperror: : no such file or directory: '/tmp/conftest-9d8d34.o'
# ginkgo %dpcpp: CMakeTestCXXCompiler.cmake:62: /usr/bin/ld: warning: libsvml.so, needed by /opt/intel/oneapi/compiler/2022.1.0/linux/bin-llvm/../lib/libsycl.so, not found (try using -rpath or -rpath-link) ...
# ncurses %dpcpp: If you have ncurses 4.2 applications, you should read the INSTALL document, and install the terminfo without the -x optiontic: error while loading shared libraries: libsvml.so: cannot open shared object file: No such file or directory
# sundials: include/sunmemory/sunmemory_sycl.h:20:10: fatal error: 'CL/sycl.hpp' file not found
# tau: requires libdrm-dev
# SKIPPED # SKIPPED
#- flecsi@1.4.2 # dependency pfunit marks oneapi as an unsupported compiler # - flecsi # dependency pfunit marks oneapi as an unsupported compiler
mirrors: { "mirror": "s3://spack-binaries/develop/e4s-oneapi" } mirrors: { "mirror": "s3://spack-binaries/develop/e4s-oneapi" }
@ -286,14 +301,14 @@ spack:
- if [[ -r /mnt/key/intermediate_ci_signing_key.gpg ]]; then spack gpg trust /mnt/key/intermediate_ci_signing_key.gpg; fi - if [[ -r /mnt/key/intermediate_ci_signing_key.gpg ]]; then spack gpg trust /mnt/key/intermediate_ci_signing_key.gpg; fi
- if [[ -r /mnt/key/spack_public_key.gpg ]]; then spack gpg trust /mnt/key/spack_public_key.gpg; fi - if [[ -r /mnt/key/spack_public_key.gpg ]]; then spack gpg trust /mnt/key/spack_public_key.gpg; fi
- export PATH=/bootstrap/runner/view/bin:${PATH} - export PATH=/bootstrap/runner/view/bin:${PATH}
- . /bootstrap/runner/install/linux-ubuntu20.04-x86_64/gcc-9.4.0/lmod-8.7.2-ri26z7qy6ixtgpsqinswx3w6tuggluv5/lmod/8.7.2/init/bash - . /bootstrap/runner/install/linux-ubuntu20.04-x86_64/gcc-11.1.0/lmod-8.7.2-b7eq7rjeckn3m4o4lglsakilibkznjom/lmod/8.7.2/init/bash
- module use /opt/intel/oneapi/modulefiles - module use /opt/intel/oneapi/modulefiles
- module load compiler - module load compiler
- spack --color=always --backtrace ci rebuild > >(tee ${SPACK_ARTIFACTS_ROOT}/user_data/pipeline_out.txt) 2> >(tee ${SPACK_ARTIFACTS_ROOT}/user_data/pipeline_err.txt >&2) - spack --color=always --backtrace ci rebuild > >(tee ${SPACK_ARTIFACTS_ROOT}/user_data/pipeline_out.txt) 2> >(tee ${SPACK_ARTIFACTS_ROOT}/user_data/pipeline_err.txt >&2)
after_script: after_script:
- cat /proc/loadavg || true - cat /proc/loadavg || true
image: ecpe4s/ubuntu20.04-runner-x86_64-oneapi:2022-07-01 image: ecpe4s/ubuntu20.04-runner-x86_64-oneapi:2023-01-01
match_behavior: first match_behavior: first
mappings: mappings:
@ -478,7 +493,7 @@ spack:
before_script: before_script:
- . "./share/spack/setup-env.sh" - . "./share/spack/setup-env.sh"
- spack --version - spack --version
image: ecpe4s/ubuntu20.04-runner-x86_64-oneapi:2022-07-01 image: ecpe4s/ubuntu20.04-runner-x86_64-oneapi:2023-01-01
tags: ["spack", "public", "x86_64"] tags: ["spack", "public", "x86_64"]
signing-job-attributes: signing-job-attributes:

View File

@ -37,6 +37,12 @@ def headers(self):
# The headers are probably in self.prefix.lib but we search everywhere # The headers are probably in self.prefix.lib but we search everywhere
return find_headers("ffi", self.prefix, recursive=True) return find_headers("ffi", self.prefix, recursive=True)
def flag_handler(self, name, flags):
if name == "cflags":
if self.spec.satisfies("%oneapi@2023:"):
flags.append("-Wno-error=implicit-function-declaration")
return (flags, None, None)
def configure_args(self): def configure_args(self):
args = [] args = []
if self.spec.version >= Version("3.3"): if self.spec.version >= Version("3.3"):