Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record the simulation input for each iteration and phase. #23

Open
eirrgang opened this issue Oct 31, 2022 · 0 comments
Open

Record the simulation input for each iteration and phase. #23

eirrgang opened this issue Oct 31, 2022 · 0 comments
Assignees

Comments

@eirrgang
Copy link
Collaborator

eirrgang commented Oct 31, 2022

Additional metadata to be managed by RunData and stored in the state.json file: SimulationInput.

Includes the TPR source and the most recent checkpoint file, if any.

Each phase has exactly one TPR source that is immutable once the phase starts.

A checkpoint file is part of the simulation input, but is also part of the simulation output, and may or may not be the same file (-cpi vs. -cpo).

The purpose of this addition is to allow the RunData state to be set before entering the dispatch function for a particular phase run(). I don't believe we need to record the output checkpoint file. We can continue to infer it (the way we do now) when the final checkpoint from one phase is used as the initial checkpoint for a later phase.

For portablity, the paths to files in the BRER directory tree should be recorded as relative paths.

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

No branches or pull requests

1 participant