Skip to content

Checkpoint in freeze only#2107

Open
sharmeye wants to merge 29 commits into
masterfrom
Checkpoint_in_freeze_only
Open

Checkpoint in freeze only#2107
sharmeye wants to merge 29 commits into
masterfrom
Checkpoint_in_freeze_only

Conversation

@sharmeye
Copy link
Copy Markdown
Contributor

Implement constraint to allow checkpoints only in freeze mode to preserve homogeneity of data. Also implementing auto-freezing and auto-unfreezing the simulation when a checkpoint is attempted in RUN mode. Credit to @Mrockwell2

Mrockwell2 and others added 28 commits March 28, 2024 15:38
- Also marked a section for a more detailed revision in a few days
@brendan-nasa
Copy link
Copy Markdown
Contributor

this MR adds a circular dependency: Executive <=> CheckPointRestart

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage is 57.172%Checkpoint_in_freeze_only into master. No base build found for master.

checkpoint( chk_name_stream.str() );
checkpoint( file_name );

the_exec->run();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this unfreezes after checkpoint even when it wasn't an auto-freeze

also: indentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants