1 | Now we decompose our 16 points (trivial example) into four groups and put 4 points in each processor |
2 | Instead of dimensioning PHI(4) in each processor, one dimensions PHI(6) and runs loops from 2 to 5 with either boundary values or communication setting values of end-points |
3 | Sequential: |
4 | Parallel: |
5 | PHI(6) for Processor 1 |