Merge pull request #600 from davydden/arpack_mpi_fix
arpack: fix for +mpi variant
This commit is contained in:
commit
2d69f386d0
1 changed files with 4 additions and 1 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue