[pypar] Whoops, add forgotten patch.
Jussi Lehtola
jussilehtola at fedoraproject.org
Thu Nov 17 19:35:55 UTC 2011
commit f0611671c7353e7d90a2165fd1298141b6c25cd9
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date: Thu Nov 17 21:35:47 2011 +0200
Whoops, add forgotten patch.
pypar-mpich.patch | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/pypar-mpich.patch b/pypar-mpich.patch
new file mode 100644
index 0000000..805fd62
--- /dev/null
+++ b/pypar-mpich.patch
@@ -0,0 +1,16 @@
+diff -up pypar_2.1.4_94/source/pypar.py.orig pypar_2.1.4_94/source/pypar.py
+--- pypar_2.1.4_94/source/pypar.py.orig 2009-12-20 06:46:05.000000000 +0200
++++ pypar_2.1.4_94/source/pypar.py 2011-11-17 13:02:19.385697586 +0200
+@@ -857,12 +857,6 @@ else:
+ MAX, MIN, SUM, PROD, LAND, BAND,\
+ LOR, BOR, LXOR, BXOR
+
+- # Work around bug in OpenMPI (December 2009):
+- # https://bugs.launchpad.net/ubuntu/+source/petsc4py/+bug/232036
+- from ctypes import *
+- mpi = CDLL('libmpi.so.0', RTLD_GLOBAL)
+- # End work around
+-
+ # Initialise MPI with cmd line (needed by MPICH/Linux)
+ init(sys.argv)
+
More information about the scm-commits
mailing list