From af77f811f29b4a297dfa2eccb553bd43995071ce Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Thu, 25 May 2017 23:23:59 +0200 Subject: petsc: fix scalapack error: (#4341) Specify either "--with-scalapack-dir" or "--with-scalapack-lib --with-scalapack-include". But not both! --- var/spack/repos/builtin/packages/petsc/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/petsc/package.py b/var/spack/repos/builtin/packages/petsc/package.py index 4e2effd9ad..7d41297f32 100644 --- a/var/spack/repos/builtin/packages/petsc/package.py +++ b/var/spack/repos/builtin/packages/petsc/package.py @@ -198,7 +198,7 @@ class Petsc(Package): # Activates library support if needed for library in ('metis', 'boost', 'hdf5', 'hypre', 'parmetis', - 'mumps', 'scalapack', 'trilinos'): + 'mumps', 'trilinos'): options.append( '--with-{library}={value}'.format( library=library, value=('1' if library in spec else '0')) -- cgit v1.2.3-70-g09d2