Parallel Python

Nick Maclaren nmm1 at cus.cam.ac.uk
Wed Jan 10 13:34:27 EST 2007


In article <7x8xga215f.fsf at ruckus.brouhaha.com>,
Paul Rubin <http://phr.cx@NOSPAM.invalid> writes:
|>
|> > Yes, I know that it is a bit Irish for the best way to use a shared
|> > memory system to be to not share memory, but that's how it is.
|> 
|> But I thought serious MPI implementations use shared memory if they
|> can.  That's the beauty of it, you can run your application on SMP
|> processors getting the benefit of shared memory, or split it across
|> multiple machines using ethernet or infiniband or whatever, without
|> having to change the app code.

They use it for the communication, but don't expose it to the
programmer.  It is therefore easy to put the processes on different
CPUs, and get the memory consistency right.


Regards,
Nick Maclaren.



More information about the Python-list mailing list