IterativeSolvers.jl icon indicating copy to clipboard operation
IterativeSolvers.jl copied to clipboard

compatibility with MPI

Open nbren12 opened this issue 9 years ago • 1 comments

Hey, I just wanted to ask about the feasibility of using this library as a replacement for a large-scale parallel solver like PETSc or hypre. Looking at the code for cg.jl it seems like all that is required would be to 1) implement a KrylovSubspace type with a nextvec method, and 2) implement a parallel version of dot. Has anyone used this library with MPI.jl or DistributedArrays.jl?

nbren12 avatar Dec 22 '16 00:12 nbren12

This should probably go on https://discourse.julialang.org/ instead of the issue tracker but it should be possible to do something along the lines of what you describe. See this example https://github.com/JuliaParallel/Elemental.jl#truncated-svd for an approach to this for a procedure very similar to the procedures in this package.

andreasnoack avatar Dec 22 '16 01:12 andreasnoack