So Ondrej and I were able to get this working.  We now just need to  
hook it into the regular testing.  If any one wants to give this a  
shot, the branch to pull from is http://github.com/certik/sympy/tree/par2 
  .  See t.py

Aaron Meurer
On Jul 16, 2009, at 5:58 PM, Ondrej Certik wrote:

>
> On Thu, Jul 16, 2009 at 5:54 PM, Aaron S. Meurer<[email protected]>  
> wrote:
>>
>> I reran the tests with 8 threads on my machine and watched it in the
>> built in GUI process manager on the Mac (Activity Monitor), and I see
>> what you mean.  The load is distributed evenly until near the end,
>> when the processes drop one by one and only one is left.  I don't
>> think it matters how many cores you have to get this working, because
>> the operating system will distribute the threads evenly anyway  
>> (though
>> the cores to matter for speed).
>>
>> It looks like there are two classes for use in IPython, the
>> MultiEngine Client [0] and the Task Client [1].  The MultiEngine
>> Client, which is what you are currently using, allows you to manage
>> each engine, but requires you to do your own load balancing.  The  
>> Task
>> Client doesn't give you as much control, but does automatic load
>> balancing.  I will attempt to convert your file to the Task Client  
>> and
>> see if that is any better.
>>
>> [0] - 
>> http://ipython.scipy.org/doc/stable/html/parallel/parallel_multiengine.html
>> [1] - http://ipython.scipy.org/doc/stable/html/parallel/parallel_task.html
>
> Many thanks. Please report how it goes. If we get stuck, we can ask
> Brian, he was very helpful with my first attempt.
>
>
> Ondrej
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to