Merge pull request #600 from davydden/arpack_mpi_fix

arpack: fix for +mpi variant
This commit is contained in:
Todd Gamblin 2016-03-22 13:05:55 -07:00
commit 2d69f386d0

View file

@ -50,7 +50,10 @@ def install(self, spec, prefix):
options = ['--prefix=%s' % prefix] options = ['--prefix=%s' % prefix]
if '+mpi' in spec: if '+mpi' in spec:
options.append('--enable-mpi') options.extend([
'--enable-mpi',
'F77=mpif77' #FIXME: avoid hardcoding MPI wrapper names
])
if '~shared' in spec: if '~shared' in spec:
options.append('--enable-shared=no') options.append('--enable-shared=no')