]> AND Private Git Repository - loba.git/blobdiff - main.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Use auto_depl::nhosts for auto_depl::load auto-setting.
[loba.git] / main.cpp
index 0ec5b6da05da76d9d8d80571af3497cc4118df94..490b52ee4830431a3f648670912455c7007545c8 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -96,7 +96,7 @@ int main(int argc, char* argv[])
             if (!opt::auto_depl::nhosts)
                 opt::auto_depl::nhosts = hostdata::size();
             if (!opt::auto_depl::load)
             if (!opt::auto_depl::nhosts)
                 opt::auto_depl::nhosts = hostdata::size();
             if (!opt::auto_depl::load)
-                opt::auto_depl::load = hostdata::size();
+                opt::auto_depl::load = opt::auto_depl::nhosts;
             MY_launch_application(); // it is already opt::* aware...
         } else {
             MSG_launch_application(opt::deployment_file.c_str());
             MY_launch_application(); // it is already opt::* aware...
         } else {
             MSG_launch_application(opt::deployment_file.c_str());