From e85ecae0556311d2e9174d02b465a8095674be8c Mon Sep 17 00:00:00 2001
From: "Peter W. Draper" <p.w.draper@durham.ac.uk>
Date: Tue, 5 Jul 2016 16:29:46 +0100
Subject: [PATCH] Remove the task weights for send and recv

This relives some of the issues in the mpi_skip branch, forgot to push this fix, really part of that
---
 src/scheduler.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/scheduler.c b/src/scheduler.c
index e79429f747..d760545ea7 100644
--- a/src/scheduler.c
+++ b/src/scheduler.c
@@ -808,8 +808,6 @@ void scheduler_reweight(struct scheduler *s) {
         default:
           break;
       }
-    if (t->type == task_type_send) t->weight = INT_MAX / 8;
-    if (t->type == task_type_recv) t->weight *= 1.41;
   }
   // message( "weighting tasks took %.3f %s." ,
   // clocks_from_ticks( getticks() - tic ), clocks_getunit());
-- 
GitLab