Skip to content

Extending DistributedField and DistributedFFTBasedPoissonSolver functionality to allow for distributed FFT preconditioner for ConjugateGradientPoissonSolver #4555

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

Open
wants to merge 60 commits into
base: main
Choose a base branch
from

Conversation

xkykai
Copy link
Collaborator

@xkykai xkykai commented May 27, 2025

With @simone-silvestri , this PR extends and fixes current functionality for DistributedField and DistributedFFTBasedPoissonSolver to allow ConjugateGradientPoissonSolver to be run in distributed settings with the DistributedFFTBasedPoissonSolver as a preconditioner.

Here are the changes we want to incorporate in this PR:

  1. Distributed norm, mean, and dot
  2. precondition! for DistributedFFTBasedPoissonSolver
  3. Extend DistributedFFTBasedPoissonSolver to allow for the solving of the screened Poisson equation, consistent with FFTBasedPoissonSolver

xkykai and others added 30 commits March 25, 2025 16:56
@xkykai xkykai marked this pull request as ready for review July 1, 2025 18:27
@xkykai
Copy link
Collaborator Author

xkykai commented Jul 1, 2025

I've now tested the validation scripts in distributed CPU and GPU settings and they are working. Should we write tests for distributed fields for norm, dot, mean, as well as ensuring that a distributed FFT-preconditioned CG solver works in one of the tests? Happy to work on them.

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

Successfully merging this pull request may close these issues.

3 participants