Installation#
femorph-solver requires Python 3.10 or newer.
pip install femorph-solver
uv pip install femorph-solver
Optional extras#
The core install ships with NumPy / SciPy / pyvista only — enough for the SuperLU direct-solve fallback and all in-process modal / static / transient analyses. For the fastest SPD paths and for MAPDL deck interop, install one or more extras:
Extra |
Install as |
What it adds |
|---|---|---|
|
|
CDB / RST reader ( |
|
|
SuiteSparse CHOLMOD Cholesky — fastest SPD direct solve for
sparse problems. Requires |
|
|
Intel MKL PARDISO — multi-threaded SPD direct solve. |
|
|
SuiteSparse UMFPACK — sparse LU for non-symmetric systems. |
|
|
Algebraic multigrid preconditioner. |
|
|
PRIMME block-Davidson eigensolver. |
|
|
Convenience: everything except the per-backend quirks. |
Every optional backend is detected at call time via
femorph_solver.solvers.linear.list_linear_solvers() and
femorph_solver.solvers.eigen.list_eigen_solvers() — if an extra
isn’t installed, the corresponding name drops out of the registry and
linear_solver="auto" falls through to the next best option.