ishcherb / rpms / pypar

Forked from rpms/pypar 6 years ago
Clone
61198a8
diff -up pypar_2.1.5_108/source/pypar.py.orig pypar_2.1.5_108/source/pypar.py
61198a8
--- pypar_2.1.5_108/source/pypar.py.orig	2011-11-17 12:49:47.000000000 +0200
61198a8
+++ pypar_2.1.5_108/source/pypar.py	2013-02-02 02:16:01.256359253 +0200
f061167
@@ -857,12 +857,6 @@ else:
f061167
          MAX, MIN, SUM, PROD, LAND, BAND,\
f061167
          LOR, BOR, LXOR, BXOR
f061167
 
61198a8
-    # Work around bug in OpenMPI (December 2009):
f061167
-    # https://bugs.launchpad.net/ubuntu/+source/petsc4py/+bug/232036
f061167
-    from ctypes import *
61198a8
-    CDLL('libmpi.so', RTLD_GLOBAL)
f061167
-    # End work around
f061167
-
f061167
     # Initialise MPI with cmd line (needed by MPICH/Linux)
61198a8
     init(sys.argv)
f061167