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

Hang when program finishes if running parallelised #145

Open
johnomotani opened this issue Jan 10, 2023 · 0 comments
Open

Hang when program finishes if running parallelised #145

johnomotani opened this issue Jan 10, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@johnomotani
Copy link
Collaborator

johnomotani commented Jan 10, 2023

When parallel execution is enabled, hypnotoad often (always?) hangs when the program finishes, and needs to be terminated with ^C.

It seems there must be somehow a circular reference somewhere, maybe between Mesh and its ParallelMap member variable?

Edit: Actually the __del__() methods do (at least sometimes) get called after a keyboard interrupt. Maybe that suggests the hang is somewhere else? Unless the interrupt somehow breaks some circular reference chain and lets the garbage collection gets started??

Note: this 'hang' happens after grid generation is finished and the grid file is closed, so it should not cause any errors.

@johnomotani johnomotani added the bug Something isn't working label Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant