From: Martin Quinson Date: Wed, 24 Jul 2019 21:33:31 +0000 (+0200) Subject: Don't whine that smpi/host-speed was not set in MC mode X-Git-Tag: v3.24~264 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/310489f23b42118424a3c374f9b6097e07f48d11 Don't whine that smpi/host-speed was not set in MC mode --- diff --git a/src/smpi/internals/smpi_global.cpp b/src/smpi/internals/smpi_global.cpp index 0b497fb09f..4677f6a7a6 100644 --- a/src/smpi/internals/smpi_global.cpp +++ b/src/smpi/internals/smpi_global.cpp @@ -239,7 +239,7 @@ static void smpi_check_options() xbt_assert(simgrid::config::get_value("smpi/async-small-thresh") <= simgrid::config::get_value("smpi/send-is-detached-thresh")); - if (simgrid::config::is_default("smpi/host-speed")) { + if (simgrid::config::is_default("smpi/host-speed") && not MC_is_active()) { 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/host-speed:\" to set its value. "