Despite many attempts, I can't to deploy a simple parallelization and ask for help on a specific the example. Array WS can be broken down into clones, and at the finish may then add them, but WS is great and it would be better without cloning it.
D=readcsv("D.txt"); k,l=size(D) 100000,10000 WS=zeros(l,l); Dt=int(D.>0); for i=1:k; kosz=findin(Dt[i,:],1); for o in kosz,p in kosz; para=[o,p]; #println(para); WS[para[1],para[2]]+=1; println(i); end; end; Paul