-
Notifications
You must be signed in to change notification settings - Fork 175
BUG: fix reuse of matfree adjoint Interpolator #4623
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
Conversation
df3e169 to
ed3f5b9
Compare
ed3f5b9 to
462f355
Compare
|
Is there any chance this could be two PRs? It's hard to understand the parallel bits when mixed into the other changes. Also note that the halo freezing stuff is done automatically in pyop3, so maybe you don't have to worry about optimising that here. |
d8d6687 to
19fa12e
Compare
I'm having a hard time with git. The parloop removal is the only other thing that's not adressing the bug, should be easy to ignore from the rest of the PR. |
347184c to
7d4b07a
Compare
7d4b07a to
f7dbe9b
Compare
800bf4c to
21c9173
Compare
948c50e to
1a35688
Compare
Co-authored-by: Connor Ward <[email protected]>
Description
Fixes a parallel bug when reusing a matfree adjoint
Interpolator. Summation withaccess=INCskipped the halo exchange after the first call toInterpolator.assemble(). On subsequent calls the summation only happened locally within each process, but not across processes.This bug did not affect
assemble(interpolate(...))because the Interpolator there is never reused.