- std::clog << o("-b") << "activate bookkeeping\n";
- std::clog << oo("-c", "[fn,...]f0")
- << "polynomial factors for computation cost ("
- << opt::comp_cost.to_string() << ")\n";
- std::clog << oo("-C", "[fn,...]f0")
- << "polynomial factors for communication cost ("
- << opt::comm_cost.to_string() << ")\n";
- std::clog << o("-e") << "exit on close reception\n";
- std::clog << oo("-i", "value")
- << "maximum number of iterations, 0 for infinity ("
- << opt::maxiter << ")\n";
- std::clog << oo("-l", "value")
- << "print current load every \"value\" iterations, 0 to disable ("
- << opt::log_rate << ")\n";
-
+ std::clog << "\nSimulation parameters\n";
+ std::clog << o("-l value")
+ << "print current load every n-th iterations, 0 to disable"
+ << " (" << opt::log_rate << ")\n";
+
+ std::clog << "\nApplication parameters\n";
+ std::clog << o("-c [fn,...]f0")
+ << "polynomial factors for computation cost"
+ << " (" << opt::comp_cost.to_string() << ")\n";
+ std::clog << o("-C [fn,...]f0")
+ << "polynomial factors for communication cost"
+ << " (" << opt::comm_cost.to_string() << ")\n";
+ std::clog << o("-e") << "exit on reception of \"close\" message\n";
+ std::clog << o("-i value")
+ << "maximum number of iterations, 0 for infinity"
+ << " (" << opt::maxiter << ")\n";
+
+ std::clog << "\nLoad balancing algorithm\n";
+ std::clog << o("-b") << "enable bookkeeping\n";
+
+ std::clog << "\nAutomatic deployment options\n";
+ std::clog << o("-T type")
+ << "enable automatic deployment with selected topology\n";
+ if (opt::help_requested > 1) {
+ std::clog << so(1) << "pipo\n";
+ std::clog << so(42) << "atchoum\n";
+ }
+ std::clog << o("-L value")
+ << "total load with auto deployment, 0 for number of hosts"
+ << " (" << opt::auto_depl::load << ")\n";
+ std::clog << o("-N value")
+ << "number of hosts to use with auto deployment,"
+ << " 0 for max. (" << opt::auto_depl::nhosts << ")\n";
+
+#undef so