Repository navigation
Discover Conda native libraries in the host SDK - #26
Open
krystophny wants to merge 1 commit into
Open
krystophny wants to merge 1 commit into
krystophny wants to merge 1 commit into
Conversation
mbkumar
approved these changes
Nov 22, 2026
mbkumar
left a comment
Collaborator
There was a problem hiding this comment.
Thanks for the changes. They look sensible.
krystophny
marked this pull request as ready for review
November 23, 2026 05:30
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.
A Conda build with separate build-tool and host prefixes fails to discover NetCDF because the recipe places native target libraries in the build environment and CMake searches BUILD_PREFIX. Conda target headers and libraries belong to the host SDK selected by PREFIX.
Move the existing five native-library requirements to the host section and use PREFIX for the existing CMake include/link directories. This preserves the solver, dependency list, MPI configuration, package tests and numerical references. Conda documents the host/build distinction and PREFIX variables.
The same focused SDK correction in our VMEC2000 fork passed the actual Conda package build, verifier and installation in GitHub run 40033178435. Slurm 3362148 independently configured with CONDA_BUILD=1, a real host NetCDF SDK and a distinct empty BUILD_PREFIX, verified NetCDF discovery from the host prefix, and passed both native LWOUTTXT output cases plus the same two in one resident generation. That consumer also contains our separate LWOUTTXT regression fix. This standalone port is based on current upstream 70c637a and leaves its MPI changes intact.
Chris&AI