Skip to content

test_0812: the BC check reads the whole mesh's extent under mpirun - #1305

Open
lmoresi wants to merge 1 commit into
developmentfrom
tests/0812-check-bc-values-in-parallel
Open

lmoresi wants to merge 1 commit into
developmentfrom
tests/0812-check-bc-values-in-parallel

Conversation

@lmoresi

@lmoresi lmoresi commented Nov 20, 2026

Copy link
Copy Markdown
Member

What changes: tests/test_0812_poisson_with_units.py::test_poisson_check_bc_values passes under mpirun. Tests only.

UNFILED 33(d), by the units desk (a Claude session). Runs were on a 96-thread Linux workstation (single system image; Intel Xeon Gold 6240R, AVX-512; MPICH).

The test took the domain's extent from its own rank's nodes (mesh._coords) and evaluated with the rank-local evaluate. Under mpirun each rank therefore probed the edge of its own part, not the boundary: at np 2 and np 3 the "boundary" temperatures came back as 950 to 1210 K, where 300 and 1600 K are right. The extent is now a buffer Allreduce over ranks, and the probe uses global_evaluate.

serial np 2 np 3
development passes fails on every rank (949.98 for 300 and for 1600) fails on every rank (1209.997 for 300, 1145.008 for 1600)
this branch (e111957) 4 passed passes on every rank passes on every rank

Underworld development team with AI support from Claude Code

…answers

test_poisson_check_bc_values took the domain's extent from its own rank's
nodes and evaluated rank-locally, so under mpirun each rank probed the edge
of its own part: at np 2 and 3 the "boundary" values came back 950 to 1210
where 300 and 1600 are right. The extent is now a buffer Allreduce over
ranks, and the probe is global_evaluate.

Underworld development team with AI support from Claude Code
Copilot AI balanced review requested due to automatic review settings November 20, 2026 16:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants