PwParser
: add support for output format of pw.x v6.6
#552
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.
Fixes #551
Quantum ESPRESSO pw.x v6.6 not only comes with a new schema for the XML
output file, which is added here such that it can be parsed, it also has
changes to the standard output format. In a simple SCF calculation for a
silicon structure as a test, one change turned out to be problematic.
The line containing the Harris-Foulkes estimate that used to be printed
directly after the computed total energy has been removed. This line
itself was never parsed anyway, but the estimated SCF accuracy that is
printed afterwards was, and the parser relied on it being two lines
after the total energy. The parser is now adapted to, starting from the
total energy line, scout 5 lines ahead for the line containing the
marker of the estimate SCF accuracy. This once more shows how we should
not rely on parsing textual output.