Commit f65abdf
Fix CCE VLA ICE in m_chemistry.fpp + restore Python 3.9 support
Extend AMD-only VLA guards to also cover CCE 19.0.0 in all four
locations in m_chemistry.fpp:
- s_compute_q_T_sf: add USING_CCE guard for Ys array
- s_compute_T_from_primitives: add USING_CCE guard for Ys array
- s_compute_chemistry_reaction_flux: extend AMD guard to include CCE
- s_compute_chemistry_diffusion_flux: extend AMD guard to include CCE
CCE 19.0.0 LLVM InstCombine (foldIntegerTypedPHI) crashes on VLAs
(dimension(num_species)) when num_species is not a compile-time
constant (e.g., case-optimized pre_process for non-chemistry cases).
Fixed by using dimension(10) when USING_CCE.
Also restore MFC_PYTHON_MIN_MINOR=9 in python.sh (was accidentally
set to 10 in 3d8cf31; PR #1287 merged to master adds Python 3.9 support).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 3d8cf31 commit f65abdf
2 files changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
67 | 71 | | |
68 | 72 | | |
69 | 73 | | |
| |||
101 | 105 | | |
102 | 106 | | |
103 | 107 | | |
104 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
105 | 113 | | |
106 | 114 | | |
107 | 115 | | |
| |||
131 | 139 | | |
132 | 140 | | |
133 | 141 | | |
134 | | - | |
| 142 | + | |
135 | 143 | | |
136 | 144 | | |
137 | 145 | | |
| |||
180 | 188 | | |
181 | 189 | | |
182 | 190 | | |
183 | | - | |
| 191 | + | |
184 | 192 | | |
185 | 193 | | |
186 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments