As the others have said, it won't work like that. I found a few options:

   1. DistributedArrays. Message passing handled in the background. Some 
   limitations, but I've not used much.
   2. SharedArrays on each machine. You can share memory between all the 
   pids on a single machine, and then pass messages between one process from 
   each machine to updated.
   3. Regular Arrays on each machine. Swap messages between all processes.
   
Which one works for you will depend on how big your arrays are and the 
access patterns of the code you're trying to run on them.



Reply via email to