Repository navigation
Build slugs: ignore the build host's CPU in the compiler fingerprint - #2404
Merged
Merged
Conversation
nvfortran --version ends its first line with -tp <host cpu>, so a case-opt binary prebuilt on a Cascade Lake node got a different slug from the one the Emerald Rapids run node looked for. The run found no syscheck and failed (reported as exit 132) for every case.
|
Claude Code Review Head SHA: b0c672f Files changed:
Findings: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2404 +/- ##
=======================================
Coverage 66.14% 66.14%
=======================================
Files 112 112
Lines 31093 31093
Branches 4749 4749
=======================================
Hits 20567 20567
Misses 6675 6675
Partials 3851 3851 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Made with Claude Code.
Problem
Every case in the Phoenix
Case Opt (gpu-omp)job fails on recent PRs (#2366, #2381, #2354, #2329) withsyscheck failed with exit code 132. The log one line above says what happened:mpirun was unable to launch the specified application as it could not access or execute an executable. The binary is missing, not an illegal instruction.The prebuild ran on a CPU node (
atl1-1-02-010-23-2, Cascade Lake) and installedsyscheckasgpu-mp-d722a95ce2. The run job on a GPU node (atl1-1-02-014-9-0, Emerald Rapids) computedgpu-mp-a4dee2d44fand found nothing there.The slug hashes
compiler_fingerprint(), which includes the first line of$FC --version(#2135). For NVHPC that line names the host CPU:So a build on one CPU type and a run on another get different slugs. It only bites when the prebuild and the run land on different CPU types.
Change
compiler_fingerprintstrips-tp <cpu>from the version string. Compiler path and version still key the slug.Checks
test_compiler_fingerprint_ignores_the_build_hosts_cpu: a fakempifortprinting the nvfortran line with-tp cascadelake, then-tp emeraldrapids. It failed before the change and passes after;test_dependency_toolchain.pypasses (14 tests)../mfc.sh precheckpasses.Not checked
Case Opt | Phoenixjob is that check.-tpfor CI builds would remove the dependency.