[SciPy-User] Parallel code

Jose Gomez-Dans jgomezdans at gmail.com
Mon Nov 30 07:05:57 EST 2009


Hi!
I want to run some code in parallel, and I have toyed with the idea of
either using the multiprocessing module, or using ipython (which is quite
easy to use). The main idea is to run a number of class methods in parallel
(unsurprisingly!), fed with some arguments. However, these methods will need
(read-)access to a rather large numpy array. Ideally (and since this is
running on a SMP box), this could be a chunk of shared memory. I am aware of
Sturla Molden's suggestion of using ctypes, but I guess that I was wondering
whether some magic simple stuff is available off the shelf for this shared
memory business?

Thanks!
J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20091130/38449a81/attachment.html>


More information about the SciPy-User mailing list