Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cache cfg parameters smpi/{cpu_threshold,running_power}.
[simgrid.git] / src / smpi / smpi_global.c
index 4ebd97a..d661907 100644 (file)
@@ -465,6 +465,9 @@ int smpi_main(int (*realmain) (int argc, char *argv[]),int argc, char *argv[])
   mpi_coll_barrier_fun = (int (*)(MPI_Comm comm))
                           mpi_coll_barrier_description[barrier_id].coll;
 
   mpi_coll_barrier_fun = (int (*)(MPI_Comm comm))
                           mpi_coll_barrier_description[barrier_id].coll;
 
+  smpi_cpu_threshold = sg_cfg_get_double("smpi/cpu_threshold");
+  smpi_running_power = sg_cfg_get_double("smpi/running_power");
+
   smpi_global_init();
 
   /* Clean IO before the run */
   smpi_global_init();
 
   /* Clean IO before the run */