Distributed: Passing views of an array for read access to workers (using pmap)

Thank you, that does help. Using the DistributedArrays package (and the [:L] as you suggested), I could now make it run. There still seems to be a performance issue, but the bottle neck seems to be the number of allocations; I will mark this thread as solved (the distributed arrays did the trick) and open a new one with using (a) distributed arrays and (b) highlighting the memory allocation problem.

1 Like