summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSimon Pintarelli <1237199+simonpintarelli@users.noreply.github.com>2024-06-13 18:39:06 +0200
committerGitHub <noreply@github.com>2024-06-13 09:39:06 -0700
commit61c83261803fb1fe144d1f5f22ed6481181c692a (patch)
treeab655f1f16dde0054f0a8f78c8cd47c68d3c61d1 /var
parentc5caa4b838de7a652ade05ec704621e7d6d3042e (diff)
downloadspack-61c83261803fb1fe144d1f5f22ed6481181c692a.tar.gz
spack-61c83261803fb1fe144d1f5f22ed6481181c692a.tar.bz2
spack-61c83261803fb1fe144d1f5f22ed6481181c692a.tar.xz
spack-61c83261803fb1fe144d1f5f22ed6481181c692a.zip
cleanup q-e-sirius recipe (#44698)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/q-e-sirius/package.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/q-e-sirius/package.py b/var/spack/repos/builtin/packages/q-e-sirius/package.py
index 92593111c7..76491db856 100644
--- a/var/spack/repos/builtin/packages/q-e-sirius/package.py
+++ b/var/spack/repos/builtin/packages/q-e-sirius/package.py
@@ -27,7 +27,6 @@ class QESirius(CMakePackage):
submodules=True,
)
- variant("mpi", default=True, description="Builds with MPI support")
variant("openmp", default=True, description="Enables OpenMP support")
variant("libxc", default=False, description="Support functionals through libxc")
variant("sirius_apps", default=False, description="Build SIRIUS standalone binaries")
@@ -47,7 +46,7 @@ class QESirius(CMakePackage):
depends_on("sirius +openmp", when="+openmp")
depends_on("sirius@develop", when="@develop-ristretto")
- depends_on("mpi", when="+mpi")
+ depends_on("mpi")
depends_on("elpa", when="+elpa")
depends_on("libxc", when="+libxc")
depends_on("fftw-api@3")
@@ -56,12 +55,9 @@ class QESirius(CMakePackage):
depends_on("git", type="build")
depends_on("pkgconfig", type="build")
- conflicts("~mpi", when="+scalapack", msg="SCALAPACK requires MPI support")
conflicts("~scalapack", when="+elpa", msg="ELPA requires SCALAPACK support")
- with when("+mpi"):
- depends_on("mpi")
- variant("scalapack", default=True, description="Enables scalapack support")
+ variant("scalapack", default=True, description="Enables scalapack support")
with when("+scalapack"):
depends_on("scalapack")
@@ -82,7 +78,7 @@ class QESirius(CMakePackage):
"-DQE_ENABLE_CUDA=OFF",
"-DQE_LAPACK_INTERNAL=OFF",
"-DQE_ENABLE_DOC=OFF",
- self.define_from_variant("QE_ENABLE_MPI", "mpi"),
+ "-DQE_ENABLE_MPI=ON",
self.define_from_variant("QE_ENABLE_OPENMP", "openmp"),
self.define_from_variant("QE_ENABLE_ELPA", "elpa"),
self.define_from_variant("QE_ENABLE_LIBXC", "libxc"),