Repository navigation
Conversation
19hello
force-pushed
the
fix/md-test-force-output
branch
from
November 27, 2026 11:56
52ddc54 to
d072464
Compare
ABACUS-PR-BOT
left a comment
Collaborator
There was a problem hiding this comment.
The new negative-cadence check needs the shared input-error path so all MPI ranks reject the input consistently. The valid-input cadence, final-structure and restart paths are consistent in the source trace; one nonblocking cleanup is noted inline.
Static review only; no builds or runtime tests were run.
This branch has not been deployed
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.
Summary
out_struwith an optional second integer for the periodic MD structure cadence; it defaults to1.out_freq_ionfor electronic and other ionic-step outputs. It does not set MD STRU/CIF cadence.out_stru 1 5writes a structure frame every five steps.out_stru 1 0disables periodic STRU frames but still writesSTRU_FINAL; restart files remain controlled bymd_restartfreq.Verification
cmake --build /tmp/abacus-md-test-force-output-build --target MODULE_IO_input_error_mpi MODULE_IO_read_item_serial -j4— passed.ctest --test-dir /tmp/abacus-md-test-force-output-build -R '^MODULE_IO_read_item_serial$' --output-on-failure— passed (1/1).ctest --test-dir /tmp/abacus-md-test-force-output-build -R '^MODULE_IO_input_error_mpi_out_stru_negative_frequency$' --output-on-failure— passed (1/1, four MPI ranks).cmake-format --check source/source_io/unittests/CMakeLists.txt— passed.