Loading [MathJax]/jax/output/HTML-CSS/jax.js

Sorry, this content is no longer available

Ask Your Question
1

Multiprocess hangs

asked 4 years ago

ZeJibe gravatar image

updated 2 years ago

FrédéricC gravatar image

I am using SageMath 9.0 on Windows 10 (in admin mode) and following this example.

Everything runs fine until In [43] where the progress bar appears but stops 1/4 through and hangs. I can see some Python processes running in the background (via the Task Manager) and the CPU and memory usage reaches 80% continuously. If left for an hour, nothing happens until I kill all processes and restart.

Anyone has encountered the same issue and has a fix?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 4 years ago

eric_g gravatar image

I've just run successfully the notebook on Ubuntu 18.04 (with SageMath 9.1.rc2). Maybe the issue you are facing is specific to multiprocessing with WIndows (I don't have any Windows computer to test it).

Preview: (hide)
link

Comments

Is there a way to fix the notebook to avoid the usage of multiprocessing?

Sébastien gravatar imageSébastien ( 4 years ago )

There is a fix in the notebook to avoid multiprocessing but that one does not work either (at least not out of the box). I tried running SageMath on my MacBook and it fails as well on the parallelisation, albeit slightly differently. I managed to get it to work by installing Ubuntu 18.04 (needs some fixes to get Firefox to draw graphs, etc.).

ZeJibe gravatar imageZeJibe ( 4 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 4 years ago

Seen: 1,034 times

Last updated: Apr 30 '20