On Jul 18, 2009, at 11:26 PM, Ondrej Certik wrote:

>
> On Sat, Jul 18, 2009 at 10:59 PM, Aaron S.  
> Meurer<[email protected]> wrote:
>>
>> Great.  I guess the first thing would be to merge in the parallel
>> testing.  Do you think that what we hacked up works well enough, or
>> does it need more refining?  Otherwise, we should add it as an  
>> option,
>> as in ./bin/test --parallel or ./setup.py test --parallel.
>
> Yes, we should do that. I think it's good enough, we just need to hook
> it in, e.g. write some better error reporting --- e.g. wait until
> stuff is done (I don't know if there is any way to report progress)
> and then maybe use our current reporting output.
The parallel function seems to ignore any print statements, print  
function, or even sys.stdout.write statements in it.  My guess is that  
it "prints" to its respective python thread, instead of the common  
python thread that runs in the terminal.  I don't know if the IPython  
framework has any options to pull in stdout from the various threads  
into the main thread, or if there is a way to do this manually with  
sys or something.  I am not as knowledgeable about this stuff, though,  
so I can't say for sure.

Unless we can figure out how to do that, you will have to sacrifice  
not being able to see test results in real time for the faster speeds  
of parallel.

Also, I am assuming it is possible to run ipcluster automatically  
whenever you execute the test file so you don't have to start it up  
manually.

Aaron Meurer
>
>>
>> Also, do you think it is worth it to run doctests in parallel?  Some
>> of them (mostly integrals) are slow.  Do ./bin/doctest -v to see what
>> I mean.
>
> Yes, I think it is worthy. But first I would get the regular testing  
> done.
>
> 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