From 1caa54629d706bd2b086297bef7e61295755b762 Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Thu, 5 Jul 2018 14:42:27 +0200 Subject: [PATCH] [CONFIG] Add smpi/plugin/lb/migration-frequency option This needs to be moved to the plugin file, but unfortunately, when the smpirun command is parsed, the plugin is not yet initialized and hence an error is thrown (since this option is not yet known). --- src/simgrid/sg_config.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/simgrid/sg_config.cpp b/src/simgrid/sg_config.cpp index c026309c48..415a9c78d1 100644 --- a/src/simgrid/sg_config.cpp +++ b/src/simgrid/sg_config.cpp @@ -446,6 +446,9 @@ void sg_config_init(int *argc, char **argv) simgrid::config::declare_flag("smpi/alltoallv", "Which collective to use for alltoallv", ""); simgrid::config::declare_flag("smpi/bcast", "Which collective to use for bcast", ""); simgrid::config::declare_flag("smpi/reduce", "Which collective to use for reduce", ""); + + simgrid::config::declare_flag("smpi/plugin/lb/migration-frequency", "After how many migrations should the load balancer" + "compute a new mapping?", 10); #endif // HAVE_SMPI /* Others */ -- 2.20.1