On Jun 21, 2010, at 11:52 PM, Ondrej Certik wrote: > On Mon, Jun 21, 2010 at 10:26 PM, william ratcliff > <[email protected]> wrote: >> Has anyone had any thoughts or seen what other CAS do to take advantage of >> multiple cores? For example, if one is collecting terms, one could imagine >> farming out subexpressions to search to each core. > > Very good idea! > > Or when one is expanding things like (x+1)**10 * (y+3)**20, or series > expansion of things like 1/(sin(x)*cos(x)), those could be easily (?) > done in parallel. Once we are done with refactoring assumptions + > cache, we'll try to put in our cython core and that will allow us to > experiment with things like these. > > Ondrej
Does cython make it easy to do threading? The polys core already has some cython support, though I have never gotten around to figuring out how to use it. Right now, I am think of how I could make the integration algorithms I am currently implementing multi-core enabled. I think it would require very meticulously going through the code and marking sequential expensive function calls that do not depend on each other. It would not be trivial, but doable, if there were an easy interface for it. Now whether that interface exists in Python is another question. Aaron Meurer -- 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.
