updated to print the recvmatrix afterwards.... duh
git-svn-id: svn://anubis/gvsu@256 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
1 parent
21cfbd35a4
commit
5666b02e76
1 file changed
+1
-1
@@ -145,7 +145,7 @@ int main(int argc, char * argv[])
|
||||
if (my_rank == i)
|
||||
{
|
||||
cout << "Process " << i << " matrix:" << endl;
|
||||
printMatrix(&matrix[0][0], n, n);
|
||||
printMatrix(&recvmatrix[0][0], n, n);
|
||||
cout << endl;
|
||||
}
|
||||
MPI_Barrier(MPI_COMM_WORLD); /* for printing coherently */
|
||||
|
||||
Reference in new issue
Block a user