Repository navigation
Document how to run the Wannier90 interface tests - #8341
Merged
mohanchen merged 3 commits intoNov 21, 2026
Merged
Conversation
mohanchen
approved these changes
Nov 21, 2026
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
interfaces/Wannier90_interface/tests/README.mdalongsidetest_interface.pyandcheck_wannier_spn.py. It gives the pytest, CTest and direct MPI commands from that directory and links to the oxygen inputs for the spin-matrix regression.The README describes the interface defaults covered by pytest and the numerical, postw90 and I/O checks in the end-to-end test.
Verification
Ran the following commands on SAI with pytest 7.4.4 and an MPI-enabled LCAO build with ScaLAPACK.
Both pytest cases and the four-rank CTest passed. The direct runs checked all 546 complex elements, with maximum absolute errors of
4.121e-16on four ranks and3.357e-16on one rank. Both runs also passed the postw90 and I/O diagnostic checks.