I am quite new in using MPI parallel process.
I am dealing with the following problem related to the MASTER/SLAVE approach.
I have a 2D-squared array of SIZE=500, and I need to break it into several blocks of dimension:
D < SIZE.
I should implement a Master/Slave MPI where each processor receives, and sends back to the master N blocks, where N depends on the number of processors involved and the dimension D of the subblocks.
I managed to solve the problem by dividing the original array in stripes, but I don't know how to deal with squares!