WallClockLimit

class WallClockLimit : public feasst::AnalyzeUpdateOnly

Terminate the simulation after a given number of CPU hours in order to prevent fragmented checkpoint files. Thanks to Joshua Anderson for suggesting this.

Public Functions

void update(const Criteria &criteria, const System &system, const TrialFactory &trial_factory)

Perform update action.

Arguments

  • max_hours: maximum number of wall clock hours until job termination.

  • Stepper arguments.