Remove OPAL_PREFIX from build environment#341
Merged
Conversation
Recent changes to the xp65 environment [ACCESS-NRI/ACCESS-Analysis-Conda#352](ACCESS-NRI/ACCESS-Analysis-Conda#352) is causing CMake to pick up the wrong MPI library (/g/data/xp65/public/apps/openmpi/4.1.6 instead of /apps/openmpi/4.1.0/). The OPAL_PREFIX environment variable causes the xp65 MPI library to take precedence over any MPI libraries loaded via module load - as a workaround, this change unsets this variable from the build environment to fix this issue.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #341 +/- ##
==========================================
+ Coverage 68.28% 69.54% +1.26%
==========================================
Files 21 21
Lines 1157 1215 +58
==========================================
+ Hits 790 845 +55
- Misses 367 370 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
SeanBryan51
added a commit
to ACCESS-NRI/ACCESS-Analysis-Conda
that referenced
this pull request
Jan 12, 2026
The OPAL_PREFIX environment variable introduced in PR #352 causes the xp65 MPI library to take precedence over any MPI libraries loaded via module load - as a workaround, this change unsets this variable from the build environment to fix this issue. References CABLE-LSM/benchcab#341
SeanBryan51
added a commit
to ACCESS-NRI/ACCESS-Analysis-Conda
that referenced
this pull request
Jan 12, 2026
The OPAL_PREFIX environment variable introduced in PR #352 causes the xp65 MPI library to take precedence over any MPI libraries loaded via module load - as a workaround, this change unsets this variable from the build environment to fix this issue. References CABLE-LSM/benchcab#341
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.
Recent changes to the xp65 environment ACCESS-NRI/ACCESS-Analysis-Conda#352 is causing CMake to pick up the wrong MPI library (
/g/data/xp65/public/apps/openmpi/4.1.6instead of/apps/openmpi/4.1.0). TheOPAL_PREFIXenvironment variable causes the xp65 MPI library to take precedence over any MPI libraries loaded via module load - as a workaround, this change unsets this variable from the build environment to fix this issue.