updated to print the recvmatrix afterwards.... duh
git-svn-id: svn://anubis/gvsu@256 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
parent
21cfbd35a4
commit
5666b02e76
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user