A3 Orders through the stepper
| ID | Group | Type | Backends | Figure | Program |
|---|---|---|---|---|---|
| A3 | Accuracy | P | CPU (gfortran, nvfortran, ifx); GPU (A30, tests-nvf-oac) | yes | selah_test_stepper, selah_test_stepper_ranks |
Case and scope
The same order, now through everything a solver uses: the stepper, its storage forms, the box kernels, a multi-block field and a caller that fills ghost cells and evaluates the residual. Every scheme runs in every form it has: Butcher, Butcher with stages on q, two-register, Williamson 2N and Ketcheson.
Setup
| Item | Value |
|---|---|
| Problem | |
| Grid | 4 blocks of 16 cells, 1 ghost cell, layout V_FIRST; FUNDAL arrays (device memory in a device build) |
| Residual | central flux form, |
| Reference | the exact semi-discrete solution |
| Steps | to |
| Bound | observed order of the last halving at least |
Fields of rank 1 to 4
selah_test_stepper_ranks takes the same orders through the stepper's rank-k fronts (Stepper).
| Item | Value |
|---|---|
| Fields | seven shapes: scalar (i), (i, j), (i, j, k), (i, j, k, b) (two blocks, a box_range box), and two components (v, i), (v, i, j), (v, i, j, k); 3 interior cells per dimension, 1 ghost cell; a pointer of the field's rank over contiguous FUNDAL storage |
| Problem | |
| Steps | to |
| Splittings | the oscillator |
| Bound | observed order of the last halving at least |
Program
bash
./exe/selah_test_stepper
SELAH_VV_DIR=exe/vv-data ./exe/selah_test_stepper # stepper-orders.dat, telescoping.dat
./exe/selah_test_stepper_ranks # the rank-k frontsResults

Error at
| Scheme | Form | Declared | Observed, 1st halving | 2nd | 3rd | Finest error |
|---|---|---|---|---|---|---|
euler | Butcher | 1 | 1.025 | 1.014 | 1.007 | 0.009646 |
euler | Butcher, stages on q | 1 | 1.025 | 1.014 | 1.007 | 0.009646 |
euler | two-register | 1 | 1.025 | 1.014 | 1.007 | 0.009646 |
ssp-22 | Butcher | 2 | 2.000 | 2.000 | 2.000 | 3.92e-05 |
ssp-22 | Butcher, stages on q | 2 | 2.000 | 2.000 | 2.000 | 3.92e-05 |
ssp-22 | two-register | 2 | 2.000 | 2.000 | 2.000 | 3.92e-05 |
ssp-33 | Butcher | 3 | 2.999 | 3.000 | 3.000 | 1.20e-07 |
ssp-33 | Butcher, stages on q | 3 | 2.999 | 3.000 | 3.000 | 1.20e-07 |
ssp-33 | two-register | 3 | 2.999 | 3.000 | 3.000 | 1.20e-07 |
ssp-54 | Butcher | 4 | 4.000 | 4.000 | 4.001 | 2.18e-09 |
ssp-54 | Butcher, stages on q | 4 | 4.000 | 4.000 | 4.001 | 2.18e-09 |
ssp-104 | Butcher | 4 | 4.001 | 4.001 | 4.000 | 2.62e-10 |
ssp-104 | Butcher, stages on q | 4 | 4.001 | 4.001 | 4.000 | 2.62e-10 |
ssp-104 | Ketcheson | 4 | 4.001 | 4.001 | 4.000 | 2.62e-10 |
rk4 | Butcher | 4 | 4.000 | 3.999 | 4.000 | 4.71e-09 |
rk4 | Butcher, stages on q | 4 | 4.000 | 3.999 | 4.000 | 4.71e-09 |
lsrk-33 | Butcher | 3 | 2.999 | 3.000 | 3.000 | 1.20e-07 |
lsrk-33 | Butcher, stages on q | 3 | 2.999 | 3.000 | 3.000 | 1.20e-07 |
lsrk-33 | Williamson 2N | 3 | 2.999 | 3.000 | 3.000 | 1.20e-07 |
lsrk-54 | Butcher | 4 | 4.001 | 4.000 | 4.001 | 1.88e-09 |
lsrk-54 | Butcher, stages on q | 4 | 4.001 | 4.000 | 4.001 | 1.88e-09 |
lsrk-54 | Williamson 2N | 4 | 4.001 | 4.000 | 4.001 | 1.88e-09 |
Findings
- Every scheme reaches its order in every form, and the forms of a scheme agree in their errors to round-off (C2).
stages_on_qchanges no digit (C3).- At every rank from 1 to 4, every scheme reaches its order in every form, and every splitting its order on the shapes with components. The rank-k run is bitwise the rank-5 run of the same data.
- The same program checks the stage contract and the conservation identity (C3, P4), on the host and on the A30.