You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NVHPC 25.5 GPU: chemistry species differ from CPU and NVHPC 25.11 once optimization is on; minimal reproducer needs reducing and reporting #2399
Tracking the investigation behind #2181 (124D7972, skipped on NVHPC < 25.11 GPU builds in #2380).
Reproducer
The uniform-box H2/air ignition test in the gas-chemistry validation PR (26 cells, constant volume, 1200 K, dt = 2e-8, 100 us, about 14 s). Max species difference from the GNU CPU run: 4.2e-4 at 40 us, 3.6e-4 at 60 us, 2.5e-4 at 100 us on an A100 with NVHPC 25.5 (OpenACC), first visible in the radicals during the induction period, density and energy agree.
Isolation so far
Exact match: NVHPC 25.11 GPU (also with CUDA 12.9 and without -Mfprelaxed), NVHPC 25.5 CPU, GNU, and every --debug build including 25.5 GPU (-O0 -C -Mbounds -gpu=debug) and a release build with -O0.
Needs -O1 or higher on the 25.5 GPU path. Not caused by -Mfprelaxed, FMA contraction, IPO, inlining of the chemistry module, or per-file -O0 on m_chemistry and m_thermochem (the last may not reach the device-code pass).
PTX: the floating-point instruction streams of the chemistry kernels match between 25.5 and 25.11; only control flow and stack use differ. A standalone kernel feeding 401 states along the trajectory through the MFC thermochemistry routines is bit-identical on 25.5 and 25.11 GPU, so those routines alone are not the trigger.
Looks like a ulp-level seed amplified by the induction period (about e-fold per 1.2 us).
Next
Per-module -O0 bisect that reaches device code; extract s_chemistry_reaction_substep with its private list and data clauses; dump the first species source vector at full precision; report to NVIDIA with the minimal reproducer. Compiler bug is likely, not proven.
Activity
sbryngelson commentedon Nov 22, 2026
Related pull requests: #2180 and #2181 (Phoenix CI), #2380 (skip for NVHPC < 25.11 GPU, merged), #2374 (gas chemistry validation, open), #2202 (NVHPC 26.x, merged).
AI-assisted (Claude Code).