lattice / quda

QUDA is a library for performing calculations in lattice QCD on GPUs.
https://lattice.github.io/quda
Other
289 stars 97 forks source link

Implement flexible preconditioned CG #510

Open maddyscientist opened 7 years ago

maddyscientist commented 7 years ago

This is likely an important solver for multigrid on staggered and domain wall.

alexstrel commented 7 years ago

https://github.com/lattice/quda/commit/1f29e74868ae777901ea863377756fa9db9f4b0f but I found that this commit was overwritten after recent commits in staggered-multigrid, strange.

maddyscientist commented 7 years ago

Well that's your branch @alexstrel , so I guess you did it 😜

So this means we have this algorithm in QUDA then? It seems that there a lot of useful things being implemented in the staggered MG branch that would be useful in the develop branch (arpack, flex CG, etc.).

alexstrel commented 7 years ago

I need to restore it, it strangely disappeared from recent commits... (I redesigned arpack as well, but want to add primme library)

maddyscientist commented 7 years ago

Can you just add flex CG to a branch from develop then? That way we will get flex CG faster into develop (like you've been working on with the arpack branch). I think we need to try and keep the pull requests simple where possible (I fear otherwise the eventual staggered multigrid merge will be gigantic - like the original feature/multigrid one was 😄 ). Thx

alexstrel commented 7 years ago

agree

alexstrel commented 7 years ago

it looks like staggered-multigrid is now asymptotically decaying to provide develop with some extra stuff.