Row corresponds to ranks, and columns corresponds to data.
Input:
Output:
96979899100101102103104105106
for (int i = 0; i < t.length; ++i) { final int rank = i; t[i] = new Thread(new Runnable() { public void run() { Communicator comm = coll.createCommunicator(rank); comm.scatter(send, recv[rank], 0); } }); t[i].start(); }