[julia-users] Re: Using pmap in julia

2016-06-08 Thread Martha White
100 to pmap. However, I know that pmap currently re-copies all variables that are passed to it. Is there a way to stop pmap from re-allocating memory, and instead just use pre-allocated memory? Or, any parallel functionality that allows this? On Thursday, June 2, 2016 at 10:37:15 AM UTC-4, Martha Wh

[julia-users] Re: Using pmap in julia

2016-06-02 Thread Martha White
I was printing information from each worker, and seeing the worker number increase. But, when I actually check nworkers, the number stays at 3. So, I was incorrect about the number of workers increasing. Rather, because I am adding and removing workers in the outer loop, the worker id is

Re: [julia-users] Using pmap in julia

2016-06-01 Thread Martha White
Thank you for the prompt reply! No, I am not using either open or mmap. On Wednesday, June 1, 2016 at 12:20:19 PM UTC-4, Stefan Karpinski wrote: > > Are you opening files via open or mmap in any of the functions > that learningExperimentRun calls? > > On Wed, Jun 1, 2016 at 1

[julia-users] Using pmap in julia

2016-06-01 Thread Martha White
I am having difficulty understanding how to use pmap in Julia. I am a reasonably experienced matlab and c programmer. However, I am new to Julia and to using parallel functions. I am running an experiment with nested for loops, benchmarking different algorithms. In the inner loop, I am