Skip to content

Commit d9e4728

Browse files
committed
Omit MPIBarrier
Signed-off-by: Yuki Iwai <[email protected]>
1 parent bce83b6 commit d9e4728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/v2beta1/pi/pi.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ int main(int argc, char *argv[]) {
4646
double pi = 4 * (double)total_count / (double)(worker_tests) / (double)(workers);
4747
printf("pi is approximately %.16lf\n", pi);
4848
}
49-
MPI_Barrier(MPI_COMM_WORLD);
49+
// MPI_Barrier(MPI_COMM_WORLD);
5050
MPI_Finalize();
5151
return 0;
5252
}

0 commit comments

Comments
 (0)