On Thu, Jul 16, 2009 at 5:54 PM, Aaron S. Meurer<asmeu...@gmail.com> 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 sympy@googlegroups.com To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---