4 #include "master/AbstractMaster.h" 5 #include "controller/AbstractController.h" 11 std::string usage_string;
12 usage_string +=
"Usage: ";
14 usage_string +=
" <master> <controller>";
15 usage_string +=
" <required args>... [options]...";
22 return R
"(General options: 23 -h, --help show help message 24 -i, --ignore-errors ignore nonzero return code from simulator 25 -d, --discard-child-stderr discard stderr from child processes 26 -v, --verbosity=level set verbosity level to debug/info/off 28 -o, --output-file set output file (default stdout) 38 std::cout << std::endl;
42 std::cout << std::endl;
45 serial run at most one simulation overall 46 mpi run at most one simulation per launched MPI process 49 Available controllers: 50 sweep run a parameter sweep 51 rejection run the ABC rejection algorithm 52 smc run the ABC SMC algorithm 53 See ')" << g_program_name << R"( <controller> --help' for more info. 55 Alternatively, see ')" << 57 on both <master> and <controller>. 70 std::cout << std::endl;
74 if (master != no_master)
77 std::cout << std::endl;
84 if (controller != no_controller)
87 std::cout << std::endl;
void overview(int status)
std::string general_options()
static std::string help(controller_t controller)
const char * g_program_name
void help(master_t master, controller_t controller, int status)
static std::string help(master_t master)