add barrier
This commit is contained in:
parent
0e089bb00a
commit
f6a092bcd2
@ -40,6 +40,8 @@ int main(int argc, char **argv) {
|
||||
MPI_Comm_size(MPI_COMM_WORLD, &size);
|
||||
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
|
||||
|
||||
MPI_Barrier(MPI_COMM_WORLD);
|
||||
|
||||
#ifdef TIME
|
||||
long_long start_time = PAPI_get_real_usec();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user