MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Multicore Calculations

  • To: mathgroup at
  • Subject: [mg60809] Re: [mg60769] Multicore Calculations
  • From: Jeff Bryant <jeffb at>
  • Date: Thu, 29 Sep 2005 05:41:25 -0400 (EDT)
  • References: <>
  • Sender: owner-wri-mathgroup at

   The results you get depend on a couple of factors.  I'll provide a 
couple comments and perhaps other, more qualified people can respond 
directly if necessary for additional details.

What platform (CPU and OS) are you running on? That will determine if
a) we support multiple processors/cores
b) if top shows threads independently  of their parent process.

Also, vector-vector (BLAS level 1) and matrix-vector operations (BLAS 
level 2) don't parallelize terribly well, so there will be little 
benefit to multiple processors for those types of operations, anyway.


Manuel Schmidt wrote:

> Hi all,
> i'm wondering, how one can convince the MathKernel to do a numerical
> linear algebra calculation on two processors at the same time in 5.2.
> Am I right, that this should be computed on two processors (if
> available):
> vec1 = Table[Random[], {i, 5000000}];
> vec2 = Table[Random[], {i, 5000000}];
> While[True,Dot[vec1, vec2]]
> or a big matrix and a vector
> matrix.vector;
> Anyways, I see in top only one kernel running. There is only one thread.
> Are there different binaries for the multicore and the singlecore
> version?
> Thanks,
> Manuel

  • Prev by Date: A programming puzzle.
  • Next by Date: Re: Struggling with LaTeX output from Publicon
  • Previous by thread: Multicore Calculations
  • Next by thread: Re: Re: Multicore Calculations