4 #include "core/LongOptions.h" 5 #include "core/Arguments.h" 6 #include "core/Command.h" 8 #include "SerialMaster.h" 11 #include "AbstractMaster.h" 17 if (arg.compare(
"serial") == 0)
21 else if (arg.compare(
"mpi") == 0)
37 throw std::runtime_error(
38 "Invalid master type in " 39 "AbstractMaster::help");
55 throw std::runtime_error(
56 "Invalid master type in " 57 "AbstractMaster::run");
73 throw std::runtime_error(
74 "Invalid master type in " 75 "AbstractMaster::run");
90 throw std::runtime_error(
91 "Invalid master type in " 92 "AbstractMaster::cleanup");
static void run(controller_t controller, const Arguments &args)
static void cleanup(master_t master)
static void run(master_t master, controller_t controller, const Arguments &args)
static void addLongOptions(LongOptions &lopts)
static void addLongOptions(master_t master, LongOptions &lopts)
static void run(controller_t controller, const Arguments &args)
static std::string help()
static master_t getMaster(const std::string &arg)
static std::string help()
static void addLongOptions(LongOptions &lopts)
static std::string help(master_t master)