Repository navigation
Run the opt-in --full-parallel pass at np 3 as well as np 4 - #1092
Conversation
np 2 and np 4 split the usual test meshes evenly and symmetrically; an odd count does not. #1087 passed at np 2 and 4 and failed at np 3 and 5, so the opt-in pass now runs both test_* and ptest_* at 3 and 4 ranks (each skipped when it equals --p). The two ptest files #956 keeps away from np 4 fail at np 3 as well, so they now run at np 2 only. The default CI run is unchanged: --full-parallel stays opt-in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
One conflict, in scripts/test.sh: #1092 rewrote the parallel pass to add an np 3 pass. That pass is opt-in (--full-parallel) and CI runs 'test.sh --p 2' without it, so the dedicated np 3 line for test_1084_rotated_datum_collectives is kept, placed before #1092's block, which is taken unchanged. Underworld development team with AI support from Claude Code
Adversarial review of #1092 (H3, second review desk)Verdict: READY at 2c67ca7. A CI script change. The default run is unchanged, and the np 3 pass costs what the PR says. Checked against development FindingsNone blocking.
Attacks that failed
IssuesNone in this territory changes state. #956 stays live (the two seam files fail at np 3 too). Not testedThe cost on a 2-core GitHub runner at np 3, where the run is oversubscribed. Underworld development team with AI support from Claude Code |
What changed and why
scripts/test.sh --full-parallelnow runs the paralleltest_*andptest_*files at np 3 as well as np 4. Each extra pass is skipped when it equals--p.Why: np 2 and np 4 split the usual test meshes evenly and symmetrically, and an odd count doesn't. #1087 (submesh
prolongate) passes at np 2 and np 4 and fails at np 3 and np 5, so CI never saw it.The two
ptest_*files that #956 already keeps away from np 4 fail at np 3 too. They're now listed as np 2 only (PTEST_NP2_ONLY, renamed fromPTEST_NOT_AT_4), so the new pass doesn't add known #956 failures.The default CI run is unchanged.
--full-parallelstays opt-in; the workflow doesn't pass it.Cost (measured on hyperion, development dd92c70, a shared 48-core machine at load 13–19)
--parallel-only --p 2(the existing CI pass)--parallel-only --p 3(what this adds)So the np 3 pass costs about as much as the np 2 pass, roughly +31 min here. On a 2-core CI runner np 3 is oversubscribed (MPICH allows it) and will take longer. Like the np 4 pass, it belongs in a nightly or a separate job (#573).
Failures at np 3 (none xfailed; for routing)
tests/parallel/test_0770_submesh_extract_mpi.py::test_prolongate_paralleland::test_copy_into_parallel: Mesh.prolongate from a submesh loses values at parent DOFs owned by a rank outside the region (fails at np 3) #1087, with a fix onbugfix/submesh-np3.tests/parallel/ptest_0864_seam_ligament_parallel.py(2 tests) andtests/parallel/ptest_0865_seam_split_parallel.py(2 tests): the Fault pins ptest_0863, 0864, 0865 fail at np 4, back to at least 2026-10-29 #956 files. They fail at np 3 as at np 4 ("the seam crossings do not pair up on this rank", "Main was not split on any rank"). This PR keeps them at np 2 only.tests/parallel/ptest_0844_reconnect_parallel.py::test_adapt_with_repair_runs_in_parallel: "a parent-cell map survived a repair pass; a flipped cell spans two coarse cells and the transfer would read the wrong parent", on every rank. Not filed; for routing.tests/parallel/test_1114_mg_coarse_gamg_parallel.py::test_gamg_on_the_coarse_level_when_asked_for[rotated]: 10 pressure iterations against the test's cap of 9; the velocity cap of 4 is met. A partition-dependent iteration count. Not filed; for routing.Not changed:
scripts/test_levels.shhas its own--full-parallel(np 4, with a #611 deselect). This PR leaves it alone.Checklist (UW3 Style Charter)
PTEST_NOT_AT_4toPTEST_NP2_ONLY, states what the list now means..array/mesh.X.coords(S7): n/apixi.toml/pixi.lockor other dependency changesUnderworld development team with AI support from Claude Code