diff --git a/cs677/hw4/src/transpose.cc b/cs677/hw4/src/transpose.cc index f991287..2836c50 100644 --- a/cs677/hw4/src/transpose.cc +++ b/cs677/hw4/src/transpose.cc @@ -97,7 +97,7 @@ int main(int argc, char * argv[]) } MPI_Gatherv(&col_i_vals_for_proc_p[0], my_num_rows, MPI_INT, &recvbuf[0], &counts[0], &displs[0], - MPI_INT, MPI_COMM_WORLD); + MPI_INT, i, MPI_COMM_WORLD); } /* Put my received entries into my columns of the matrix */