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

Copy dustprop and dustproppred between MPI tasks when moving particles #209

Merged
merged 2 commits into from
Feb 3, 2022

Conversation

conradtchan
Copy link
Collaborator

Type of PR:
Bug fix

Description:
#206 fixed a bug introduced by ed59ad7 where a feature was incorrectly implemented for MPI causing an error for non-dustgrowth runs by removing the change to the ipartbufsize counter. This fixed non-dustgrowth runs, but not dustgrowth runs.

The symptom is incorrectly calculated dt due to graindens being zero because dustprop and dustproppred are not transported between MPI tasks. The fix is to communicate those variables using MPI

Testing:
The growth benchmark now runs to completion with MPI, whereas it previously did not. There is still no automated test for dustgrowth + MPI.

Did you run the bots? yes

@conradtchan conradtchan marked this pull request as ready for review February 3, 2022 05:28
@danieljprice danieljprice merged commit 4766afd into danieljprice:master Feb 3, 2022
@conradtchan conradtchan deleted the dustgrowth-mpi branch February 4, 2022 01:03
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.

2 participants