Skip to content

1.9.x train 2026-11-21: 2 reviewed changes from cekees/proteus - #1371

Merged
cekees merged 4 commits into
proteustoolkit:1.9.xfrom
cekees:train/1.9.x-2026-11-21
Nov 22, 2026
Merged

cekees merged 4 commits into
proteustoolkit:1.9.xfrom
cekees:train/1.9.x-2026-11-21

Conversation

@cekees

@cekees cekees commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

Each change below was reviewed, and passed CI, as its own pull request on cekees/proteus. This branch merges them
onto 1.9.x at abd170c with one merge commit per pull request, in the order listed.

Merge with "Create a merge commit", not squash or rebase, so the commits keep their hashes and the fork's pull requests close themselves.

pull request title commits
cekees#335 vdft_reproduce: the flow decks set BC_CONS=True, as the authors' builds ran (1.9.x) 1
cekees#339 1.9.x: the levee deck reads a stored mesh (first-dt test failed on the nightly's PETSc-built triangle mesh) 1

Diff against 1.9.x: 12 files changed, 79776 insertions(+), 4 deletions(-).

cekees and others added 4 commits November 21, 2026 06:16
…ds ran

The authors' builds read RICHARDS_BC_CONS as ON unless set to 0 (in force since 2026-09-24).
Richards.Coefficients made it opt-in on 2026-11-04 (BC_CONS=False, c59451a), and none of the
decks in vdft_reproduce sets it, so the decks as shipped do not reproduce the manuscript's
coupling table. BC_CONS changes the boundary velocity that the velocity-based transport
coupling sees. Seven flow decks now pass BC_CONS=True (henry, elder, bioswale, levee density
and non-density, mms, simmons_uhd); the README says why.

Measured on a fresh build of the 1.9.1 tag, only BC_CONS changed (serial unless noted):

  UHD level 0, velocity-based, eos, Co 0.5   flux / storage / total (% of solute mass)
    manuscript                               -4.88 / 6.69 / 1.81
    deck as shipped (BC_CONS off)            -2.42 / 6.72 / 4.30
    with BC_CONS=True                        -4.88 / 6.69 / 1.81
  UHD level 0, velocity-based, lagged density: manuscript 2.28; with BC_CONS=True 2.28 / 0 / 2.28
  UHD level 0, lagged, flow limiter off: manuscript 0.7 %; with BC_CONS=True 0.729 %
  UHD level 0, velocity-based, Co 0.25: manuscript 2.1 %; with BC_CONS=True 2.11 %
  UHD level 0, compatible (edge fluxes): -7e-17 % both ways (not affected)
  Bioswale (2 ranks, BIOSWALE_DENSITY=1): manuscript 443 steps; shipped 442; with BC_CONS=True 443
  Henry FCT (serial): 3094 steps, mb_error -4.712444e-18, flow residual -1.390436e-13, identical with and without
  MMS T3 N = 40 FCT (serial): E2(c) 3.614946e-03, E2(psi) 3.859475e-03, identical with and without

Not run: Elder (64 ranks), UHD level 4, Zalesak reference 5, levee at 4 ranks, MMS N >= 80, the
dt ladders (HPC or ceds-model sized); BC_CONS's effect on Elder and the levee is unmeasured.
Henry's low-order deck (henry/low_order/flow_p.py) is left as it is: Henry is not sensitive.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…no longer depends on the triangle binary

test_first_dt_of_an_explicit_transport_respects_its_cfl[3] failed on every fleet-nightly pip prefix (ceds-model,
darcy, spark2, yoda-2404/2604) and passed on the conda CI legs and chewbacca. Cause: the levee deck generated its
mesh with the 'triangle' on PATH, and each environment's triangle makes a different mesh from the same levee_case_d.poly
and options 'pAq30Dena0.5': 26411 elements (Mac conda-forge), 26366 (Linux conda-forge, Debian), 26312 (the
PETSc-built triangle the nightly puts first on PATH). RKEV.initialize_dt takes min(interval, floored CFL dt *
M_min/1e-14); M_min is the same (0.071288) and the floored CFL follows the mesh:

  mesh      max edge CFL   first dt (s)            c after the first step, SSP33     SSP11
  26411     1.8555e13      0.1920947474532487      [-2.31, 9.51]                     [0, 4.49]
  26312     1.4291e13      0.24941296514510153     [-7.331, 16.075] (> bound 10)     passes

The 26312 line, run on the Mac conda build with the PETSc triangle's output replayed, reproduces the nightly's
(-7.330996940912488, 16.074950920619713, 0.2494129651451016) to 14 digits: not BLAS/MUMPS/SuperLU/flags/test order.

Fix (the test meshing policy: a test downstream of meshing reads a stored mesh): the levee deck's triangle output is
committed (stored_mesh/levee_case_d.{node,ele,edge}, 2.2 MB, force-added: *.ele is ignored), the levee_deck fixture
copies it in and _run no longer forces genMesh for it. The bound is |c| <= 20: above the worst measured value on
either mesh, far below the 1e8 of the failure the test guards against.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…uthors' builds ran (1.9.x)

From cekees/vdft-decks-bc-cons-19x at d03830e (#335).
…failed on the nightly's PETSc-built triangle mesh)

From cekees/c0-r15-19x at b569d0f (#339).
@cekees
cekees merged commit 131cfbf into proteustoolkit:1.9.x Nov 22, 2026
4 checks passed
@cekees
cekees deleted the train/1.9.x-2026-11-21 branch November 22, 2026 02:14
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.

1 participant