Repository navigation
Conversation
At the start of each iteration the Loop records its state in the checkpoint (counters, the rows or configurations it was given at entry, the iteration's directory), and passes the next step to step_completed. Resumed, it restores that state, sets the iteration up again without advancing (same directory, iteration.out appended), and starts the body at the step that had not finished; a finished iteration moves on to the next. An iteration that fails and is continued past keeps its writes and is not retried. Tests crash and resume For, Foreach, float, table (whose body appends rows), systems (named directories), nested loops at every position, twice, and with errors continue/exit, comparing the database and directories with an uninterrupted run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cess does Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A kill between making the directory and writing the checkpoint left a directory the checkpoint did not know, so the resumed iteration got a name_2 directory. A resumed iteration keeps its iteration.out. HISTORY: 'exit the loop' also keeps a failed iteration's writes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…luator) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
--resume)continues a loop at the iteration and step it had reached, with the same
iteration directory and the same rows, structures or values to loop over as
when the loop started; a finished iteration is not run again. An iteration that
failed and was skipped ("continue to next iteration" or "exit the loop")
keeps what it wrote, as before, and is not retried.
Phase 5 (flowchart checkpointing), release 2026.10.4. Fifth of eight: molsystem, seamm, seamm_scheduler, seamm_exec (released) → loop_step → read_structure_step + forcefield_step → seamm_jobserver.
🤖 Generated with Claude Code