summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Davydov <davydden@gmail.com>2017-05-25 23:23:59 +0200
committerAdam J. Stewart <ajstewart426@gmail.com>2017-05-25 16:23:59 -0500
commitaf77f811f29b4a297dfa2eccb553bd43995071ce (patch)
tree0115088416ddbcf5759ffd39b74e2e1e480d47f8
parentc7de8d0cdcffe74163b8849c9ec4408af429a789 (diff)
downloadspack-af77f811f29b4a297dfa2eccb553bd43995071ce.tar.gz
spack-af77f811f29b4a297dfa2eccb553bd43995071ce.tar.bz2
spack-af77f811f29b4a297dfa2eccb553bd43995071ce.tar.xz
spack-af77f811f29b4a297dfa2eccb553bd43995071ce.zip
petsc: fix scalapack error: (#4341)
Specify either "--with-scalapack-dir" or "--with-scalapack-lib --with-scalapack-include". But not both!
-rw-r--r--var/spack/repos/builtin/packages/petsc/package.py2
1 files changed, 1 insertions, 1 deletions
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'))