Re: [julia-users] Result shape not specified when using @parallel

2015-03-27 Thread Archibald Pontier
Thank you for your answer! I'm implementing all the changes you suggested (using SharedArrays, pre-inverting Sigma...) for the next version of my programs, thank you very much for that. To answer your question, I'm using Julia 3.6 and Images 0.4.33. Archibald On Thursday, 26 March 2015 11:35:2

Re: [julia-users] Result shape not specified when using @parallel

2015-03-26 Thread Tim Holy
Works for me. What versions of julia & Images are you running? But wow is it slow. A comprehension in a single process is considerably faster, presumably because of the use of vcat. I think you'll be far happier if you either run single-threaded or preallocate a SharedArray for the output. Your

[julia-users] Result shape not specified when using @parallel

2015-03-25 Thread Archibald Pontier
Hi everyone, I recently started using Julia for my projects and I'm currently quite stuck by how to parallelize things. I've got the two following functions: @everywhere pixel(p) = [p.r, p.g, p.b]; which takes a RGB pixel (as defined in the Images module) and converts it into a vector of its