-
Notifications
You must be signed in to change notification settings - Fork 51
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
Worlds and Universes: MPI_FINALIZE #142
Comments
Another solution would be to have some unit struct type |
MPI doesn't have a concept of a universe as an object, and even the size ( |
Yea I’ll submit one later this week. I have a busy schedule these next three days. |
Cool. There's also relevant discussion in #32. |
Are there any updates on this? |
The
Universe
type callsMPI_FINALIZE()
upon being dropped, but it is possible to hold auniverse.world()
after dropping aUniverse
and the internode communications methods are impl'd on the world. This is a problem.I recently wrote a program that dropped a universe (unintentionally) and then tried to used the world but ran into issues since
MPI_FINALIZE
had been called. I wonder if it is possible to enforce that auniverse
outliveworld
through the lifetime system by, for example, requiring thatworld
hold some reference to a dummy field on auniverse
.The text was updated successfully, but these errors were encountered: