evert.rol at gmail.com
Sat Oct 9 19:07:49 CEST 2010
> I have searched about how to use openMP using python and I couldn't fine any helpful info. anyone can help me on this.
No openMP, but iPython could do what you want (parallel and some distributed computing): http://ipython.scipy.org/doc/stable/html/
> My idea is that to use the different processer core for each section.
> for ex.
> lets say I have two loops and I want to test in which processer go through.
> ## core one should handle this
> for I in range (100):
> s= 10*I
> a.append( s)
> ## core two should handle this
> for f in range (100):
> h= 10*f
> b.append( h)
> ## collecting the data in one data file
> data=[a, b]
> my question is how to do that and is it possible in python to go from line to line after give the order to core one to process than we go to next core for the second process..
> Really interesting to speed up the process based on no of CPUs that we have using python.
> Looking forward to seeing your suggestions,
> Best regards,
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
More information about the Tutor