From e76ec80eb133f2bbd5593dd09dc7b59c0b1f793c Mon Sep 17 00:00:00 2001 From: "Peter W. Draper" <p.w.draper@durham.ac.uk> Date: Fri, 23 Nov 2018 13:25:21 +0000 Subject: [PATCH] Also skip tasks without cells --- src/partition.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/partition.c b/src/partition.c index 80855be2db..965c5a6142 100644 --- a/src/partition.c +++ b/src/partition.c @@ -1205,7 +1205,7 @@ void partition_gather_weights(void *map_data, int num_elements, /* Skip un-interesting tasks. */ if (t->type == task_type_send || t->type == task_type_recv || - t->type == task_type_logger || t->implicit) continue; + t->type == task_type_logger || t->implicit || t->ci == NULL) continue; /* Get the task weight based on fixed cost for this task type. */ double w = repartition_costs[t->type][t->subtype]; -- GitLab