X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/014983949544db9a324cece29a0ccc46b1e3e1f3..bd600acbc48f84223481d030b89144558bc7ea04:/main.cpp?ds=sidebyside diff --git a/main.cpp b/main.cpp index 7bbe686..490b52e 100644 --- a/main.cpp +++ b/main.cpp @@ -12,7 +12,7 @@ #include "version.h" // Creates log categories -XBT_LOG_NEW_CATEGORY(simu, "Simulation messages"); +XBT_LOG_NEW_CATEGORY(simu, "Root of simulation messages"); XBT_LOG_NEW_SUBCATEGORY(main, simu, "Messages from global infrastructure"); XBT_LOG_NEW_SUBCATEGORY(depl, main, "Messages from auto deployment"); XBT_LOG_NEW_SUBCATEGORY(comm, simu, "Messages from asynchronous pipes"); @@ -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) - 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());