Skip to content

Commit

Permalink
Spack: OpenMP w/o GPU (#3744)
Browse files Browse the repository at this point in the history
Spack desktop environments:
Make sure that we are explicit about not matching GPU
packages if we want to build a pure OpenMP version on a
GPU-enabled machine.
  • Loading branch information
ax3l committed Mar 10, 2023
1 parent 03b2fe6 commit a2edc09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Tools/machines/desktop/spack-macos-openmp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ spack:
specs:
- adios2 ~fortran
- ascent +adios2 +python ~fortran
- blaspp
- blaspp ~cuda +openmp ~rocm
- boost
- ccache
- cmake
- conduit ~fortran
- fftw
- hdf5 ~fortran
- lapackpp
- lapackpp ~cuda ~rocm ^blaspp ~cuda +openmp ~rocm
- mpi
- llvm-openmp
- pkgconfig
Expand Down Expand Up @@ -57,7 +57,7 @@ spack:

packages:
all:
variants: +mpi ~fortran
variants: +mpi ~fortran ~cuda ~rocm
# BLAS/LAPACK: the default (accelerate) pulls [email protected] for
# py-numpy, which fails to build on M1
# MPI: the default (openmpi) triggers annoying firewall warnings when
Expand Down
6 changes: 3 additions & 3 deletions Tools/machines/desktop/spack-ubuntu-openmp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
spack:
specs:
- adios2
- blaspp
- blaspp ~cuda +openmp ~rocm
- boost
- ccache
- cmake
- ecp-data-vis-sdk +adios2 +ascent +hdf5 +sensei
- fftw
- hdf5
- lapackpp
- lapackpp ~cuda ~rocm ^blaspp ~cuda +openmp ~rocm
- mpi
- pkgconfig
- python
Expand All @@ -49,7 +49,7 @@ spack:

packages:
all:
variants: +mpi ~fortran
variants: +mpi ~fortran ~cuda ~rocm
# default blocks at HDF5 1.8, resulting in unmergable solution
conduit:
variants: ~hdf5_compat
Expand Down

0 comments on commit a2edc09

Please sign in to comment.