SLEPc package: add gpu variants (#25760)

This commit is contained in:
Jose E. Roman 2021-09-03 23:01:42 +02:00 committed by GitHub
parent 5180b0b454
commit ac3ccad1e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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')