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

Merge branch 'develop' into feature/reconstruction

parents 5e5dd2f4 fa321c14
Branches
No related tags found
No related merge requests found
......@@ -17,10 +17,12 @@ private:
int m_slurm_job_id = -1;
public:
bool mustStop() const
bool
mustStop() const
{
if (m_slurm_job_id == -1) {
false;
return false;
} else {
return slurm_get_rem_time(m_slurm_job_id) < 150;
}
......@@ -72,7 +74,6 @@ stop()
#endif // PUGS_HAS_SLURM
}
parallel::broadcast(stop, 0);
return stop;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment