Ask Your Question

Does SAGE support multithreading?

asked 2011-10-24 10:00:31 +0200

petRUShka gravatar image

updated 2011-10-24 10:01:26 +0200

I have a heavy SAGE program (with a lot of GAP parts) and I noticed that SAGE used only one core. And my other cores were staying without work.

Is there a some techniques to force all my cores to work?

May be there is some python library or (the best case!) some automation...

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2011-10-24 10:21:47 +0200

parzan gravatar image
edit flag offensive delete link more

answered 2011-10-24 10:05:29 +0200

Yes, python has threading. Make

import threading

and then dive into the doc of this module ;) There are many sources on the internet.

Hope that helps


edit flag offensive delete link more


Thanks! But does sage make multi thread code automatically? Does sage parallelize my code as much as it can?

petRUShka gravatar imagepetRUShka ( 2011-10-24 10:10:02 +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: 2011-10-24 10:00:31 +0200

Seen: 3,400 times

Last updated: Oct 24 '11