From d6f88bba996421ddf4b07b8ba31f1e45a60b34fd Mon Sep 17 00:00:00 2001
From: "Peter W. Draper" <p.w.draper@durham.ac.uk>
Date: Thu, 4 Aug 2016 15:34:27 +0100
Subject: [PATCH] Don't skip the ghost tasks when partitioning

---
 src/partition.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/partition.c b/src/partition.c
index a1760b6f1d..e216e12a5a 100644
--- a/src/partition.c
+++ b/src/partition.c
@@ -455,7 +455,8 @@ static void repart_edge_metis(int partweights, int bothweights, int nodeID,
     /* Skip un-interesting tasks. */
     if (t->type != task_type_self && t->type != task_type_pair &&
         t->type != task_type_sub_self && t->type != task_type_sub_self &&
-        t->type != task_type_kick && t->type != task_type_init)
+        t->type != task_type_ghost && t->type != task_type_kick &&
+        t->type != task_type_init)
       continue;
 
     /* Get the task weight. This can be slightly negative on multiple board
-- 
GitLab