Project

General

Profile

Feature #281387

Store current system state upon program termination

Added by Felix Höfling about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
2014-03-18
Due date:
% Done:

0%


Description

If POSIX signal TERM is received, an exception is thrown in wrap_abort() (observables::sampler) and the simulation aborts immediately. At least, the HDF5 output files are left in a healthy state.

In addition, it would be nice to write the current state of the particle data and accumulators to the output file. I suggest to provide a signal on_terminate to sampler() which is triggered before the exception is thrown.

Most of the observable modules could then connect to this signal (phase_space, thermodynamics, blocking_scheme).


Related issues

Related to HAL's MD package - Feature #133201: Support continuation of simulation New 2012-12-20

History

#1 Updated by Nicolas Höft about 3 years ago

Also available in: Atom PDF