added root parameter to MPI_Gatherv()
git-svn-id: svn://anubis/gvsu@246 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
parent
43a5b30712
commit
cdcad5abb5
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user