Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parallel gmres #847

Open
rveltz opened this issue Dec 15, 2023 · 1 comment
Open

parallel gmres #847

rveltz opened this issue Dec 15, 2023 · 1 comment

Comments

@rveltz
Copy link

rveltz commented Dec 15, 2023

Hi,

I want to solve a system in which the evaluation A*x is slow. Hence, I am wondering if there are methods to compute a block (here 2) Av1, Av2 in parallel and use it in the Krylov basis.

Thanks!

@amontoison
Copy link
Member

amontoison commented Dec 15, 2023

Hi @rveltz!
You have the block-GMRES method that do matrix-matrix products instead of matrix-vector products but it's for linear systems with multiple right-hand sides (AX = B).

If you have one right-hand side b, you can still split it in two parts such that b1 + b2 = b and use block-GMRES to solve AX = [b1 b2].
The sum of the two columns of X will give you the solution of Ax = b.
It requires more flops but you have more parallel operations.
It could lead to a nice speed-up on GPU.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants