ezp
|
ezp
is a lightweight C++ wrapper for selected ScaLAPACK solvers for linear systems.
The ezp
library requires C++ 20 compatible compiler. The following drivers are needed.
LAPACK
and BLAS
, such as OpenBLAS
, MKL
, etc.ScaLAPACK
MPI
, such as OpenMPI
, MPICH
, etc.It is assumed that the root node (rank 0) prepares the left hand side $$A$$ and right hand side $$B$$. The solvers distrbute the matrices to available processes and solve the system, return the solution back to the master node.
The solvers are designed in such a way that all BLACS
and ScaLAPACK
details are hidden. One shall prepare the matrices (on the root node) and call the solver. The following is a typical example. It highly resembles the sequential version of how one would typically solve a linear system.
The following is a working example.