Repository navigation
Description
At np 4, a solve whose finest level is a split fault with fac_zone keyed beside it, and with the split's structural rows added to the zone's FAC blocks, goes silent and never finishes. The same case converges in serial. The zone alone and the structural rows alone both finish at np 4.
Reproductions
The fixture is the add-on matrix's row 5 TI case. It uses UWTN 2026-022's problem A at h_b/S = 24: a split frictionless fault from (0.30, 0.45) to (0.70, 0.55), with a TI band placed as a ribbon 0.08 below it, unsplit and keyed as fac_zone. The hierarchy is H0 (welded base, split S level, FAC patch). Driver: row5_networks.py -uw_case ti -uw_hier H0 -uw_zone ti -uw_gap 8 (lmoresi/uw3-campaigns, branch addon-matrix-2026-11). Host: kaiju, PETSc 3.25.0, Open MPI 4.1.1.
| build | structural rows with the zone | np | result |
|---|---|---|---|
| 964dc3c (development 25d6281 + #906, inert here) | UW_FAC_STRUCTURAL=1, UW_FAC_COVER=1.01 |
4 | log silent from 12 s, killed at its 30 min limit, no record |
bugfix/fac-zone-structural-921 945504b (the union is the default there) |
default | 4 | log silent from 18 s, still silent at 47 min of a 1 h limit, no record |
| 964dc3c | UW_FAC_STRUCTURAL=0 (zone blocks alone) |
4 | finishes: 1179 velocity iterations |
| 945504b | no zone, structural only (the pair case) | 4 | finishes: 80 iterations, all 31326 block rows on rank 1 |
| laptop, development + the same knobs | union | 1 | finishes: 94 iterations |
No stacks were captured, so it is not yet known whether the run is stuck in a collective or iterating without converging (the velocity, pressure and outer caps are 200, 200 and 300).
What the code does at np > 1
CustomMGHierarchy.build, the parallel FAC branch on the finest level:
- Its collectives are the
zone_anywhereLOR allreduce, the parallel structural split (_fac_patch_split_parallel: a scatter and two allreduces) and the block-count MAX allreduce. All run unconditionally or under conditions that are the same on every rank, so reading the code finds no rank-asymmetric branch here. - Zone blocks hold rows owned by other ranks. The rows are
lay.l2g[full]over the masked cells' nodes, and the layout's ghost-resolved l2g puts a masked cell's off-rank nodes into the block (the seam halo). The zone-alone run has these too, and finishes. - The structural block holds only this rank's owned rows (
sub_local + fstart). The union adds them as one more block, minus the rows this rank's own zone blocks cover. Rows that another rank's zone block holds as seam halo are not subtracted. So with the union, a row owned by the fault's rank can sit in its structural block and in another rank's zone block. Basic ASM then adds both corrections there. The zone-alone run does not have this overlap across ranks between a structural block and a zone block.
Where the time goes still needs per-rank stacks. The next run dumps every rank's Python stack every 5 minutes. #921 (whose branch makes the union the default for a zone keyed on a split level) is held until this is found.
Underworld development team with AI support from Claude Code
Activity
FAC zone blocks are built from every rank's rows (#925)
#925 review: cut the zone blocks once on rank 0, nodes by coordinate
Merge #921 (with #918 and development) into #925
test_1139, test_1133: the structural patch alone is one block at any …
The structural FAC patch alone is gathered into one block too (#925)
#925 review 2: a keyed zone beats detection in parallel too; docstrin…
#925 review 2: the structural block holds every rank's rows; scaling …
#925 review 3: tests for keying that differs between ranks or holds n…
#925 review 3: refuse keying that differs between ranks or holds no mask
Merge #921 into #925: development (#927), the test_1095 citation, ser…
#925: the owning rank's memory, as measured
lmoresi commentedon Nov 3, 2026
Fixed in PR #934, stacked on #933.
Merge #921 into #925: 0.98 on 2-D split levels only; development (#926,
Merge pull request #934 from underworldcode/bugfix/fac-union-blocks-925
Fault guides: review of #862; the structural block is one LU on one r…
Fault multigrid guide: a network's structural patch is one LU on one …
test_1139: the zone-keyed FAC blocks are the same at any rank count (u…
The structural FAC patch is one block per fault apart, on the rank ow…