Repository navigation
Provide a multigrid hierarchy for the constrained-traction regression - #814
Conversation
Keep the SolCx fine grid at 32x32 elements by refining a 16x16 base once. This supplies geometric multigrid to the high-contrast augmented saddle-point solve instead of falling back to single-level GAMG. The unchanged upstream test times out after 180 seconds on Gadi. A guarded diagnostic spends 21,666 velocity iterations in 90 seconds; the hierarchy completes and satisfies all existing traction, negative-control and topography bounds in 35-40 seconds with PETSc 3.25.4 int32 and int64. No tolerances, physical parameters, accuracy bounds or production defaults are changed. Underworld development team with AI support from Claude Code
Issues in this branch's territoryTerritory is
Beyond the territory: this unblocks #744PR #744 (the discrete adjoint) is red on exactly this test:
So this should merge before #744 is re-run, and #744's CI is then worth re-checking before anyone treats its failure as its own. Underworld development team with AI support from Claude Code |
lmoresi
left a comment
There was a problem hiding this comment.
Approved for merge. Adjudication posted above; the multigrid hierarchy is confined to the test fixture and the physical parameters are unchanged, so the assertions still gate what they gated. Merging this ahead of #744, whose CI failure is this test timing out.
The constrained-traction SolCx regression times out on Gadi with PETSc 3.25.4 using both 32-bit and 64-bit indices. Its single-level 32×32 mesh causes the high-contrast augmented system to fall back to GAMG. A diagnostic recorded 21,666 velocity iterations in 90 seconds; the unchanged upstream test exceeded its 180-second timeout.
Build a 16×16 base mesh and refine once, preserving the 32×32 fine grid while providing geometric multigrid. The hierarchy allows the existing test to finish and check the augmented traction, bare-multiplier negative control and topography against SolCx. Physical parameters, tolerances, accuracy bounds and production solver defaults are unchanged.
Validation
This change is separate from PR #813's PETSc integer-width fixes and from the benchmark-only 3D DFZ memory changes.