In Gromacs, there is a runtime flag that tells the program to terminate and save a restart file after a certain time limit. Specifically it can be found here:
The flag explanation:
-maxh a simulation is terminated and a checkpoint file is written at the first neighbor search step where the run time exceeds
Does anyone know if this can be achieved in LAMMPS?