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 MonteCarlo &mc)

Perform update action.

Arguments

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

  • Stepper arguments.