diff options
author | Erik Schnetter <schnetter@gmail.com> | 2016-01-07 13:54:47 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2016-01-07 13:54:47 -0500 |
commit | 1646bec1a4fd612abcb408dc169dd189b14756ac (patch) | |
tree | a2502c766a8bec8c2dbee4ba6d2164f6182a4a8f | |
parent | dd04b6a873f7be7e4a57a38459e19013e7f30f10 (diff) | |
download | spack-1646bec1a4fd612abcb408dc169dd189b14756ac.tar.gz spack-1646bec1a4fd612abcb408dc169dd189b14756ac.tar.bz2 spack-1646bec1a4fd612abcb408dc169dd189b14756ac.tar.xz spack-1646bec1a4fd612abcb408dc169dd189b14756ac.zip |
Make PETSc build with OpenMPI
-rw-r--r-- | var/spack/packages/petsc/package.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/var/spack/packages/petsc/package.py b/var/spack/packages/petsc/package.py index f3ed3d72ec..43c7f8a9b6 100644 --- a/var/spack/packages/petsc/package.py +++ b/var/spack/packages/petsc/package.py @@ -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 @@ class Petsc(Package): "--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. |