Skip to content

Commit

Permalink
e4s ci stacks: add fftx cpu, cuda, and rocm builds (spack#47004)
Browse files Browse the repository at this point in the history
* e4s ci stacks: add fftx cpu, cuda, and rocm builds

* disable fftx+rocm due to spack github issue spack#47034

* e4s oneapi: fftx has spack build error spack#47048
  • Loading branch information
eugeneswalker authored Oct 17, 2024
1 parent 962262a commit 7ecdc17
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ spack:
- dyninst
- ecp-data-vis-sdk ~cuda ~rocm +adios2 +ascent +cinema +darshan +faodel +hdf5 ~paraview +pnetcdf +sz +unifyfs +veloc ~visit +vtkm +zfp # +visit: ?
- exaworks
- fftx
- flecsi
# - flit
# - flux-core
Expand Down Expand Up @@ -197,6 +198,7 @@ spack:
- cabana +cuda cuda_arch=90 ^kokkos +wrapper +cuda_lambda +cuda cuda_arch=90
- caliper +cuda cuda_arch=90
- chai +cuda cuda_arch=90 ^umpire ~shared
- fftx +cuda cuda_arch=90
- flecsi +cuda cuda_arch=90
- ginkgo +cuda cuda_arch=90
- gromacs +cuda cuda_arch=90
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ spack:
- dyninst
- ecp-data-vis-sdk ~cuda ~rocm +adios2 +ascent +cinema +darshan +faodel +hdf5 +paraview +pnetcdf +sz +unifyfs +veloc ~visit +vtkm +zfp # +visit: ?
- exaworks
- fftx
- flecsi
- flit
- flux-core
Expand Down Expand Up @@ -226,6 +227,7 @@ spack:
- cusz +cuda cuda_arch=75
- dealii +cuda cuda_arch=75
- ecp-data-vis-sdk +adios2 +hdf5 +vtkm +zfp ~paraview +cuda cuda_arch=75 # # +paraview: job killed oom?
- fftx +cuda cuda_arch=75
- flecsi +cuda cuda_arch=75
- ginkgo +cuda cuda_arch=75
- gromacs +cuda cuda_arch=75
Expand Down Expand Up @@ -274,6 +276,7 @@ spack:
- cusz +cuda cuda_arch=80
- dealii +cuda cuda_arch=80
- ecp-data-vis-sdk +adios2 +hdf5 +vtkm +zfp ~paraview +cuda cuda_arch=80 # +paraview: job killed oom?
- fftx +cuda cuda_arch=80
- flecsi +cuda cuda_arch=80
- ginkgo +cuda cuda_arch=80
- gromacs +cuda cuda_arch=80
Expand Down Expand Up @@ -320,6 +323,7 @@ spack:
- chai +cuda cuda_arch=90 ^umpire ~shared
- chapel +cuda cuda_arch=90
- ecp-data-vis-sdk +adios2 +hdf5 +vtkm +zfp ~paraview +cuda cuda_arch=90 # +paraview: vtkm/exec/cuda/internal/ThrustPatches.h(213): error: this declaration has no storage class or type specifier
- fftx +cuda cuda_arch=90
- flecsi +cuda cuda_arch=90
- ginkgo +cuda cuda_arch=90
- gromacs +cuda cuda_arch=90
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ spack:
# --
# - chapel ~cuda ~rocm # llvm: closures.c:(.text+0x305e): undefined reference to `_intel_fast_memset'
# - cp2k +mpi # dbcsr: dbcsr_api.F(973): #error: incomplete macro call DBCSR_ABORT.
# - fftx # fftx: https://github.com/spack/spack/issues/47048
# - geopm-runtime # libelf: configure: error: installation or configuration problem: C compiler cannot create executables.
# - hpctoolkit # [email protected]%gcc: libiberty/./d-demangle.c:142: undefined reference to `_intel_fast_memcpy'
# - lbann # 2024.2 internal compiler error
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ spack:
- dxt-explorer
- dyninst
- exaworks
- fftx
- flecsi
- flit
- flux-core
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ spack:
- caliper +rocm amdgpu_target=gfx908
- chai +rocm amdgpu_target=gfx908
- ecp-data-vis-sdk +paraview +vtkm +rocm amdgpu_target=gfx908
- fftx +rocm amdgpu_target=gfx908
- gasnet +rocm amdgpu_target=gfx908
- ginkgo +rocm amdgpu_target=gfx908
- heffte +rocm amdgpu_target=gfx908
Expand Down Expand Up @@ -264,6 +265,7 @@ spack:
- caliper +rocm amdgpu_target=gfx90a
- chai +rocm amdgpu_target=gfx90a
- ecp-data-vis-sdk +paraview +vtkm +rocm amdgpu_target=gfx90a
- fftx +rocm amdgpu_target=gfx90a
- gasnet +rocm amdgpu_target=gfx90a
- ginkgo +rocm amdgpu_target=gfx90a
- heffte +rocm amdgpu_target=gfx90a
Expand Down
4 changes: 4 additions & 0 deletions share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ spack:
- e4s-cl
- ecp-data-vis-sdk ~cuda ~rocm +adios2 +ascent +cinema +darshan +faodel +hdf5 +paraview +pnetcdf +sz +unifyfs +veloc +visit +vtkm +zfp # adios2~cuda, ascent~cuda, darshan-runtime, darshan-util, faodel, hdf5, libcatalyst, parallel-netcdf, paraview~cuda, py-cinemasci, sz, unifyfs, veloc, visit, vtk-m, zfp
- exaworks
- fftx
- flecsi
- flit
- flux-core
Expand Down Expand Up @@ -238,6 +239,7 @@ spack:
- cusz +cuda cuda_arch=80
- ecp-data-vis-sdk ~rocm +adios2 ~ascent +hdf5 +vtkm +zfp +paraview +cuda cuda_arch=80 # +ascent fails because fides fetch error
- exago +mpi +python +raja +hiop ~rocm +cuda cuda_arch=80 ~ipopt ^[email protected] ~sparse +mpi +raja ~rocm +cuda cuda_arch=80 #^[email protected]
- fftx +cuda cuda_arch=80
- flecsi +cuda cuda_arch=80
- ginkgo +cuda cuda_arch=80
- gromacs +cuda cuda_arch=80
Expand Down Expand Up @@ -283,6 +285,7 @@ spack:
- caliper +cuda cuda_arch=90
- chai +cuda cuda_arch=90 ^umpire ~shared
- chapel +cuda cuda_arch=90
- fftx +cuda cuda_arch=90
- flecsi +cuda cuda_arch=90
- ginkgo +cuda cuda_arch=90
- gromacs +cuda cuda_arch=90
Expand Down Expand Up @@ -361,6 +364,7 @@ spack:
# - cabana +rocm amdgpu_target=gfx90a # kokkos: https://github.com/spack/spack/issues/44832
# - chapel +rocm amdgpu_target=gfx90a # chapel: need chapel >= 2.2 to support ROCm >5.4
# - exago +mpi +python +raja +hiop +rocm amdgpu_target=gfx90a ~ipopt cxxflags="-Wno-error=non-pod-varargs" ^[email protected] ~sparse +mpi +raja +rocm amdgpu_target=gfx90a # hiop: CMake Error at cmake/FindHiopHipLibraries.cmake:23 (find_package)
# - fftx +rocm amdgpu_target=gfx90a # fftx: https://github.com/spack/spack/issues/47034
# - kokkos +rocm amdgpu_target=gfx90a # kokkos: https://github.com/spack/spack/issues/44832
# - lbann ~cuda +rocm amdgpu_target=gfx90a # aluminum: https://github.com/spack/spack/issues/38807
# - legion +rocm amdgpu_target=gfx90a # kokkos: https://github.com/spack/spack/issues/44832
Expand Down
5 changes: 5 additions & 0 deletions var/spack/repos/builtin/packages/spiral-software/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ def spiral_package_install(self, spec, prefix, pkg):
src = join_path(pkg_prefix, "namespaces", "packages", pkg)
install_tree(src, dest)

def flag_handler(self, name, flags):
if name == "cflags" and self.spec.satisfies("%oneapi"):
flags.append("-Wno-error=implicit-function-declaration")
return (flags, None, None)

def install(self, spec, prefix):
with working_dir(self.stage.source_path):
files = ("LICENSE", "README.md", "ReleaseNotes.md", "Contributing.md")
Expand Down

0 comments on commit 7ecdc17

Please sign in to comment.