Repository navigation
Fix invalid integration comparisons and reference-generation failures - #8138
Open
cheerly-pku wants to merge 6 commits into
Open
cheerly-pku wants to merge 6 commits into
cheerly-pku wants to merge 6 commits into
Conversation
Collaborator
|
some conflicts need to be solved. @cheerly-pku |
Resolve validation-script conflicts with LibRPA producer changes: retain vxc.ref/vxc.txt naming and comparison failure propagation; preserve upstream MPI launcher flags, dedicated-validator mode and case-list filtering. Register script regressions when a Python interpreter is available without restoring a hard configure dependency. Verified compare_file 7/7, expanded catch_properties shell regression, CTest 2/2 via the actual tests/integrate CMake subdirectory, upstream LibRPA parser 8/8, Python-disabled configuration, shell syntax and whitespace checks. No numerical references or tolerances changed; no PPCG source commits included. Full ABACUS build/runtime integration not rerun for this script-only resolution.
Author
Thanks for the reminder! The conflicts have been resolved. @mohanchen |
ABACUS-PR-BOT
left a comment
Collaborator
There was a problem hiding this comment.
Static review of 6575824415cf3edf3a7c56e6d13be2a5b44799e5, with independent static verification. One issue is noted inline. Pinned governance and whitespace checks passed; builds and runtime tests were not run. CI diagnostics were unavailable through the selected account connector.
Upstream 250241c deliberately retains zero-valued samples after the analytic field window. Both supersine and mixed-field fixtures evolve steps 0 through 7 at 0.05 fs, while their fields end at step 6. Append the missing zero sample at 0.35 fs to the twelve affected references; retain all existing values and strict comparison tolerances.
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.
What's changed?
Integration comparisons could accept unmatched extra data or non-finite values. Reference generation could also save a failed comparison as an expected result. This PR rejects those comparisons, propagates collector failures, and removes incomplete reference output. The upstream temporary-file flow preserves an existing
result.refuntilresult.ref.newis complete and valid.Ordinary
result.outfiles retain failed checks for the harness to report. Trailing blank lines are ignored; missing data, extra data and interior blank lines remain significant.The merge with
developat68da826026preserves upstream provenance normalization, configurable current tolerance, renamed matrix/energy files, Wannier gauge-aware checks, and LR/MD/DFPT collectors. Regression tests cover temporary-reference failures and successful replacement, current output, three-component position matrices, and renamed VXC output. The electric-field references are now identical todevelop; this PR no longer changes reference data.Linked Issue
Extracted from #8042 following review so changes affecting all integration tests can be reviewed independently of PPCG. This PR changes integration validation only; it contains no solver implementation changes.
Unit Tests and/or Case Tests for my changes
Fresh verification on 2026-11-25 at
97bdb9969:bash -nand the repository's shfmt configuration.The external minimal CMake driver registers the repository's actual
tests/integrate/CMakeLists.txt; logs are retained in/mnt/data/Cheerly/pr8138-resolution-20261125. These tests exercise validation tools and synthetic failure cases, so they do not require an ABACUS calculation. They complement the existing Autotest cases.Historical validation at
ca7abf4eeon 2026-10-26 included a GNU/OpenMPI Release build and all 28 CPU rt-TDDFT cases. Those numerical runs were not repeated locally for this merge. Full CPU/CUDA integration coverage for the new head is pending the newly triggered CI.Governance Notes
develop.Reminder
AGENTS.mdanddocs/developers_guide/agent_governance.md.