n759(0): n759(0): MONTE_CARLO - Master process: n759(0): C version n759(0): An MPI example program. n759(0): Estimate pi by the Monte Carlo method, using MPI. n759(0): n759(0): Compiled on Oct 11 2007 at 10:10:28. n759(0): n759(0): The number of processes is 4. n759(0): n759(0): Points in the unit square will be tested n759(0): to see if they lie in the unit quarter circle. n759(0): n759(0): The method will continue to improve the estimate until: n759(0): PI is computed to within a tolerance = 0.000100, n759(0): or the number of points examined reaches 1000000. n440(2): Process 3 is active. n759(0): Process 0 is active. n440(2): Process 2 is active. n759(0): Process 1 is active. n759(0): pi = 3.14666666666666650087 n759(0): pi = 3.14266666666666649732 n759(0): pi = 3.16444444444444439313 n759(0): pi = 3.16666666666666651864 n759(0): pi = 3.16319999999999978968 n759(0): pi = 3.17288888888888909179 n759(0): pi = 3.17295238095238074649 n759(0): pi = 3.15666666666666673180 n759(0): pi = 3.16059259259259262009 n759(0): pi = 3.15813333333333323694 n759(0): pi = 3.15515151515151526240 n759(0): pi = 3.15733333333333332504 n759(0): pi = 3.15651282051282056074 n759(0): pi = 3.15257142857142858006 n759(0): pi = 3.15502222222222217241 n759(0): pi = 3.15850000000000008527 n759(0): pi = 3.15623529411764724983 n759(0): pi = 3.15437037037037049103 n759(0): pi = 3.15719298245614021781 n759(0): pi = 3.15839999999999987423 n759(0): pi = 3.15238095238095228368 n759(0): pi = 3.15066666666666650443 n759(0): pi = 3.14921739130434774623 n759(0): pi = 3.14611111111111130256 n759(0): pi = 3.14496000000000019980 n759(0): pi = 3.14379487179487160375 n759(0): pi = 3.14528395061728405224 n759(0): pi = 3.14638095238095250039 n759(0): pi = 3.14731034482758609272 n759(0): pi = 3.14657777777777791783 n759(0): pi = 3.14632258064516134866 n759(0): pi = 3.14633333333333320425 n759(0): pi = 3.14602020202020193906 n759(0): pi = 3.14368627450980397953 n759(0): pi = 3.14049523809523822848 n759(0): pi = 3.14066666666666671759 n759(0): pi = 3.14291891891891905786 n759(0): pi = 3.14168421052631563484 n759(0): points: 57000 in: 44769, out: 12231 n759(0): n759(0): MONTE_CARLO - Master process: n759(0): Normal end of execution. All nodes terminated successfully.