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

Progress bar stopping with parallel #78

Open
AlexandreDiPiazza opened this issue Jan 29, 2023 · 6 comments
Open

Progress bar stopping with parallel #78

AlexandreDiPiazza opened this issue Jan 29, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@AlexandreDiPiazza
Copy link

Hello,
I have multiple cores, but when choosing parallel = 4 or parallel = 4 to compute the skeletons, the progress bar stopped at some point. It only goes to the end when using parallel = 1.

@william-silversmith william-silversmith added the bug Something isn't working label Jan 29, 2023
@william-silversmith
Copy link
Contributor

william-silversmith commented Jan 29, 2023

Hi Alexandre,

If you can do me a favor, I've pushed a branch wms_spawn_mp which switches the default process spawning method from fork to "spawn". Give that a try and let me know if that fixes things. Sometimes "fork" can deadlock on shared resources.

Can you also let me know your OS and Python version?

Will

@AlexandreDiPiazza
Copy link
Author

Hi,
Thank you for your answer and you help.
It seems to have worked on some trials, but now running on the full dataset it still stops at some points.

I am on Ubuntu and python 3.8

@AlexandreDiPiazza
Copy link
Author

Update:

I did work on some trials. Sometimes it still stops, but sometimes it does go until the end.

@william-silversmith
Copy link
Contributor

william-silversmith commented Feb 2, 2023 via email

@AlexandreDiPiazza
Copy link
Author

Hi,

Don't worry, thank you for your help. It worked some times and it was enough to provide me the results I wanted. Thanks for your work!

@william-silversmith
Copy link
Contributor

william-silversmith commented Feb 2, 2023 via email

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

2 participants