Repository navigation
Conversation
Schedule FE-valued normal data in globally registered boundary order, including empty (0,dim) coordinate batches on ranks without constrained nodes. Local node/spec grouping could enter mesh local-vector collectives in different orders and hang before Stokes iteration. Preserve boundary attribution and SVD signs for each owned datum row. Validation: two focused annulus component checks pass serial and on both MPI2 ranks, covering ranks with missing local boundary groups and FE evaluation of empty batches. No native or mathematical discretization change. Next: validate a fresh Gadi int32 installation on MPI16 and rerun the case2 h32 reproducer before primary-workflow acceptance.
Adversarial review1. The library change here is byte-identical to #857's. Both carry 2. Stale comment on the payload. 3. The order assertion passes by arithmetic coincidence. assert uw.mpi.comm.allgather(datum) == [2.0+index]*uw.mpi.sizeagainst 4. The empty-rank case the fix exists for is only half-covered in CI. CI What we attacked and could not break: the schedule is driven by Finding 1 is the only one that blocks. |
State boundary registration order explicitly, mark the MPI regressions, and correct the datum-node payload comment. Underworld development team with AI support from Claude Code
|
Thanks @lmoresi. Addressed in
An isolated native Mac rebuild passes all 3 tests in serial and on every MPI2/MPI3 rank. Shell syntax and test-file coverage checks also pass. GitHub CI has not yet been verified for this update. |
Adversarial review of #855Verdict: ready with listed changes. The fix is correct and removes a hang we reproduced on Reviewed at head Findings
Note, not a defect of this PR: at head, a datum-only cold start returns Attacks that failed
IssuesWe found no open issue naming this hang. From reading the diff, not probed: #883, #939, #941, #348 and #878 still live, untouched here; #935 unchanged, stays Merge conditions
Not testedThe reported 16-rank annulus at h = 1/32 and 1/64, or anything above np 8 (our annulus runs had no empty rank up to np 8); the 3-rank evaluator-skip mutant, unfinished when written; sheet datum on fault pairs in parallel, since that test also fails at np 3 on Underworld development team with AI support from Claude Code |
|
Correction to the record above. Under "Not tested" it says the sheet datum on fault pairs "also fails at np 3 on
The rest of the record stands, including that the merged tree drops this datum serially. Underworld development team with AI support from Claude Code |
build_rotation enters the datum schedule only when datum_specs is given, so the helper's own check for None could not be reached (review of #855, finding 4). Underworld development team with AI support from Claude Code
|
@gthyagi, we have taken this branch forward as #1097 so it can land without another round. It keeps your two commits and authorship, merges current Underworld development team with AI support from Claude Code |
…lectives-855 Fix collective evaluation of prescribed rotated wall data (supersedes #855)
…fore asserting Review of underworldcode#855 (2026-11-06), findings 2 to 4. A third test puts FE data on two walls of a box and solves, so the repaired call site in build_rotation is the code under test. The data prescribe uniform flow, whose energy is exactly 1/100. On the old schedule this solve hangs at three ranks before its first Stokes iteration. The schedule test now gathers every rank's schedule before asserting on it, so a rank-asymmetric schedule fails with a message instead of hanging in a collective. The assertion that could not fail and the Open MPI variable that does nothing under MPICH are removed. Underworld development team with AI support from Claude Code
When an FE field prescribes wall-normal velocity, ranks owning different subsets of the registered walls can call datum evaluation a different number of times or in a different order. FE evaluation updates mesh local vectors collectively, so the rotated solve can hang before its first Stokes iteration.
Evaluate data in registered boundary order on every rank, including empty
(0, dim)coordinate batches. Keep boundary attribution and the existing SVD signs for owned datum rows. No discretization, solver-tolerance or native-code changes are involved.Validation:
The regression tests exercise differing local boundary groups and empty FE evaluation batches without running a Stokes model.
Review follow-up (29 October 2026)
Underworld development team with AI support from Claude Code