Repository navigation
Preserve the LWOUTTXT namelist setting through initialization - #24
Open
krystophny wants to merge 1 commit into
Open
krystophny wants to merge 1 commit into
krystophny wants to merge 1 commit into
Conversation
Keep the documented default in vmec_input and honor both explicit values. Exercise the native executable with the published low-resolution fixture in both output modes and retain the Python readback assertion.
Collaborator
|
@krystophny, is this PR ready for review, or is it still a draft? |
krystophny
marked this pull request as ready for review
November 23, 2026 05:31
Author
Ready! I keep AI heavy PRs as drafts usually in order not to bother anyone until I had time to check myself. This one looks fine to me. |
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.
LWOUTTXT is reset to false after reading INDATA in read_indata and again during initialize_vmec_arrays. Consequently, an explicit true namelist setting never reaches the existing native text-output writer. Remove both overrides and retain the established default in vmec_input.
The existing published input.li383_low_res already requests LWOUTTXT=T. Assert its value in the Python input-readback test and add two native CTest cases using the same published fixture: true requires a normal VMEC text header and netCDF output, while false requires netCDF output without text. These checks exercise namelist reading, initialization and output together without private data or numerical reference changes.
Qualified this exact revision abae5a9 on current upstream 70c637a in Slurm 3362058. The original implementation fails the true-output test and passes the false control. With the repair, both native tests pass, and both pass again in one clean resident Fo generation using a pinned qualified driver and unchanged runtime identities. The owner stopped cleanly. The four-core bounded job completed in 50 seconds. The full Python wrapper suite was not rerun by this native check.
The equivalent fix is retained in our VMEC2000 fork. This draft stays with upstream review.
Chris&AI