Skip to content

Main train 2026-11-11b: archive at scale, abort on a one-rank exception, gmsh through ymf-import-gmsh, ymf vocabulary (C5 step 3), CSR index type, Richards Q1 tables - #1354

Merged
cekees merged 26 commits into
proteustoolkit:mainfrom
cekees:train/main-2026-11-11
Nov 11, 2026

Conversation

@cekees

@cekees cekees commented Nov 11, 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 main at d7d7f19 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#249 Archive at scale: the solver state in three datasets per model, whatever the number of ranks 2
cekees#252 parun and pro run: an uncaught exception on any rank aborts the whole MPI job 3
cekees#254 C7.1 round 4: read use_gmsh meshes as ymf (ymf-import-gmsh); deprecate msh2simplex 2
cekees#256 C5 step 3: proteus maps ymf round 3's vocabulary 7
cekees#255 C33 slice 2c, part 1: CSR index type (proteus_csr_index_t = PetscInt) and ArgumentsDict int64 3
cekees#250 Richards Hornung-Messing: refresh the Q1 tables after the FemTools trace-gradient fix (main) 3

Diff against main: 77 files changed, 2866 insertions(+), 1686 deletions(-).

🤖 Generated with Claude Code

cekees and others added 26 commits November 11, 2026 00:41
…f ranks

proteus main 266eb97 died at the first archive write of the Torino flume runs, inside H5Dcreate2, at 1,536 ranks
(Carpenter 3283183, HDF5 1.14.6, cray-mpich: assertion in H5C_construct_candidate_list__min_clean) and at 4,096
ranks (LONI QB 1173802, Intel MPI: "could not determine which branch to follow out of this node"; the other ranks
hung 2.7 h). 1.9.x, which has no solver state archive, runs the same cases with the mpio driver.

archiveSolverState wrote each rank's lag state as one dataset per rank and item (<item>_p<rank>) through
create_dataset_async, which under mpio has every rank create every rank's datasets: ranks x items collective
creates per model and archived step, after an allgather of every rank's names. damBreakLevelSet (5 models) wrote
105 datasets per rank (RANS2P 54): 210 on 2 ranks, 420 on 4, so ~161k creates per write at 1,536 ranks.

Archiver.create_rank_records writes the ranks' arrays, of any shape, number of dimensions and numeric type, as
three datasets: the bytes, rank after rank; an index, one row per rank (rank, start, length, and each key's
offset and shape); and the keys with their types. Agreement is checked with a digest broadcast and reductions,
the index rows are one Gather to rank 0, each rank writes its own bytes (mpio), master writes all (serial), each
rank its own file (per-rank). read_rank_records gives a rank its row back. The model's stamp, <model>/step, is
written -1 before the records and the step after them, so an interrupted write leaves a section no hot start
reads. The hot start still reads the old one-dataset-per-rank-and-item layout.

Measured:
- damBreakLevelSet solver_state datasets: 210 (2 ranks) / 420 (4 ranks) before, 20 / 20 after.
- The write itself on ceds-model (mpio, HDF5 2.2.0, MPICH; 60 items x 3 models x 2 writes, the branch's own
  create_dataset_async against create_rank_records):
    ranks     4       96       192
    before  0.14 s   5.21 s   21.31 s   (720 / 17,280 / 34,560 datasets)
    after   0.01 s   0.09 s    0.22 s   (9 datasets)
  The old layout's cost is quadratic in the ranks; it did not crash at 192 ranks on HDF5 2.2.0, and not at 8
  ranks with 480k creates on HDF5 1.14.6 (Mac), so the crash itself needs the rank count.

Tests: test/test_archive_rank_records.py (new; mpio, serial and per-rank at 1 and 3 ranks: every rank reads its own
ragged arrays back, an empty rank, promoted types, three datasets on 1 rank as on 3); the 2-rank continue test checks
four datasets per model (108 for RANS2P before); a hot start from an archive rewritten in the old layout continues
exactly. Updated the two tests that named step_p0. Mac (macOS arm64, MPICH, HDF5 1.14.6): the archive tests
(test_archive_*.py, 122) and the hot start, retry and state contract tests (61) pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… sibling test module

