From edf81c49742b1ebb73c0ed95c6a28775a183a05d Mon Sep 17 00:00:00 2001
From: Samuel Thibault <samuel.thibault@inria.fr>
Date: Mon, 28 Nov 2016 12:13:45 +0000
Subject: [PATCH] don't force calibration in simulation mode. It does not make
 sense, and hides the StarPU detailed warning about missing calibration

---
 runtime/starpu/control/runtime_control.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/runtime/starpu/control/runtime_control.c b/runtime/starpu/control/runtime_control.c
index 7d041181e..de08dd7d6 100644
--- a/runtime/starpu/control/runtime_control.c
+++ b/runtime/starpu/control/runtime_control.c
@@ -62,9 +62,11 @@ int RUNTIME_init_scheduler( MORSE_context_t *morse, int ncpus, int ncudas, int n
     conf->ncuda = ncudas;
     conf->nopencl = 0;
 
+#if !defined(CHAMELEON_SIMULATION)
     /* By default, enable calibration */
     if (!getenv("STARPU_CALIBRATE"))
         conf->calibrate = 1;
+#endif
 
     /* By default, use the dmdas strategy */
     if (!getenv("STARPU_SCHED")) {
-- 
GitLab