summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/gromacs/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/gromacs/package.py b/var/spack/repos/builtin/packages/gromacs/package.py
index ccb9d3d519..c05838ff66 100644
--- a/var/spack/repos/builtin/packages/gromacs/package.py
+++ b/var/spack/repos/builtin/packages/gromacs/package.py
@@ -114,9 +114,11 @@ class Gromacs(CMakePackage, CudaPackage):
variant(
"heffte",
default=False,
- when="@2021: +sycl+mpi",
+ when="@2021: +mpi",
description="Enable multi-GPU FFT support with HeFFTe",
)
+ depends_on("heffte +cuda", when="+heffte +cuda")
+ depends_on("heffte +sycl", when="+heffte +sycl")
variant("opencl", default=False, description="Enable OpenCL support")
variant("sycl", default=False, when="@2021: %clang", description="Enable SYCL support")
variant(