[~/pi]$ mpirun -np 1 ./newflop 1000000000 pi is approximately 3.1415926535921401, Error is 0.0000000000023470 wall clock time = 13.939270 Estimated MFLOPs = 430.438609 [~/pi]$ mpirun -np 2 ./newflop 1000000000 pi is approximately 3.1415926535905170, Error is 0.0000000000007239 wall clock time = 6.985985 Estimated MFLOPs = 858.862447 [~/pi]$ mpirun -np 3 ./newflop 1000000000 pi is approximately 3.1415926535899761, Error is 0.0000000000001830 wall clock time = 4.662983 Estimated MFLOPs = 1286.729992 [~/pi]$ mpirun -np 4 ./newflop 1000000000 pi is approximately 3.1415926535896128, Error is 0.0000000000001803 wall clock time = 3.502833 Estimated MFLOPs = 1712.899182 |