summarylogtreecommitdiffstats
path: root/petsc4py.patch
diff options
context:
space:
mode:
Diffstat (limited to 'petsc4py.patch')
-rw-r--r--petsc4py.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/petsc4py.patch b/petsc4py.patch
new file mode 100644
index 000000000000..07c36eb67d29
--- /dev/null
+++ b/petsc4py.patch
@@ -0,0 +1,11 @@
+--- a/config/BuildSystem/config/packages/petsc4py.py
++++ b/config/BuildSystem/config/packages/petsc4py.py
+@@ -46,7 +46,7 @@
+
+ # if installing prefix location then need to set new value for PETSC_DIR/PETSC_ARCH
+ if self.argDB['prefix'] and not 'package-prefix-hash' in self.argDB:
+- newdir = 'PETSC_DIR='+os.path.abspath(os.path.expanduser(self.argDB['prefix']))+' '+'PETSC_ARCH= MPICC=${PCC} '
++ newdir = 'MPICC=${PCC} '
+ else:
+ newdir = 'MPICC=${PCC} '
+