Repository navigation
Detect GPUs in the ExCL environment and warn about stale GPU test settings - #2713
Draft
sethrj-bot wants to merge 4 commits into
Draft
sethrj-bot wants to merge 4 commits into
sethrj-bot wants to merge 4 commits into
Conversation
CELERITAS_DISABLE_DEVICE is cached on the first configure, so changing the environment later (e.g. relaunching a container with GPU access) silently leaves GPU tests disabled. Warn once per configure in either direction and suggest reconfiguring with '-U CELERITAS_DISABLE_DEVICE'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Only set CELER_DISABLE_DEVICE when neither nvidia-smi nor rocm-smi (with /dev/kfd) reports a usable device, since the script is shared across ExCL hosts. Add release-orange-celer-cuda, which builds for sm_60 (P100) against the celer-cuda view without LArSoft. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Test summary 7 838 files 12 894 suites 7m 53s ⏱️ Results for commit 24d5ae6. ♻️ This comment has been updated with latest results. |
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.
Improve GPU handling for the shared ExCL
claude-exclenvironment, which is used across many hosts (with and without GPUs, NVIDIA and AMD):CELERITAS_DISABLE_DEVICEis cached at the first configure, so changing the environment afterward (e.g. relaunching apptainer with--nv) left GPU tests silently disabled.celeritas_get_disable_devicenow warns once per configure when the cached value andCELER_DISABLE_DEVICEin the environment disagree (in either direction), suggesting-U CELERITAS_DISABLE_DEVICE.scripts/env/claude-excl.sh: only setCELER_DISABLE_DEVICE=1when no usable GPU is found (nvidia-smi -Lfails, androcm-smi --showidfails or/dev/kfdis absent).scripts/cmake-presets/claude-excl.json: addrelease-orange-celer-cuda, which builds forsm_60(Tesla P100) against theceler-cudaspack view with LArSoft disabled.Tested on a P100 node (CUDA 12.9 toolkit, 550 driver): both warnings trigger as expected, and with GPU testing enabled 506/509 tests pass. The three failures (
StepperGeant:TestEm3Msc.device,StepperGeant:TestEm15FieldMsc.device,OpticalCollectordevice distributions) are reference-value mismatches on the device that already occur ondevelop; they're unrelated to this change.🤖 Generated with Claude Code (Claude Opus 5.5)