Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't whine that smpi/host-speed was not set in MC mode
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Wed, 24 Jul 2019 21:33:31 +0000 (23:33 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Wed, 24 Jul 2019 21:36:45 +0000 (23:36 +0200)
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.  "