diff options
author | Jose E. Roman <jroman@dsic.upv.es> | 2021-09-03 23:01:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-03 14:01:42 -0700 |
commit | ac3ccad1e24ef8df8a179336d38c68eb11dd32ba (patch) | |
tree | de1f0129104c25603b110937cf7b878b64d79818 | |
parent | 5180b0b4546d8e9bb3985ccffcca2c2bf182dfc1 (diff) | |
download | spack-ac3ccad1e24ef8df8a179336d38c68eb11dd32ba.tar.gz spack-ac3ccad1e24ef8df8a179336d38c68eb11dd32ba.tar.bz2 spack-ac3ccad1e24ef8df8a179336d38c68eb11dd32ba.tar.xz spack-ac3ccad1e24ef8df8a179336d38c68eb11dd32ba.zip |
SLEPc package: add gpu variants (#25760)
-rw-r--r-- | var/spack/repos/builtin/packages/slepc/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/slepc/package.py b/var/spack/repos/builtin/packages/slepc/package.py index df1829b549..699dab7a93 100644 --- a/var/spack/repos/builtin/packages/slepc/package.py +++ b/var/spack/repos/builtin/packages/slepc/package.py @@ -9,7 +9,7 @@ import sys from spack import * -class Slepc(Package): +class Slepc(Package, CudaPackage, ROCmPackage): """Scalable Library for Eigenvalue Problem Computations.""" homepage = "https://slepc.upv.es" @@ -70,6 +70,8 @@ class Slepc(Package): depends_on('petsc@3.8:3.8.99', when='@3.8:3.8.99') depends_on('petsc@3.7:3.7.7', when='@3.7.1:3.7.4') depends_on('petsc@3.6.3:3.6.4', when='@3.6.2:3.6.3') + depends_on('petsc+cuda', when='+cuda') + depends_on('petsc+rocm', when='+rocm') depends_on('arpack-ng~mpi', when='+arpack^petsc~mpi~int64') depends_on('arpack-ng+mpi', when='+arpack^petsc+mpi~int64') |