summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreifrau von Bleifrei <freifrauvonbleifrei@users.noreply.github.com>2023-10-31 02:28:52 +0100
committerGitHub <noreply@github.com>2023-10-30 18:28:52 -0700
commit3a0f9ce22602c3027bb6e0cf088abf4204604bd9 (patch)
tree18e6c75b115b938350d4ae765c96f9523c0fda9e
parenta095c8113d5065bcb3d529269bc1de268df6791f (diff)
downloadspack-3a0f9ce22602c3027bb6e0cf088abf4204604bd9.tar.gz
spack-3a0f9ce22602c3027bb6e0cf088abf4204604bd9.tar.bz2
spack-3a0f9ce22602c3027bb6e0cf088abf4204604bd9.tar.xz
spack-3a0f9ce22602c3027bb6e0cf088abf4204604bd9.zip
selalib: add (sca)lapack dependency (#40667)
* selalib: add (sca)lapack dependency * selalib: change when "-mpi" to "~mpi"
-rw-r--r--var/spack/repos/builtin/packages/selalib/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/selalib/package.py b/var/spack/repos/builtin/packages/selalib/package.py
index 23b56afc21..d36a4d2053 100644
--- a/var/spack/repos/builtin/packages/selalib/package.py
+++ b/var/spack/repos/builtin/packages/selalib/package.py
@@ -39,10 +39,12 @@ class Selalib(CMakePackage):
depends_on("fgsl")
depends_on("git", type=("build", "run", "test"))
depends_on("hdf5+fortran+cxx")
+ depends_on("lapack", when="~mpi")
with when("+mpi"):
depends_on("mpi")
depends_on("fftw+mpi")
depends_on("hdf5+mpi")
+ depends_on("scalapack")
depends_on("python@3.0.0:", type=("build"))
# beware: compiling w/ zfp may throw type mismatch errors
depends_on("zfp+fortran", when="+compression")