PDA

View Full Version : Python on a multicore.



helstreak
July 22nd, 2009, 05:53 PM
Hi,

I've looked into the multiprocessing module found here:

http://docs.python.org/dev/library/multiprocessing.html

Can this be used to run a program on a multicore processor?

Let's say I have an array and I want to do something to each of the elements. Can I do some type of parallel processing with Python?

Thank you for your time :)

JK3mp
July 22nd, 2009, 06:09 PM
Perhaps the link below will help. I program in python often and the wiki is always useful for similiar questions.

http://wiki.python.org/moin/ParallelProcessing

EDIT: If i wasn't in a hurry i'd help ya more, if u need more help i'll look back later or PM me.

helstreak
July 23rd, 2009, 09:56 PM
Perhaps the link below will help. I program in python often and the wiki is always useful for similiar questions.

http://wiki.python.org/moin/ParallelProcessing

EDIT: If i wasn't in a hurry i'd help ya more, if u need more help i'll look back later or PM me.


Can you give me a little more info :)

I'd like to use my multicore processor at it's fullest hehehe