updated to print the recvmatrix afterwards.... duh

git-svn-id: svn://anubis/gvsu@256 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
josh 2008-11-23 16:08:47 +00:00
parent 21cfbd35a4
commit 5666b02e76

View File

@ -145,7 +145,7 @@ int main(int argc, char * argv[])
if (my_rank == i) if (my_rank == i)
{ {
cout << "Process " << i << " matrix:" << endl; cout << "Process " << i << " matrix:" << endl;
printMatrix(&matrix[0][0], n, n); printMatrix(&recvmatrix[0][0], n, n);
cout << endl; cout << endl;
} }
MPI_Barrier(MPI_COMM_WORLD); /* for printing coherently */ MPI_Barrier(MPI_COMM_WORLD); /* for printing coherently */