Project

General

Profile

Task #3229

Move checkpointing to the beginning of the MD step

Added by Berk Hess 12 months ago. Updated 11 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
core library
Difficulty:
uncategorized
Close

Description

The checkpointing in md.cpp is done towards the end of the step, together with the trajectory output. If would simplify the code to do it at the beginning of the step, although this could lead to duplicate communication of x and v when they are also written to trajectory and/or confout.gro. We could optimize this by assuming we have the global state at a checkpointing step.

When/after doing this, some modules can be simplified which have already updated (part of) their state at the current checkpoint call in the loop. Intermediate storage of those state entries can be removed.

History

#1 Updated by Mark Abraham 12 months ago

I have some old WIP for this

#2 Updated by Eric Irrgang 11 months ago

This seems like it should target '2021-refactoring'

Also available in: Atom PDF