Merge pull request #312 from eschnett/eschnett/petsc-mpi
Make PETSc build with OpenMPI
This commit is contained in:
commit
d2b925c709
@ -23,9 +23,6 @@ class Petsc(Package):
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure("--prefix=%s" % prefix,
|
||||
"CC=cc",
|
||||
"CXX=c++",
|
||||
"FC=f90",
|
||||
"--with-blas-lib=%s/libblas.a" % spec['blas'].prefix.lib,
|
||||
"--with-lapack-lib=%s/liblapack.a" % spec['lapack'].prefix.lib,
|
||||
"--with-boost-dir=%s" % spec['boost'].prefix,
|
||||
@ -33,6 +30,7 @@ def install(self, spec, prefix):
|
||||
"--with-parmetis-dir=%s" % spec['parmetis'].prefix,
|
||||
"--with-metis-dir=%s" % spec['metis'].prefix,
|
||||
"--with-hdf5-dir=%s" % spec['hdf5'].prefix,
|
||||
"--with-mpi-dir=%s" % spec['mpi'].prefix,
|
||||
"--with-shared-libraries=0")
|
||||
|
||||
# PETSc has its own way of doing parallel make.
|
||||
|
Loading…
Reference in New Issue
Block a user