Cubie documentation

cubie provides GPU-accelerated tools for integrating large batches of initial value problems. The source code is available on Github. If you’re just getting started, check out Getting Started and the rest of the User Manual. If you need specific details about a function or class, the Reference Manual is the place to go.

Features

  • GPU-Accelerated forward simulation of non-stiff and stiff systems of ODEs

  • Explicit, implicit, and semi-implicit Runge-Kutta methods

  • Rosenbrock-W methods

  • Adaptive time-stepping

  • Interpolation of arbitrary time-domain inputs (forcing terms)

  • Internal derivation of Jacobians using algorithmic symbolic differentiation with explicit chain-rule accumulation.

  • Internal codegen of jacobian product evaluation and time-derivative functions.

Requirements

  • Python >= 3.11

  • NumPy >= 2.0

  • cubie-numba-cuda-mlir

  • attrs

  • SymPy >= 1.13.0

  • lxml, networkx, Pint >= 0.24 and rdflib, for CellML import

pip installs all of these with cubie.

Optional Dependencies

  • Pandas: For DataFrame output support

  • Matplotlib: For plotting support. Only used to plot an interpolated driver function for sanity-checks (see Drivers), but generally useful for visualizing results.

  • qtpy with a Qt binding: For the CellML variable editor (show_gui).

GPU Requirements

cubie requires an NVIDIA GPU with compute capability 6.0 or higher and an up-to-date NVIDIA driver.