Nexus: Add code to automatically generate the input parameters for QE's pw.x - #6049
Draft
brockdyer03 wants to merge 4 commits into
Draft
Nexus: Add code to automatically generate the input parameters for QE's pw.x#6049brockdyer03 wants to merge 4 commits into
pw.x#6049brockdyer03 wants to merge 4 commits into
Conversation
…uding all known allowed values across all versions of QE
Contributor
|
Please remove the binary blob (.tar.gz) and add a note in the docs somewhere on how to run this. Include the exact steps you used for the latest QE. That is all that is needed for developers. We aren't going to put this in CI. It will either work or fail spectacularly when e.g. for QE8 they change the format. |
Contributor
|
Consider replacing the title "generate" with "add support to Nexus for" |
…r window of versions
This was referenced Jul 29, 2026
Merged
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.
Proposed changes
This PR adds a new developer script to Nexus that has one purpose, to automatically generate enumerations of the input parameter namelists for Quantum ESPRESSO's
pw.xcode.The code works off of a tar archive containing XML files generated from QE's
INPUT_PW.deffiles using their suppliedhelpdocutility. If someone needs to update the files, it's a simple matter of appending the new file to the archive. The script will then parse all of the parameters in the QE namelists for each version that is included and extract the relevant data. The enumerations that it produces will always contain the follow information:The enumerations will also occasionally contain the following information:
Remaining work
pwscf_input.py.What type(s) of changes does this code introduce?
Does this introduce a breaking change?
What systems has this change been tested on?
Laptop, Fedora Linux 43 (KDE Plasma Desktop Edition)
AMD Ryzen 7 PRO 7840U (8 cores, 16 logical processors)
Checklist