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

Improve passing of simulation results from mpi_child.py to MPIBackend #192

Closed
blakecaldwell opened this issue Oct 6, 2020 · 0 comments · Fixed by #194
Closed

Improve passing of simulation results from mpi_child.py to MPIBackend #192

blakecaldwell opened this issue Oct 6, 2020 · 0 comments · Fixed by #194
Assignees
Labels
bug Something isn't working parallelization This doesn't seem right

Comments

@blakecaldwell
Copy link
Member

Since mpi_child.py is a separate process, the ways to send data back and forth are limited. Right now, data is being packed into stderr, but complications can arise when MPI outputs an error in the middle of data generation that also goes to stderr.

Fix this with a defined protocol for sending both data and error messages between processes. Using file descriptor pipes may not be the best way.

Found from PR #190

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working parallelization This doesn't seem right
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants