Repository navigation
test(dfpt): audit raw Gamma response matrices and polar tensors - #8515
Open
Zanthoxylum wants to merge 1 commit into
Open
Zanthoxylum wants to merge 1 commit into
Zanthoxylum wants to merge 1 commit into
Conversation
Add paired strained-Si and polar NLCC-BN Autotest cases auditing every raw complex force-constant component and exported dielectric/Born component after both runs finish; reject missing warning logs, nonconvergence and incomplete output. Add occupied-subspace gauge tests and a matrix-audit regression that rejects a changed matrix even when its spectrum is preserved. Tests, Autotest fixtures, a verbatim B pseudopotential and audit helpers only; no production code is modified. Verification: rebuilt the main executable and all 11 DFPT test targets; focused CTest, 26 symmetry GTests, Autotest 87 attributes (62 across the four new cases plus 25 Gamma-anchor properties) and the unchanged six-frequency Gamma anchor all pass; paired raw matrix maxima are 9.50e-10 (strained Si) and 4.10e-9 (NLCC BN) Ry/bohr^2. DFPT/CMake formatting and staged governance checks passed.
Zanthoxylum
force-pushed
the
test-dfpt-gamma-validation-clean
branch
from
December 4, 2026 13:27
7f03bb6 to
e090c50
Compare
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
Add paired strained-Si and polar NLCC-BN Autotest cases. Audit every raw
complex force-constant component and exported dielectric/Born component
after both runs finish. Reject missing warning logs, nonconvergence and
incomplete output. Add occupied-subspace gauge tests and a matrix-audit
regression that rejects a changed matrix even when its spectrum is preserved.
Scope
Tests, Autotest fixtures, a verbatim B pseudopotential and audit helpers
only; no production code is modified. The cases exercise the production
Gamma covariance and time-reversal paths.
Verification
ctest --test-dir build-gcc13 --output-on-failure -R "MODULE_DFPT|dfpt_freq_collector|dfpt_matrix_audit"passed 13 tests; 26 symmetry GTests passed.-n 0 -o 1 -j 4) with OMP_NUM_THREADS=1 andOPENBLAS_NUM_THREADS=1 passed 87 attributes: 62 across the four new cases
and 25 Gamma-anchor properties; the six full-list Gamma anchor strings are
unchanged.
Ry/bohr^2; both polar-tensor audits passed their fixed component
tolerances.
whole-repository test run was performed.
Tested tree:
e090c5044