diff options
author | h-murai <h-murai@riken.jp> | 2022-05-17 16:33:49 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-17 09:33:49 +0200 |
commit | d74f2d0be5af1c076386147f27af45ce8712f800 (patch) | |
tree | e2978d67e73a56aed5a7da52c53eb92f6297596a /var/spack | |
parent | 021b65d76fcaf97cf14eafec84010fefbd1c6969 (diff) | |
download | spack-d74f2d0be5af1c076386147f27af45ce8712f800.tar.gz spack-d74f2d0be5af1c076386147f27af45ce8712f800.tar.bz2 spack-d74f2d0be5af1c076386147f27af45ce8712f800.tar.xz spack-d74f2d0be5af1c076386147f27af45ce8712f800.zip |
petsc: fix an error about handling a provider of Scalapack. (#30682)
Diffstat (limited to 'var/spack')
-rw-r--r-- | var/spack/repos/builtin/packages/petsc/package.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/petsc/package.py b/var/spack/repos/builtin/packages/petsc/package.py index 547d050375..853650c4ec 100644 --- a/var/spack/repos/builtin/packages/petsc/package.py +++ b/var/spack/repos/builtin/packages/petsc/package.py @@ -442,7 +442,6 @@ class Petsc(Package, CudaPackage, ROCmPackage): # Activates library support if needed (i.e. direct dependency) jpeg_sp = spec['jpeg'].name if 'jpeg' in spec else 'jpeg' - scalapack_sp = spec['scalapack'].name if 'scalapack' in spec else 'scalapack' # to be used in the list of libraries below if '+fortran' in spec: @@ -489,7 +488,7 @@ class Petsc(Package, CudaPackage, ROCmPackage): ('libyaml', 'yaml', True, True), 'hwloc', (jpeg_sp, 'libjpeg', True, True), - (scalapack_sp, 'scalapack', False, True), + ('scalapack', 'scalapack', False, True), 'strumpack', 'mmg', 'parmmg', |