Repository navigation
Commit 82806ed
tests/e2e: add Quantum ESPRESSO and GROMACS, completing the CI tier
Four codes now run end to end in CI -- MOPAC, NWChem, Quantum ESPRESSO
and GROMACS -- every one of them Debian-packaged. ORCA and Gaussian
stay a developer-box tier, being registration-walled and licensed.
ECCE_E2E_REQUIRE names all four, so a code whose binary is not where
the suite looks fails the job rather than skipping quietly.
Quantum ESPRESSO: bulk Si, under a second. It needs pseudopotentials
to run at all and Debian's quantum-espresso-data-sssp installs 103 of
them where ai.qe already looks. The assertions are the two things
worth guarding for a plane-wave code: the total energy must be a
Hartree value (QE prints Ry, so ~-22.6 would mean the conversion was
dropped) and STRESS must be a full symmetric 3x3 -- a transposition or
a dropped element shows up in the symmetry check and nowhere else.
This is the code whose units are carried in the section HEADER rather
than beside the numbers, which is how it once produced wrong values
rather than none.
GROMACS: 216 SPC waters, 50 steps of MD. The deck deliberately runs MD
with temperature coupling rather than a minimisation, because that is
what makes the "Energies (kJ/mol)" table WRAP onto two rows -- TE in
the first, PRESSURE in the second. CLAUDE.md records that shape as
producing wrong values rather than none, and a minimisation does not
wrap, so a simpler fixture would have tested nothing. Verified by hand
first: the parser takes Total Energy (not Potential, which is a
plausible number one column away) and reads Pressure from the second
row, and [NULL] does suppress the trailing A V E R A G E S block, which
is the last such table in the file.
Two harness additions this needed:
setup steps GROMACS runs grompp before mdrun, so a code definition
can declare preprocessing commands and extra input
files to copy alongside the deck.
stdout pw.x writes to stdout and ECCE redirects it into
qe.pwout; the harness captures it rather than making
the case shell out, so it still runs the binary
directly.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFMUNbw2UpRPmgsqviAowb1 parent a8226e0 commit 82806ed
8 files changed
Lines changed: 864 additions & 6 deletions
File tree
- .github/workflows
- tests/e2e
- fixtures
- gromacs
- qe
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
108 | | - | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
132 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
192 | 282 | | |
193 | 283 | | |
194 | 284 | | |
| |||
222 | 312 | | |
223 | 313 | | |
224 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
225 | 340 | | |
226 | 341 | | |
227 | 342 | | |
228 | 343 | | |
229 | 344 | | |
230 | 345 | | |
231 | 346 | | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
232 | 370 | | |
233 | 371 | | |
234 | 372 | | |
| |||
0 commit comments