I have a large sparse matrix that can only fit on multiple nodes of a cluster. I would like to solve a system of equations by calling something like
import scipy.sparse.linalg as splinalg
A = my_sparse_matrix # a sparse dask array defined across four nodes
b = my_vector # an initial vector
M = my_sparse_preconditioner # a preconditioner to help improve convergence of algorithm
x = splinalg.bicgstab(A, b, M=M)
Is there a way to do this so that
- It will solve for x in parallel if I am only using one node?
- Will it work if I am using more than one node (4 nodes for example)?
If not, is this something that the Dask community is working on?