Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't whine that smpi/host-speed was not set in MC mode
[simgrid.git] / src / smpi / internals / smpi_global.cpp
index 0b497fb..4677f6a 100644 (file)
@@ -239,7 +239,7 @@ static void smpi_check_options()
   xbt_assert(simgrid::config::get_value<int>("smpi/async-small-thresh") <=
              simgrid::config::get_value<int>("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:<flops>\" to set its value.  "