petsc: fix scalapack error: (#4341)

Specify either "--with-scalapack-dir" or "--with-scalapack-lib --with-scalapack-include". But not both!
This commit is contained in:
Denis Davydov 2017-05-25 23:23:59 +02:00 committed by Adam J. Stewart
parent c7de8d0cdc
commit af77f811f2

View File

@ -198,7 +198,7 @@ def install(self, spec, prefix):
# 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'))