From 7c167270a9d9a6755c087c673b777f3feefcc0f7 Mon Sep 17 00:00:00 2001
From: "Silas S. Brown" <ssb22@cam.ac.uk>
Date: Wed, 15 Feb 2017 14:30:50 +0000
Subject: [PATCH] Update Annotator Generator

git-svn-id: http://svn.code.sf.net/p/e-guidedog/code/ssb22/adjuster@2716 29193198-4895-4776-b068-10539e920549
---
 annogen.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/annogen.py b/annogen.py
index be03474..97d670f 100755
--- a/annogen.py
+++ b/annogen.py
@@ -2911,7 +2911,7 @@ def setup_parallelism():
         "ps -p " + str(os.getpid()) + " -o args") \
         .index("-m mpi4py.futures") # ValueError if not found
       import mpi4py.futures # mpi4py v2.1+
-      import mpi4py.MPI ; assert mpi4py.MPI.COMM_WORLD.size > 1, "mpi4py thinks world size is 1: likely a symptom of incorrectly-configured MPI.  Did you compile mpi4py using the same setup (e.g. MPICH or OpenMPI) as you are running?  mpi4py's config is: "+repr(mpi4py.get_config())
+      import mpi4py.MPI, mpi4py ; assert mpi4py.MPI.COMM_WORLD.size > 1, "mpi4py says world size is 1: likely a symptom of incorrectly-configured MPI.  Did you compile mpi4py using the same setup (e.g. MPICH or OpenMPI) as you are running?  mpi4py's config is: "+repr(mpi4py.get_config())
       return mpi4py.futures.MPIPoolExecutor()
     except ValueError: pass # but raise all other exceptions: if we're being run within mpi4py.futures then we want to know about MPI problems
     try:
-- 
GitLab