Skip to content
Snippets Groups Projects
Commit 6dcd8178 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Displace resume option position

parent f63bc345
Branches
No related tags found
1 merge request!199Integrate checkpointing
...@@ -101,9 +101,6 @@ initialize(int& argc, char* argv[]) ...@@ -101,9 +101,6 @@ initialize(int& argc, char* argv[])
app.add_option("filename", filename, "pugs script file")->check(CLI::ExistingFile)->required(); app.add_option("filename", filename, "pugs script file")->check(CLI::ExistingFile)->required();
bool is_resuming = false;
app.add_flag("--resume", is_resuming, "Resume at checkpoint");
app.set_version_flag("-v,--version", []() { app.set_version_flag("-v,--version", []() {
ConsoleManager::init(true); ConsoleManager::init(true);
std::stringstream os; std::stringstream os;
...@@ -138,6 +135,9 @@ initialize(int& argc, char* argv[]) ...@@ -138,6 +135,9 @@ initialize(int& argc, char* argv[])
app.add_flag("--reproducible-sums,!--no-reproducible-sums", reproducible_sums, app.add_flag("--reproducible-sums,!--no-reproducible-sums", reproducible_sums,
"Special treatment of array sums to ensure reproducibility [default: true]"); "Special treatment of array sums to ensure reproducibility [default: true]");
bool is_resuming = false;
app.add_flag("--resume", is_resuming, "Resume at checkpoint");
app.add_flag("--parallel-output", parallel_output, "All MPI processes output to console [default: false]"); app.add_flag("--parallel-output", parallel_output, "All MPI processes output to console [default: false]");
std::map<std::string, ParallelChecker::Mode> pc_mode_map{{"auto", ParallelChecker::Mode::automatic}, std::map<std::string, ParallelChecker::Mode> pc_mode_map{{"auto", ParallelChecker::Mode::automatic},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment