summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Huebl <axel.huebl@plasma.ninja>2021-06-29 19:55:22 -0700
committerGitHub <noreply@github.com>2021-06-29 20:55:22 -0600
commita647ae2aebe8038fdc34ca76460145ed62ea1cf5 (patch)
tree0a40fa2e9e7893e7ed340ea81502634cba16df8d
parentd00082e70b66abe59520e39d4ebbecc8614df62a (diff)
downloadspack-a647ae2aebe8038fdc34ca76460145ed62ea1cf5.tar.gz
spack-a647ae2aebe8038fdc34ca76460145ed62ea1cf5.tar.bz2
spack-a647ae2aebe8038fdc34ca76460145ed62ea1cf5.tar.xz
spack-a647ae2aebe8038fdc34ca76460145ed62ea1cf5.zip
HiPACE++: FFTW+OpenMP (#24575)
- change the default compute backend: we just start to add OpenMP support - FFTW: prefer with OpenMP acceleration for OpenMP compute backend
-rw-r--r--var/spack/repos/builtin/packages/hipace/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/hipace/package.py b/var/spack/repos/builtin/packages/hipace/package.py
index 490c755183..7fca84cf72 100644
--- a/var/spack/repos/builtin/packages/hipace/package.py
+++ b/var/spack/repos/builtin/packages/hipace/package.py
@@ -20,7 +20,7 @@ class Hipace(CMakePackage):
version('develop', branch='development')
variant('compute',
- default='omp',
+ default='noacc',
values=('omp', 'cuda', 'hip', 'sycl', 'noacc'),
multi=False,
description='On-node, accelerated computing backend')
@@ -36,7 +36,7 @@ class Hipace(CMakePackage):
depends_on('cmake@3.15.0:', type='build')
depends_on('cuda@9.2.88:', when='compute=cuda')
- depends_on('fftw@3:', when='compute=omp')
+ depends_on('fftw@3: +openmp', when='compute=omp')
depends_on('fftw +mpi', when='+mpi compute=omp')
depends_on('mpi', when='+mpi')
depends_on('openpmd-api@hipace', when='+openpmd')