Scatter Matrix Blocks of Different Sizes using MPI
You have to go through at least one extra step in MPI to do this. The problem is that the most general of the gather/scatter routines, MPI_Scatterv and MPI_Gatherv, allow you to pass a “vector” (v) of counts/displacements, rather than just one count for Scatter and Gather, but the types are all assumed to be … Read more