Alan Gauld, 09.10.2010 19:50:
Now, the bad news is that so far as I know the python interpreter
does not expose its threading model to the OS to even if you use
threads the interpreter itself will still be running on a single CPU
core. :-(
Python's threads are native system threads. They can ru
Thanks a lots. it's really helpful,, I am reading it
--
From: "Emile van Sebille"
Sent: Sunday, October 10, 2010 11:51 PM
To:
Subject: Re: [Tutor] OpenMP
On 10/9/2010 9:45 PM Ahmed AL-Masri said...
Thanks for fast responding
On 10/9/2010 9:45 PM Ahmed AL-Masri said...
Thanks for fast responding. I will try to use the threads and see how the
performance would be.. actually I am using that for my artificial neural
network and the problem is regarding to the ANN limitation when I used a
big
no of inputs. so one way to
Thanks for fast responding. I will try to use the threads and see how the
performance would be.. actually I am using that for my artificial neural
network and the problem is regarding to the ANN limitation when I used a
big
no of inputs. so one way to overcome this problem is by distributing and
Forwarding to the liist.
Please use Reply All on responses.
Alan Gauld
Author of the Learn To Program website
http://www.alan-g.me.uk/
- Original Message
> From: Ahmed AL-Masri
> To: Alan Gauld
> Sent: Saturday, 9 October, 2010 19:50:58
> Subject: Re: [Tutor] OpenMP
"Ahmed AL-Masri" wrote
say I have two loops and I want to test in which processer go
through...
my question is how to do that and is it possible in python
No, its not possible to do that explicitly and it shouldn't be. The OS
(and interpreter if applicable) is best placed to decide how the CP
On 10/9/2010 9:55 AM Ahmed AL-Masri said...
Hi,
I have searched about how to use openMP using python and I couldn't fine any
helpful info. anyone can help me on this.
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 wh
> Hi,
> 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/
Evert
>
> My idea is that to
Hi,
I have searched about how to use openMP using python and I couldn't fine any
helpful info. anyone can help me on this.
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