Skip to content

Split the slowest NTV device and drift-kinetic energy tests into cases - #480

Merged
krystophny merged 1 commit into
mainfrom
split-slow-tests-20261127
Nov 27, 2026
Merged

krystophny merged 1 commit into
mainfrom
split-slow-tests-20261127

Conversation

@krystophny

@krystophny krystophny commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

The three slowest unsplit nightly tests become cases that each stay well inside their limit. No check, tolerance or input changes.

GitHub nightly before after (faepmac1, loaded)
ntv_device 780 s, labelled fast 14 fast cases of 0–29 s, slow hp_adaptive 207 s and orbit_width_deposit_adaptive about 700 s
dk_hp_energy_full 1021 s energy_full (fine mesh vs Legendre) and energy_full_l_field
dk_hp_energy_iterations 759 s energy_iterations (test particle, iteration cap) and energy_iterations_full
  • The three parts of orbit_width_deposit write their own Boozer files, because they run as concurrent cases.
  • The slow ntv_device and dk_hp cases reserve four cores (PROCESSORS 4, OMP_NUM_THREADS=4), so they no longer share the runner with other threaded tests.
  • In the energy_full run on faepmac1 the fine-mesh solve takes 830 s and the Legendre reference 73 s. That run took 1698 s in total, against 1021 s on the hosted runner.

Every new case passed on faepmac1 with the printed values of the unsplit run (Legendre difference 7.68e-5 against 2e-4, l_field 7 against 3 2.67e-3 against 2e-2).

Chris&AI

ntv_device ran its twelve checks in one process for 13 minutes on the
hosted runner. Each check is now a case of its own. The adaptive deposit
(about 10 minutes) and hp_adaptive are labelled slow and reserve four
cores, and the other cases stay fast.

dk_hp_energy_full splits into the fine mesh against the Legendre solver
and the coarse l_field ladder, dk_hp_energy_iterations into the test-
particle and the full collision model. The slow dk_hp cases reserve four
cores. Every check keeps its data and bound.
@krystophny
krystophny enabled auto-merge November 27, 2026 17:58
@krystophny
krystophny added this pull request to the merge queue Nov 27, 2026
Merged via the queue into main with commit dc0c22d Nov 27, 2026
3 checks passed
@krystophny
krystophny deleted the split-slow-tests-20261127 branch November 27, 2026 18:42
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