MathGroup Archive 2001

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

Search the Archive

Re: Two CPU AMD PC and Mathematica


Orestis Vantzos wrote:

> The single most common Mathematica operation I use is Map (and variations of
> it, such as Table)...I don't see why it couldn't be made to run
> concurrently. Divide the elements of the list to be operated on and spread
> among available processors, or something like that. I figure there would be
> an impressive speed up of my programs, if this could be done...
> Orestis

Hi,

I have the parallel processing toolbox. It has a ParallelMap[ ] function which
does exactly what you want. If you use it, though, you'll find it probably more
computationally efficient to split the list to be mapped on into sublists, and
send those sublists to the processors. With N elements in a list and M
processors, if you use the ParallelMap[ ] function you get the comm overhead of
N calls, but if you split the list and send out sublists you get the comm
overhead of M calls.





  • Prev by Date: RotateShape
  • Next by Date: Re: .m file to C or Fortran source code
  • Previous by thread: RotateShape
  • Next by thread: Re: .m file to C or Fortran source code