Skip to content

Commit

Permalink
#23 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
derjasper committed Aug 23, 2019
1 parent a0dac67 commit ee673fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/benchmax/backends/SlurmBackend.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class SlurmBackend: public Backend {
auto& res = std::get<2>(results.back());
if (extension == ".out") {
res.stdout = (*i)[3];
res.exitCode = std::stoi(slurm::parse_result_info((*i)[3], "exitcode"));
res.exitCode = std::stoi(slurm::parse_result_info((*i)[4], "exitcode"));
res.time = std::chrono::milliseconds(std::stoi(slurm::parse_result_info((*i)[4], "time")));
BENCHMAX_LOG_DEBUG("benchmax.slurm", "Got " << res << " for task " << id << " from stdout");
} else if (extension == ".err") {
Expand Down

0 comments on commit ee673fd

Please sign in to comment.