ALADIN Driver v4.0.1: Native-Cylindrical GPU/CPU MHD Driver for Z-Pinch and J×B Research, Certified (DRV-01, DRV-02) with Bit-Identical GPU = CPU Results

ALADIN Driver v4.0 is the native-cylindrical, axis-inclusive magnetohydrodynamics driver of ALADIN Plasma Cosmology. It is built on eleven independently certified kernels: PRIM, HLLD (three directions), RESIDUAL, UCT-CURL, UCT-EMF with constrained transport, E-GLM, G2 and GYRO. One code runs on CPU (NumPy + g++) and GPU (CuPy + NVRTC) and produces the same bits on both. The release contains the Driver: a conductor plus managers for configuration, kernel build and hash verification, grid, memory, boundaries (axis, conducting wall, outflow), the RHS pipeline, CFL time step, transactional SSP-RK3 with local recovery, diagnostics, bit-identical checkpoints and checksummed run bundles. It also provides well-balancing for static equilibria, resistive and Hall MHD with the non-ideal Poynting energy flux, and refusal instead of silent continuation. DRV-01 has 13 tests against references independent of the Driver (exact solutions, conservation laws, an independent linear eigen-solver), with thresholds frozen before any run. Final result: 9 PASS, 4 FAIL. The README Z-pinch (B_φ = r/2, J_z = 1, P = P0 − r²/4, μ0 = 1) stays exactly static (max |ΔU| = max |ΔB| = 0) for 2000 steps. The sausage instability (m = 0) growth rate is within 0.83% of the oracle, converging at order 2.65. Restarts are bit-identical, and the failure rules hold. Every kernel slot is shown to matter (ablation factor ≥ 16.7×). The memory estimate holds on a held-out grid. Throughput is 4.8 M cell-updates/s at 128³ on a T4 (7.5 M on an L4). GPU = CPU: 0 values differ in 112 final-state arrays (FP64). The four FAILs (resistive decay, Hall and Alfvén waves at a fixed 4×8 cross-section, and the non-ideal heating rate) are kept and explained. Joint r-φ-z refinement (addendum A1, declared post hoc) converges for the Hall wave at second order. DRV-02 (new in 4.0.1) tests the m = 1 kink instability of the README Z-pinch inside a conducting wall, against ORACLE-2. ORACLE-2 is an independent Chebyshev-collocation linear stability solver with axis parity. It gives the m = 1 marginal wavenumber k_c = 1.5788347 and the growth rate at k = 2π, 0.4681760091. It also confirms the DRV-01 sausage reference to 7 digits. With thresholds approved before any run, the Driver reproduces the kink growth rate to 0.73% at 64×32×64, converging at order 2.97. Only 1e-4 of the kinetic energy lies outside the mode. GPU = CPU holds bit for bit (0 differing values). Both classical Z-pinch instabilities, sausage and kink, are now reproduced against independent references. The report documents how GPU = CPU was earned. Two causes were found by probes and fixed before the final runs: initial states built with LAPACK/BLAS differ between machines (now frozen and shipped), and one x**2 vs x*x line in the time step. All FAILs and crashed runs stay in the record. Not coupled in v4.0: GYRO (anisotropic pressure), gravity, physical units (code units, μ0 = 1). Driver code unchanged since 4.0; 4.0.1 adds DRV-02. Author: Mihai Alexandru Bucurenciu (ALADIN). AI assistant Team: SuperGrok, Claude, ChatGPT. Keywordsmagnetohydrodynamics; MHD; Z-pinch; J×B; plasma cosmology; cylindrical coordinates; GPU; CUDA; CuPy; reproducibility; bit-identical; verification and validation; constrained transport; HLLD; Hall MHD; resistive MHD; well-balanced scheme; sausage instability; kink instability; Chebyshev collocation; ALADIN Related identifiers ("requires"): 10.5281/zenodo.24403809, 24383948, 24369578, 24408600, 24404520, 24405701, 24417336, 24395791. Prefix each number with 10.5281/zenodo.. Files to upload: ALADIN_Driver_v401_Report.pdf and ALADIN_Driver_v401.tar.gz.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-22
DOI
https://doi.org/10.5281/zenodo.24446783
Primary Topic
Magnetic confinement fusion research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

ALADIN Driver v4.0.1: Native-Cylindrical GPU/CPU MHD Driver for Z-Pinch and J×B Research, Certified (DRV-01, DRV-02) with Bit-Identical GPU = CPU Results

