From: Arnaud Giersch Date: Thu, 30 Jan 2014 14:25:10 +0000 (+0100) Subject: Inform the user that smpi/running_power has to be set to get accurate timings. X-Git-Tag: v3_11_beta~108 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ef161270667830a586e0a6d38a5f1b94cdeda32d Inform the user that smpi/running_power has to be set to get accurate timings. --- 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)