15 template<
typename Backend>
20 backend.
run(jobs,
true);
24 BENCHMAX_LOG_ERROR(
"benchmax",
"The selected backend cannot be suspended. You need to use mode=\"both\".");
28 backend.
run(jobs,
false);
44 if (backend ==
"condor") {
45 execute_backend<CondorBackend>(backend, jobs);
46 }
else if (backend ==
"local") {
47 execute_backend<LocalBackend>(backend, jobs);
48 }
else if (backend ==
"slurm") {
49 execute_backend<SlurmBackend>(backend, jobs);
50 }
else if (backend ==
"ssh") {
51 execute_backend<SSHBackend>(backend, jobs);
#define BENCHMAX_LOG_INFO(channel, msg)
Log informational messages.
#define BENCHMAX_LOG_ERROR(channel, msg)
Log errors.
Base class for all backends.
void run(const Jobs &jobs, bool wait_for_termination)
Run the list of tools against the list of benchmarks.
void process_results(const Jobs &jobs, bool check_finished)
Represents a set of jobs, constructed as the cartesian product of a set of tools and a set of benchma...
void execute_backend(const std::string &name, const Jobs &jobs)
void run_backend(const std::string &backend, const Jobs &jobs)
Runs a given backend on a list of tools and benchmarks.
const auto & settings_operation()
Retrieved operation settings.