Ask Your Question

Multiprocess hangs

asked 2020-04-29 12:29:09 +0200

ZeJibe gravatar image

updated 2022-08-30 11:40:44 +0200

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?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2020-04-30 10:00:00 +0200

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).

edit flag offensive delete link more


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

Sébastien gravatar imageSébastien ( 2020-05-01 14:05:23 +0200 )edit

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 ( 2020-05-03 19:20:24 +0200 )edit

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


Asked: 2020-04-29 12:29:09 +0200

Seen: 721 times

Last updated: Apr 30 '20