Python interface for the IDAKLU solver for block algebraic multigrid methods. Current version 0.8.1, requires Python >=3.10,<3.15. Development is active with occasional releases.
pip install pybammsolversVerified import paths — ran on the pinned version, not inferred.
Solves a sparse linear system A x = b using the IDAKLU solver.
Convert to scipy.sparse.csr_matrix before passing to idaklu.
Ensure the matrix is symmetric positive definite or at least positive real.
Review call signature: idaklu(A, b, reorder=1) works for basic usage.
Use 'from pybammsolvers import idaklu' instead of 'import idaklu'.
Call idaklu(A, b) with the matrix first, right-hand side second.