xinvert: A Python package for inversion problems in geophysical fluid dynamics

xinvert v0.3.0 Complete CUDA GPU back-end, a rename pass on the module and public API, and a thread-safe progress reporter. This release also folds in everything that had accumulated since v0.2.0 — v0.2.1 and v0.2.2 were developed but never published, so 0.3.0 is the next version on PyPI after 0.2.0. (Earlier gaps exist in this project too: 0.1.4–0.1.6 were tagged but never released.) Highlights GPU back-end for every equation type architect='gpu' now works for all seven solvers, not just the standard 2-D Poisson case: | equation type | CPU kernel | GPU kernel | | --- | --- | --- | | standard 1D | invert standard 1D | invert standard 1D gpu | | standard 2D | invert standard 2D | invert standard 2D gpu | | standard 2D full (flux form) | invert standard 2D full | invert standard 2D full gpu | | standard 3D | invert standard 3D | invert standard 3D gpu | | general 2D | invert general 2D | invert general 2D gpu | | general 3D | invert general 3D | invert general 3D gpu | | general 2D biharmonic | invert general bih 2D | invert general bih 2D gpu | Red-Black SOR kernels with a shared loop skeleton ( run sor 2d loop , run sor 3d loop ), adaptive convergence-check intervals, and an optional per-call thread-block shape via iParams['gpu block2d'] . GPU solves are bounded to one at a time ( gpus. GPU MAX CONCURRENT ) so dask can pipeline disk I/O against them, and CUDA context creation is done on the main thread. Measured on an RTX 3090: single timestep, 300 x 720: 17.3x (1.73 s GPU vs 29.99 s on one core) 12 timesteps, 300 x 720: ~1.6x over 12-core dask CPU (21.3 s vs 33.3 s) — at this size the solve is launch-bound, not execution-bound large grids, fixed 1000 iterations: up to 17.1x See the benchmark docs for the full sweep and the launch-overhead analysis. Module rename: numbas.py → cpus.py The CPU kernel module is now named for what it contains. xarray 's dask backend remains the multi-core path.

Link
https://zenodo.org/records/22851555
Found by
Zenodo
Authors
Qian, Yu-Kun
Categories
benchmark
Published
2026-09-20
Last seen by the radar
2026-09-20
Downloads
180
Views
724
Radar score
44.31 / 100 (how it is scored)
Why it scored so
Matched: benchmark; Recency discount: updated event ×0.5; Primary record: Zenodo
Related links
https://doi.org/10.5281/zenodo.22851555
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Zenodo