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

Cannot launch two different computations one after the other #9

Open
GVigne opened this issue Sep 12, 2022 · 0 comments
Open

Cannot launch two different computations one after the other #9

GVigne opened this issue Sep 12, 2022 · 0 comments

Comments

@GVigne
Copy link
Owner

GVigne commented Sep 12, 2022

How to reproduce:

  • Launch a computation (any will do)
  • When the previous computation is over, launch the other type of computation (MCMC if the first computation was the Direct Model, Direct Model if the first computation was MCMC): Molonaviz crashes

My guess is that this happens because of the interaction between pyheatmy and QT threads. It seems that pyheatmy thinks wrong computations have been done because some of its objects live on the main QT threads (the ones checking what has been computed and what hasn't), whereas the real computations are done in a secondary thread.

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

No branches or pull requests

1 participant