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

Private GIT Repository
Define process::pneigh_sort_by_load().
[loba.git] / options.cpp
index 85c21306070f51d7b9a3fd876874dcb0ee947726..dbfae822b7ed82068d2dff49beea00b07b425742 100644 (file)
@@ -51,7 +51,7 @@ namespace opt {
     // Application parameters
     // fixme: find better defaults
     cost_func comp_cost("1e9, 0");
     // Application parameters
     // fixme: find better defaults
     cost_func comp_cost("1e9, 0");
-    cost_func comm_cost("1, 0");
+    cost_func comm_cost("1e6, 0");
     double min_iter_duration = 1.0;
 
     // Parameters for the end of the simulation
     double min_iter_duration = 1.0;
 
     // Parameters for the end of the simulation
@@ -360,10 +360,10 @@ void opt::usage()
               << " [" << opt_helper::on_off(opt::bookkeeping) << "]\n";
 
     std::clog << "\nApplication parameters\n";
               << " [" << opt_helper::on_off(opt::bookkeeping) << "]\n";
 
     std::clog << "\nApplication parameters\n";
-    std::clog << o("-c [fn,...]f0")
+    std::clog << o("-c [aN,...]a0")
               << "polynomial factors for computation cost"
               << " [" << opt::comp_cost.to_string() << "]\n";
               << "polynomial factors for computation cost"
               << " [" << opt::comp_cost.to_string() << "]\n";
-    std::clog << o("-C [fn,...]f0")
+    std::clog << o("-C [aN,...]a0")
               << "polynomial factors for communication cost"
               << " [" << opt::comm_cost.to_string() << "]\n";
     std::clog << o("-s value")
               << "polynomial factors for communication cost"
               << " [" << opt::comm_cost.to_string() << "]\n";
     std::clog << o("-s value")