Classic HPC Development using Visual C++

Thus, when we allocate the memory for process 2’s chunk, we include room for the 2 ghost rows; likewise for allocation of the matching temporary matrix. For example, if process 2 was responsible for 2 rows and 6 columns of data, its chunk would be 4x6 in size (as shown to the left), with the data starting in row 1. 10. ................
................