1 | Assume in "Grande" applications, critical case is arrays of primitive element. |
2 | Consider N x N arrays: |
3 | |
4 | float [] [] buf = new float [N] [N] ; |
5 | MPI.COMM_WORLD.send(buf, 0, N, MPI.OBJECT, |
6 | dst, tag) ; |
7 | |
8 | float [] [] buf = new float [N] [] ; |
9 | MPI.COMM_WORLD.recv(buf, 0, N, MPI.OBJECT, |
10 | src, tag) ; |
11 |