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

Enable passing a multiprocessing/parallel pool when computing SCF coefficients #364

Merged
merged 4 commits into from
Mar 2, 2024

Conversation

adrn
Copy link
Owner

@adrn adrn commented Mar 2, 2024

Describe your changes

This adds a keyword argument to the compute_coeffs_discrete() function to allow specifying a parallel processing pool when computing the coefficients for a particle collection. This parallelizes over (n,l,m), so it is faster when the number of particles is large and nmax, lmax is large.

Checklist

  • Did you add tests?
  • Did you add documentation for your changes?
  • Did you reference any relevant issues?
  • Did you add a changelog entry? (see CHANGES.rst)
  • Are the CI tests passing?
  • Is the milestone set?

@adrn adrn added this to the v1.9 milestone Mar 2, 2024
@adrn
Copy link
Owner Author

adrn commented Mar 2, 2024

cc @jngaravitoc !

@adrn adrn merged commit 6a95129 into main Mar 2, 2024
19 checks passed
@adrn adrn deleted the parallel-scf branch March 2, 2024 14:26
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.

1 participant