i'm sorry, yes i did!
On Wednesday, March 5, 2014 2:49:11 PM UTC-5, Jake Bolewski wrote: > > Is j = 1000000 a typo (did you mean 1:1000000)? > > > On Wednesday, March 5, 2014 2:41:51 PM UTC-5, Jason Solack wrote: >> >> i'm trying to check out how Julia handles parallel for loops and i'm >> getting some errors >> >> i'm not sure if it's because i'm working with a single array and i can't >> append to this in parallel, so i thought i'd ask >> >> nprocs() >> addprocs(6) >> >> tic() >> onPass = 1 >> a = Array(Int64, 0) >> @parallel for i = 1:100000, j=10000 >> a = [a, i*j] >> onPass = onPass + 1 >> if onPass % 10000 == 0 >> println("on pass ", onPass) >> end >> end >> toc() >> >> is this not possible in parallel? >> >> Thank you again for all your answers! >> >> jason >> >