Sage is not using Multi Core CPU Resources!

419 views
Skip to first unread message

Saj

unread,
Jun 14, 2009, 2:04:16 AM6/14/09
to sage-support
Dear sir,

I am using sage-math in Xeon Workstation. Interestingly, its not using
all the CPU resources. one CPU is 100%. Rest of them are sitting idle.
My question is

- Is it possible to build sage with muti-Threading to support multi
cpu architecture.

Please help me out!

Thanks & Regards,
Saj

William Stein

unread,
Jun 14, 2009, 3:06:42 AM6/14/09
to sage-s...@googlegroups.com
On Sun, Jun 14, 2009 at 8:04 AM, Saj<amma...@gmail.com> wrote:
>
> Dear sir,
>
> I am using sage-math in Xeon Workstation. Interestingly, its not using
> all the CPU resources. one CPU is 100%. Rest of them are sitting idle.
> My question is
>
>  - Is it possible to build sage with muti-Threading to support multi
> cpu architecture.

There are a very small number of specific commands that do use
multiple threads. E.g.,

sage: time k =bernoulli(100000, algorithm='bernmm')

It's possible to build the numerical linear algebra library (ATLAS) to
use multiple cores, but this is not supported in Sage at present,
except on OS X where it is done by default by OS X.

Otherwise, if you want to use the multicore/multiprocess power of your
"Xeon Workstation" to its maximum potential, you should run multiple
separate versions of Sage at the same time.

> Please help me out!
>
> Thanks & Regards,
> Saj
> >
>



--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

ulfarsson

unread,
Jun 14, 2009, 9:20:59 AM6/14/09
to sage-support
Hi,

will Grand Central on Mac OS X Snow Leopard make using
multiple cores/processors easier?

Best,
Henning Ulfarsson
Postdoctoral Researcher
University of Reykjavik, Combinatorics Group

On Jun 14, 7:06 am, William Stein <wst...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages