SLEPc package: add gpu variants (#25760)
This commit is contained in:
parent
5180b0b454
commit
ac3ccad1e2
1 changed files with 3 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
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')
|
||||
|
||||
|
|
Loading…
Reference in a new issue