CI (linux-64 / py3.12, run 42925473677) collects test modules without test/ on sys.path, so
'from test_archive_parallel_metadata import MPIEXEC' was an ImportError there: 3038 passed, 1 error (this
module). The launcher lookup is now local. Passes from outside test/ with --import-mode=importlib (5 passed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ace-gradient fix

The stored convergence_q1_theta*.txt predate the P2/Q1 trace-gradient fix in
FemTools (8897554). Bilinear Q1 gradients are not constant, so the old routine
was wrong for Q1 as well. Regenerated on 1.9.x b6c60a5 with
`MESH=q1 ./run_hm_convergence.sh` (serial, env proteus-bc-261025).

Measured L2 error, before -> after (10 rows move; low order, Galerkin and the
theta=1 implicit FCT rows are unchanged to the printed digits):
  theta=1 WRR FCT      h=1/32  1.112e-5 -> 1.102e-5   h=1/64  1.942e-6 -> 1.906e-6
  theta=1/2 implicit   h=1/4   4.988e-4 -> 5.095e-4   h=1/8   1.568e-4 -> 1.571e-4
                       h=1/16  4.424e-5 -> 4.425e-5
  theta=1/2 WRR FCT    h=1/4   3.636e-4 -> 4.464e-4   h=1/64  4.956e-3 -> 4.945e-3
                       (h=1/8..1/32: 9.806e-3 -> 9.459e-3, 1.707e-2 -> 1.592e-2, 1.005e-2 -> 1.016e-2)
Reverting only the FemTools change on b6c60a5 restores the old values exactly.
The P1 tables are unchanged. README and JNMA_HANDOFF numbers updated to match.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…lated options PR

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Before, the rank that raised printed its traceback and exited, and the
other ranks waited in their next collective until the job's wall time ran
out. On LONI QB (job 1173802, 4096 ranks, main 266eb97) one rank raised a
ValueError in Archiver._dataset at the first archive write and the other
ranks hung for 2.7 h (about 37k SUs). parun called MPI Abort only for
dataDir errors, and its run loop catches only StepTimeError.

parun now installs a sys.excepthook right after Comm.init: it writes
"parun: uncaught exception on rank r of n; aborting the MPI job" and the
traceback to stderr and to the log (rank 0's, or every rank's with -a),
flushes both, and calls MPI Abort(1). A serial run logs the same and exits
1 as before, without an abort. A StepTimeError, which every rank raises
together, is still caught and exits 1 without an abort.

Measured on macOS arm64 (MPICH 4, FI_PROVIDER=tcp), fillingTank at 2
ranks through test/step_retry_mpi.py with the new RAISERANK=1 hook (rank 1
raises a ValueError at its first archive write, archiveInitialSolution):

  before (266eb97 parun)  no exit; rank 0 waits in a collective until
                           `timeout 300` kills it at 300.0 s
  after                    exit 1 at 1.3 s from launch (the same run
                           without the raise finishes in 12.2 s)

Tests (macOS arm64, proteus-hotstart-261025, 2 ranks where marked):
test/test_parun_abort.py (new: rank 1 raises, rank 0 raises with the
traceback in the log, serial exits 1), test_step_time_check.py's 2-rank
nan test (now also asserts no abort) and its serial controller cases,
parun_exit_status: 9 passed in 17 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pro (both `pro run p.py n.py` and `pro run SPEC.ymf`, which also run
collectives under mpiexec) had the same gap as parun before 809a736: the
rank that raised exited and the others hung in their next collective.

The hook moves from scripts/parun to proteus.runtime.
abort_on_uncaught_exception(program), which parun calls after Comm.init and
pro's main() calls first. It looks up the communicator when it runs, so it
can be installed before MPI starts; with one rank, or no MPI yet, it logs
and lets the process exit 1. pro run's solve() now catches StepTimeError as
parun does (status 1 on every rank, no abort); before, it reached the top
level on every rank.

Measured on macOS arm64 (MPICH 4, FI_PROVIDER=tcp), pro run on test/ci's
ladr_2d at 2 ranks with the new parun_exit_status/ladr_2d_raise_n.py and
RAISERANK=1 (rank 1 raises a ValueError at its first archive write):

  before (266eb97)  no exit; rank 0 waits until `timeout 300` kills it
                     at 300.0 s
  after              exit 1 at 0.66 s (the same run without the raise
                     exits 0 at 0.94 s)

test_parun_abort.py now also runs parun and pro on that deck at 2 ranks:
rank 1 raising aborts with "<driver>: uncaught exception on rank 1 of 2",
a StepTimeError on every rank exits 1 without an abort, and the deck runs
to 0 without the raise. Ran on macOS arm64: test_parun_abort.py 9 passed
in 10 s; test_pro_cli.py 47 passed, 2 skipped; test_step_time_check's
2-rank nan test and parun_exit_status passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The working handoff for the Richards FCT study names the target journal of an article
that is not yet accepted; keep the handoff local. Nothing in the repository refers to it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The table coined its own words for what a spec says (vbdf, SSP_RK3, pressure_initial, shock_capturing as a
stabilization method, entropy_viscosity_cE, hyperbolic_relaxation); ymf round 3 (proteustoolkit/ymf#29) gives each a
word in ymf.vocabulary and keeps the old one as an alias.

* DispatchTable's cells are keyed on ymf's words: bdf2, ssp_rk3, pressure_spin_up, residual_shock_capturing,
  entropy_viscosity_coefficient. The table's own FAMILIES and ROLES are gone (ymf.vocabulary has them).
* Dispatch reads a spec's words through ymf.vocabulary.canonical (time integration, stabilization method, scheme
  name and options, binding meaning, step control type), so a spec that still says vbdf or SSP_RK3 dispatches as it
  did. A word ymf does not know is passed on and refused by the cell, with the message it had.
* family_of and role_of are ymf.vocabulary's (the same rules; a refusal is still a DispatchError with the table's
  message). The dispersive family is now `dispersive`, and `hyperbolic_relaxation` is still recognized.
