Repository navigation
Add multithreading via OpenMP to Linac RF gaps, 3D FFT SC, Twiss calculation and Teapot transforms - #148
Open
danielnoll wants to merge 3 commits into
Open
Add multithreading via OpenMP to Linac RF gaps, 3D FFT SC, Twiss calculation and Teapot transforms#148danielnoll wants to merge 3 commits into
danielnoll wants to merge 3 commits into
Conversation
…e 3D FFT SC solver (including using threaded FFTW), BaseAperture and the twiss calculations
Contributor
|
Hi @danielnoll, thanks for tackling this. Would you happen to have any performance benchmarks for your additions? |
woodtp
self-requested a review
October 1, 2026 10:13
Contributor
Author
|
Hi @woodtp, I did a test with our Linac model (European Spallation Source) on a Macbook Pro with an Apple M2 Pro (6 performance cores). The runtime of the model is dominated by the 3d FFT SC (64^3 mesh, 1M particles), which for the FFT is not parallel when running with MPI, and so the usage of the parallel FFTW library improves speed considerably. Without SC, things look like this (1M particles). My guess at the reason behind the slightly worse scaling of the OpenMP version is that apertures/particle loss is not running in parallel, but I haven't looked into that further. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




No description provided.