summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/molgw/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/molgw/package.py b/var/spack/repos/builtin/packages/molgw/package.py
index a0f07aca2a..17e5283c92 100644
--- a/var/spack/repos/builtin/packages/molgw/package.py
+++ b/var/spack/repos/builtin/packages/molgw/package.py
@@ -39,6 +39,8 @@ class Molgw(MakefilePackage):
# enforce scalapack-capable mkl when asking +scalapack (and using intel-oneapi-mkl)
depends_on("intel-oneapi-mkl+cluster", when="+scalapack ^intel-oneapi-mkl")
+ # enforce threaded mkl when asking +openmp (and using intel-oneapi-mkl)
+ depends_on("intel-oneapi-mkl threads=openmp", when="+openmp ^intel-oneapi-mkl")
# enforce threaded openblas when asking +openmp (and using openblas)
depends_on("openblas threads=openmp", when="+openmp ^openblas")