updated
git-svn-id: svn://anubis/gvsu@255 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
1 parent
379c744d3a
commit
21cfbd35a4
1 file changed
+7
-2
@@ -2,6 +2,7 @@
|
||||
#include <iostream>
|
||||
#include <sys/time.h>
|
||||
#include <mpi.h>
|
||||
#include <unistd.h> /* usleep() */
|
||||
using namespace std;
|
||||
|
||||
/*
|
||||
@@ -101,7 +102,9 @@ int main(int argc, char * argv[])
|
||||
printMatrix(&matrix[0][0], n, n);
|
||||
cout << endl;
|
||||
}
|
||||
MPI_Barrier(MPI_COMM_WORLD); /* for printint coherently */
|
||||
MPI_Barrier(MPI_COMM_WORLD); /* for printing coherently */
|
||||
usleep(100000);
|
||||
MPI_Barrier(MPI_COMM_WORLD);
|
||||
}
|
||||
|
||||
/* Populate the displacements array */
|
||||
@@ -145,7 +148,9 @@ int main(int argc, char * argv[])
|
||||
printMatrix(&matrix[0][0], n, n);
|
||||
cout << endl;
|
||||
}
|
||||
MPI_Barrier(MPI_COMM_WORLD); /* for printint coherently */
|
||||
MPI_Barrier(MPI_COMM_WORLD); /* for printing coherently */
|
||||
usleep(100000);
|
||||
MPI_Barrier(MPI_COMM_WORLD);
|
||||
}
|
||||
|
||||
MPI_Finalize();
|
||||
|
||||
Reference in new issue
Block a user