[Numpy-discussion] Using multiprocessing (shared memory) with numpy array multiplication

Christopher Barker Chris.Barker@noaa....
Thu Jun 16 13:08:13 CDT 2011


Sturla Molden wrote:
> Den 16.06.2011 19:55, skrev Sturla Molden:
>> The meta-data for the ndarray (strides, shape, dtype, etc.) and the name
>> of the shared memory segment. As there is no fork, we must tell the
>> other process where to find the shared memory and what to do with it.

got it, thanks.

> Which by the way is what the shared memory arrays I and Gaël made will do,
> but we still have the annoying pickle overhead.

Do you have a pointer to that code? It sounds handy.

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker@noaa.gov


More information about the NumPy-Discussion mailing list