* test/dispatch/*.ymf say bdf2, ssp_rk3, entropy_viscosity_coefficient.

Evidence (macOS arm64, env proteus-bc-261025, ymf main 82b306a with round 3, -n 4):
* 4 new tests (ymf words vs aliases dispatch alike: as_dict equal for the projection and the scheme block;
  `dispersive` and the older assumption; residual_shock_capturing and its alias = ARTIFICIAL_VISCOSITY 1) plus the
  dispersive test with the new assumption: 5 fail on the parent (DispatchError), 5 pass here.
* test/dispatch + test_pro_cli: 126 passed, 1 skipped, before (parent, ymf main) 32 + 94 as in the baseline run of
  test/dispatch (32 passed); the deck-vs-spec bitwise runs (damBreakLevelSet, dam3Bumps, 1 and 2 ranks) are
  unchanged.
* Decks changed: dambreak.ymf (vbdf -> bdf2), proteus_numerics.ymf (SSP_RK3 -> ssp_rk3,
  entropy_viscosity_cE -> entropy_viscosity_coefficient).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The two-phase realizer read the density, viscosity and gravity as ρ, μ, g, and the shallow-water realizer read
g, n, θ, α, β, Z, by name from the family file, because a coefficient had no meaning. ymf round 3 gives it one
(`role: density`, ymf.vocabulary.COEFFICIENT_ROLES).

* DispatchTable: TWO_PHASE_COEFFICIENT_ROLES (density, dynamic_viscosity, gravity) and
  SHALLOW_WATER_COEFFICIENT_ROLES (role -> SWFlow's physical_parameters key: gravity, manning_coefficient ->
  mannings, porosity, linear_drag -> drag_alpha, quadratic_drag -> drag_beta) with SHALLOW_WATER_BED_ROLE
  (bed_elevation). The by-name maps are gone.
* DispatchRun finds each with ymf.vocabulary.coefficient_by_role. A model that does not state a role is refused,
  naming the role and how to state it; the shallow-water refusal is in precheck, before anything runs. There is no
  fallback to a name: that is what the role replaces.
* test/dispatch/two_phase_level_set.ymf and shallow_water.ymf state the roles (as ymf's own fixtures do).

Evidence (macOS arm64, env proteus-bc-261025, ymf main 82b306a, -n 4):
* 10 new tests (values found by role in a model with ρ, μ, g renamed; each of 3 two-phase and 6 shallow-water
  roles missing is refused by name): all 10 fail with the realizers of the parent commit and pass here.
* test/dispatch: 46 passed, with the deck-vs-spec bitwise runs unchanged (damBreakLevelSet and dam3Bumps, 1 and 2
  ranks).
* Decks changed: two_phase_level_set.ymf, shallow_water.ymf (roles). The roles are in the spec's input slice, so
  the archive key of dambreak_short.ymf's output changed (1234a3751d55 -> another digest); the archive test reads
  the digest from the first run instead of carrying it as a constant.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
ymf round 3 (C42 #18) puts an uncarried phase indicator's condition on the level set's sub-problem as a sign: at the
atmosphere CLSVOF has {φ, dirichlet, only: inflow, sign: 1, indicator: {χ, 1.0}} and no value. The atmosphere
signature in TWO_PHASE_BOUNDARY_SETTERS needed χ, so the dispatch refused level_set_clsvof (RANS2P + CLSVOF) with
"no BC_RANS setter imposes its closed conditions".

* A second atmosphere entry, atmosphere_clsvof: {p = 0, zero v flux, (φ, dirichlet, inflow, sign 1)} -> setAtmosphere,
  with vof_air read from the condition's indicator value (1.0). A signed condition without a value has the value
  `sign:<±1>` in a signature.
* setAtmosphere sets no CLSVOF data (clsvof_dirichlet stays unset, the same as damBreakLevelSet.py interface=1), so
  the run is weaker than the spec on one point: where flow enters, φ is not held at the air side. The entry carries
  a note and the archive's realize record shows it under the side's setter.
* New case dambreak_short_clsvof.ymf (level_set_clsvof alone, h 0.2576, 3 outputs, superlu; it restates only φ0).

Evidence (macOS arm64, env proteus-bc-261025, ymf main 82b306a):
* test_the_spec_runs_the_deck_bitwise[damBreakLevelSet_clsvof] (`parun --TwoPhaseFlow damBreakLevelSet.py -C
  "final_time=0.03 dt_output=0.01 he=0.08 genMesh=True interface=1"` against `pro run dambreak_short_clsvof.ymf`):
  every dataset bitwise equal on 1 rank and on 2 (-mat_partitioning_type current), the water moves (|velocity_t4|
  > 0.1). On the parent commit the same spec is refused: exit 2, "region top (side y+): no BC_RANS setter imposes
  its closed conditions".
* test_the_clsvof_atmosphere_is_setAtmosphere_and_the_run_says_what_it_does_not_impose: the top of level_set_clsvof
  is setAtmosphere(vof_air=1.0) with the note, that of level_set_five the same setter without one.
* Two tests that used level_set_clsvof as "a discretization that cannot run" use another refusal now (an
  atmosphere holding p = 1 has no setter; a CLSVOF sub-problem with SSP RK3 has no cell).
* test/dispatch: 49 passed (before this commit: 46).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The coverage job failed on eb77738: proteus/runtime.py measured 93.5%
against its 100% floor. abort_on_uncaught_exception's hook ran only in the
driver subprocesses, and those end in MPI Abort before coverage writes its
data.

Three in-process tests call the hook with a fake communicator whose Abort
records its code:
  - more than one rank: it writes to stderr and the log, then aborts with 1
  - one rank, or no MPI yet: it only logs
  - stdout and the log cannot be written: it still aborts

Locally (macOS arm64), test_parun_abort.py + test_pro_cli.py with
--cov=proteus.runtime: 77 statements, 100%; 102 passed, 1 skipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A use_gmsh PSLG/PLC domain's .msh is read as the ymf mesh ymf-import-gmsh writes: a current
.ymf beside it (its provenance sha256 names the .msh it converts) is used without the converter,
else the converter runs if installed, else the old msh2simplex(+tetgen) path, now warning.
-F and pro msh still write the triangle/tetgen files. No tetgen run on the ymf route.

Measured: nodes, cells, material and boundary tags (7 arrays) bit-equal to msh2simplex + the
triangle/tetgen readers on gmsh_square and gmsh_cube, both without the converter (stored .ymf)
and with it. test_gmsh_ymf 10 passed (8 passed, 2 skipped without the converter); test_importers,
test_importer_solves, test_generate_mesh_errors, test_gmsh_generation, test_domain_ymf, test_pro_cli:
150 passed, 1 skipped, 1 failed before the writeMeshFiles keyword fix, 47 passed after for the
affected files (osx-arm64).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ths; SWFlow refuses instead of overriding

ymf round 3 (C42 #19) makes `linear_solver: direct | iterative` the request, and a package name (`superlu`, `mumps`,
`petsc`) a request of its kind. The three paths read it differently and two of them overrode it silently.

* ADR path (ADRProblem.linear_solver_choice): `direct` is SuperLU on one rank, MUMPS on several ranks or for a
  singular operator; `iterative` is petsc (petsc_options refine it). The packages work as before.
* Two-phase path (DispatchRun._linear_solver): `direct` (or `superlu`) is the deck's useSuperlu (SuperLU on one rank,
  SuperLU_DIST on several), `iterative` (or `petsc`) the PETSc KSP solvers; not stated, iterative. A package the
  machinery does not select (`mumps`, `umfpack`) and `petsc_options` (no deck machinery reads them) are refused
  before anything runs, in precheck. The archive record says `direct (SuperLU)` etc. (it said `superlu (SuperLU)`).
* Shallow-water path: SWFlow's n module solves with LU on one rank and KSP_petsc4py on several, whatever the spec
  said, and the archive recorded that. A spec asking for the other kind is now refused (`direct` on 3 ranks,
  `iterative` on 1), naming what the n module does; a spec that states none is run as before. precheck takes the
  number of ranks (default: the started Proteus's, else 1).
* Decks: dambreak.ymf says `iterative` (was petsc), dambreak_short*.ymf `direct` (was superlu); proteus_numerics.ymf
  no longer states `petsc`, which was untrue on one rank (the n module used LU) and could not be both on 1 and 2.

Evidence (macOS arm64, env proteus-bc-261025, ymf main 82b306a, -n 4):
* 31 selected tests (the ADR direct/iterative mapping and ranks, the two-phase mapping of 5 words at 1 and 4 ranks,
  4 refusals, the SWFlow kind against ranks in 8 cases): 19 fail on the parent commit's code, all 31 pass here.
* test/dispatch, test_pro_cli, test_adr_problem, test_domain_ymf: 263 passed, 1 skipped (argparse suggestions need
  Python 3.14). The deck-vs-spec bitwise runs (damBreakLevelSet, its interface=1 case, dam3Bumps; 1 and 2 ranks) pass
  with the new words, so `direct` is the deck's solve bit for bit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ndex type (= PetscInt)

Decision 2026-11-10 (cekees): CSR rowptr/colind and the precomputed
csrRowIndeces/csrColumnOffsets get their own type, equal to PetscInt, and vary
independently of proteus_index_t. Default 32 bits (every shipped PETSc);
setup.py reads PETSC_USE_64BIT_INDICES from petscconf.h and passes
-DPROTEUS_CSR_INDEX_BITS to every extension; partitioning.cpp static_asserts the
match. Types only: no numerics change.

- index_type.h: proteus_csr_index_t, PROTEUS_CSR_INDEX_MATCHES_PETSC.
- ~600 declarations retyped in femIntegrals, numericalFlux, postprocessing,
  subgridError, transportCoefficients, twophaseDarcy, sparsity, partitioning
  (cartesianVertexInterpolation) and their Cython twins; csparsity.CSR_INDEX_DTYPE.
- Python: Transport (csr arrays; sdInfo normalised once at setup), LinearAlgebraTools,
  MeshTools prolongation, ADRProblem, deim_utils.
- superluWrappers keeps SuperLU's int and converts only when widths differ;
  OverflowError if the matrix does not fit.
- 5 new tests in test/test_index_type.py (+ superlu both widths).

Checks: clang -Wshorten-64-to-32 probes with (index,csr) = 32/64, 64/32, 64/64: no
CSR-related narrowing (leftovers are meshio and cartesianPartitioning.cpp, later
slice). g++ 11.4.0 (ceds-model) -fsyntax-only on the 12 C/C++ files of slices 1-2c-1
at index width 32 and 64: no new errors/warnings. Targeted suite (index_type, superlu,
linalgebra, solver, matrix_constructor, single_phase_gw, poisson_2d, dg,
post_processing, porosity, periodic, multilevel, mesh_tests, partition characterisation,
all *_partition_independence): 1397 passed, 13 failed = the same ymf-environment
failures as 266eb97 (ymf.mesh / ymf.archive.inline_approximation missing).
Not run: full suite, CI, a real 64-bit-PETSc build.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…scalars

The mprans kernels read their arguments through ArgumentsDict, which had only
int and double dicts. With a 64-bit proteus_index_t / proteus_csr_index_t the
mesh and CSR arrays are int64. Added m_larray / m_lscalar: an array lands in the
dict of its own dtype (pyarray never converts), a Python int is stored as int64
and also as int when it fits. array<std::int64_t>/scalar<std::int64_t>
specialisations; a wrong-width lookup now reports every dict holding the key.
Default (32-bit) behaviour is unchanged. Kernels still read int; the family
commits that follow switch them to proteus_index_t / proteus_csr_index_t.

Checks: test_index_type.py 18 passed (2 new ArgumentsDict tests); vof and mcorr
partition-independence tests pass; Mac build, clang. Not run: gcc, CI.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…_t / proteus_csr_index_t through it)

Header only; clang probe at index width 64 compiles VOF.cpp/VOF3P.cpp past the include.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Step 2 wrote three decks around ymf defects that ymf round 3 fixed (proteustoolkit/ymf#29, items (e)).

* Y1 (dambreak.ymf): the hint `eb_penalty_constant: 1000000.0` is `1.0e6` again. ymf's archive writer used to turn a
  free-form `1.0e6` into '1000000.0', so reading an archive back gave another input digest and `--check` found no
  record.
* Y2 (dam3bumps.ymf): the bed's `95/2` is `47.5` again, with the comment that explained why it was not. On sympy
  1.13 a power of a sum with a decimal had its largest coefficient factored out (the same number, other
  arithmetic); ymf keeps the decimals now.
* Y3 (dambreak_short.ymf): `initial_conditions` of an `extends` pairs by `field`, so the short case restates φ0
  only (it restated v and p as well).

Evidence (macOS arm64, env proteus-bc-261025 with sympy 1.13.2, ymf main 82b306a, -n 4):
* dam3Bumps spec with 47.5 against dam3Bumps.py: every dataset bitwise equal on 1 and 2 ranks (test_dispatch_run.py);
  ymf's own measurement of Y2 on this sympy: 4 of 6 cases differ on the old notation, 6 of 6 agree with round 3.
* The archive rerun test (spec written, read back, rerun: "in the archive", `--check` reproduces bitwise) passes
  with `1.0e6` in the hints it hashes, which is what Y1 broke; dambreak_short.ymf and dambreak_short_clsvof.ymf
  run bitwise with φ0 as their only restated initial condition.
* test/dispatch: 65 passed, 1 failed on the first run and 66 passed on 4 later runs; the failure is the CLSVOF case on
  two ranks, which is not run-to-run reproducible with the deck alone (next commit).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… the deck alone differs from run to run

test_the_spec_runs_the_deck_bitwise[damBreakLevelSet_clsvof-2] (added in 3/5) failed in 2 of 20 repeats under load
(4 concurrent streams, each a deck and a spec on 2 ranks): 66 of 218 datasets differ, p_t2.. and phi_t1.. first,
the same 66 both times. The deck is the cause, not the spec: 16 copies of
`parun --TwoPhaseFlow damBreakLevelSet.py -C "final_time=0.03 dt_output=0.01 he=0.08 genMesh=True interface=1"` on
2 ranks (-mat_partitioning_type current), run at once with no spec, give 15 identical archives and one that differs
from them in 64 of 213 datasets; 8 at once gave 8 identical ones. On one rank the case is bitwise (every run), and
the five-model dam break (VOF, NCLS, RDLS, MCorr) is bitwise on two ranks in every run so far.

This case on two ranks is xfail (non-strict, so an XPASS shows) with that reason; it is a model problem in CLSVOF's
parallel run (C0's territory: written up in HANDOFF_2026-11-11_c5-step3.md), not something the dispatch can change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…meouts)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…verage floor)

The coverage job failed on 367ec20: proteus/Dispatch.py 90.6% against its 91.3% floor. Step 3's edits moved
`family_of` onto ymf and left refusal branches that no test reached. Three tests:

* a width that is the element-size symbol itself (epsFact 1.0), and ε = 1.5 h (1.5);
* a width not bound by the discretization, and one that is not a number times the element size, are refused;
* a model whose physical_model identifies two families and names none is refused (ymf's message).

Evidence (macOS arm64, coverage over test/dispatch/test_dispatch.py alone): Dispatch.py 395 statements, 38 missed
(90.4%) before, 33 missed (91.6%) after; CI's combined figure on the failing head was 90.6%. test_dispatch.py: 63 passed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…model, whatever the number of ranks

From cekees/archive-at-scale at 126f2b6 (#249).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ts the whole MPI job

From cekees/parun-abort-on-exception at 1fc475c (#252).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…h); deprecate msh2simplex

From cekees/c71-r4 at f60e57d (#254).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From cekees/c5-step3 at 6a5256f (#256).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… = PetscInt) and ArgumentsDict int64

From cekees/c33-s2c at d9fa2db (#255).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… FemTools trace-gradient fix (main)

From cekees/richards-hm-tables-main at 38db5c9 (#250).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cekees
cekees merged commit bf846a4 into proteustoolkit:main Nov 11, 2026
9 checks passed
@cekees
cekees deleted the train/main-2026-11-11 branch November 11, 2026 14:53
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