Dict can be slow. Try

  d_cl = Array{Array,1}
  for i=1:np
    d_cl[i] = copy(inv_cl)
  end

I can't say if that leads to good threads  since nthreads() gives me only 1 
today.

Reply via email to