Mihai Alexandru Bucurenciu
Zenodo (CERN European Organization for Nuclear Research)
Magnetic confinement fusion research
article

ALADIN Driver v4.0.1: Native-Cylindrical GPU/CPU MHD Driver for Z-Pinch and J×B Research, Certified (DRV-01, DRV-02) with Bit-Identical GPU = CPU Results

Mihai Alexandru Bucurenciu
article en

Abstract

ALADIN Driver v4.0 is the native-cylindrical, axis-inclusive magnetohydrodynamics driver of ALADIN Plasma Cosmology. It is built on eleven independently certified kernels: PRIM, HLLD (three directions), RESIDUAL, UCT-CURL, UCT-EMF with constrained transport, E-GLM, G2 and GYRO. One code runs on CPU (NumPy + g++) and GPU (CuPy + NVRTC) and produces the same bits on both. The release contains the Driver: a conductor plus managers for configuration, kernel build and hash verification, grid, memory, boundaries (axis, conducting wall, outflow), the RHS pipeline, CFL time step, transactional SSP-RK3 with local recovery, diagnostics, bit-identical checkpoints and checksummed run bundles. It also provides well-balancing for static equilibria, resistive and Hall MHD with the non-ideal Poynting energy flux, and refusal instead of silent continuation. DRV-01 has 13 tests against references independent of the Driver (exact solutions, conservation laws, an independent linear eigen-solver), with thresholds frozen before any run. Final result: 9 PASS, 4 FAIL. The README Z-pinch (B_φ = r/2, J_z = 1, P = P0 − r²/4, μ0 = 1) stays exactly static (max |ΔU| = max |ΔB| = 0) for 2000 steps. The sausage instability (m = 0) growth rate is within 0.83% of the oracle, converging at order 2.65. Restarts are bit-identical, and the failure rules hold. Every kernel slot is shown to matter (ablation factor ≥ 16.7×). The memory estimate holds on a held-out grid. Throughput is 4.8 M cell-updates/s at 128³ on a T4 (7.5 M on an L4). GPU = CPU: 0 values differ in 112 final-state arrays (FP64). The four FAILs (resistive decay, Hall and Alfvén waves at a fixed 4×8 cross-section, and the non-ideal heating rate) are kept and explained. Joint r-φ-z refinement (addendum A1, declared post hoc) converges for the Hall wave at second order. DRV-02 (new in 4.0.1) tests the m = 1 kink instability of the README Z-pinch inside a conducting wall, against ORACLE-2. ORACLE-2 is an independent Chebyshev-collocation linear stability solver with axis parity. It gives the m = 1 marginal wavenumber k_c = 1.5788347 and the growth rate at k = 2π, 0.4681760091. It also confirms the DRV-01 sausage reference to 7 digits. With thresholds approved before any run, the Driver reproduces the kink growth rate to 0.73% at 64×32×64, converging at order 2.97. Only 1e-4 of the kinetic energy lies outside the mode. GPU = CPU holds bit for bit (0 differing values). Both classical Z-pinch instabilities, sausage and kink, are now reproduced against independent references. The report documents how GPU = CPU was earned. Two causes were found by probes and fixed before the final runs: initial states built with LAPACK/BLAS differ between machines (now frozen and shipped), and one x**2 vs x*x line in the time step. All FAILs and crashed runs stay in the record. Not coupled in v4.0: GYRO (anisotropic pressure), gravity, physical units (code units, μ0 = 1). Driver code unchanged since 4.0; 4.0.1 adds DRV-02. Author: Mihai Alexandru Bucurenciu (ALADIN). AI assistant Team: SuperGrok, Claude, ChatGPT. Keywordsmagnetohydrodynamics; MHD; Z-pinch; J×B; plasma cosmology; cylindrical coordinates; GPU; CUDA; CuPy; reproducibility; bit-identical; verification and validation; constrained transport; HLLD; Hall MHD; resistive MHD; well-balanced scheme; sausage instability; kink instability; Chebyshev collocation; ALADIN Related identifiers ("requires"): 10.5281/zenodo.24403809, 24383948, 24369578, 24408600, 24404520, 24405701, 24417336, 24395791. Prefix each number with 10.5281/zenodo.. Files to upload: ALADIN_Driver_v401_Report.pdf and ALADIN_Driver_v401.tar.gz.

Zenodo (CERN European Organization for Nuclear Research)
Magnetic confinement fusion research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon