From ef161270667830a586e0a6d38a5f1b94cdeda32d Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 30 Jan 2014 15:25:10 +0100 Subject: [PATCH] Inform the user that smpi/running_power has to be set to get accurate timings. --- src/smpi/smpi_global.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/smpi/smpi_global.c b/src/smpi/smpi_global.c index 7e446a9590..97115a8d19 100644 --- a/src/smpi/smpi_global.c +++ b/src/smpi/smpi_global.c @@ -335,6 +335,12 @@ void smpi_global_init(void) xbt_assert(sg_cfg_get_int("smpi/async_small_thres") <= sg_cfg_get_int("smpi/send_is_detached_thres")); + + if (sg_cfg_is_default_value("smpi/running_power")) { + XBT_INFO("You did not set the power of the host running the simulation. " + "The timings will certainly not be accurate. " + "Use the option \"--cfg=smpi/running_power:\" to set its value."); + } } void smpi_global_destroy(void) -- 2.20.1