From: Arnaud Giersch Date: Thu, 16 Dec 2010 14:37:12 +0000 (+0100) Subject: Use auto_depl::nhosts for auto_depl::load auto-setting. X-Git-Tag: v0.1~231 X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/a36cada5a2972f79e94880ecce4e42b7af44ec56?ds=sidebyside Use auto_depl::nhosts for auto_depl::load auto-setting. --- diff --git a/main.cpp b/main.cpp index 0ec5b6d..490b52e 100644 --- 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) - 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());