From a36cada5a2972f79e94880ecce4e42b7af44ec56 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 16 Dec 2010 15:37:12 +0100 Subject: [PATCH 1/1] Use auto_depl::nhosts for auto_depl::load auto-setting. --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- 2.39.5