-
Notifications
You must be signed in to change notification settings - Fork 0
fix MPI cross-rank synaptic wiring #53
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
Codecov Report❌ Patch coverage is
... and 1 file with indirect coverage changes 🚀 New features to boost your workflow:
|
|
Thanks, @ilkilic, for locating and fixing the bug! Have you compared the results of the reports—spikes, soma, compartment—for single-core and multicore runs? The content comparison of the H5 files should confirm if the results are consistent. Please also compare the above reports for the same simulation config with the neurodamus reports. |
AurelienJaquier
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, looks good to me!
Yes, I compared spikes/soma/compartment reports for single-core vs multicore and the h5 contents are identical. I also compared against neurodamus and results are consistent, PSPs trigger in the same cells, though not 100% identical. |
darshanmandge
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PSPs trigger in the same cells, though not 100% identical.
Let's fix this soon in the next PR. Thanks.
This PR fixes missing PSPs in MPI runs. Previously, it only created real synaptic connections when the presynaptic neuron was instantiated on the same rank, so cross-rank presynaptic sources were silently left unconnected and produced no PSPs. The fix uses ParallelContext gid-based wiring across ranks and adds a global gid mapping to support multi-pop circuits.