run_thread.c running creating thread 0 creating thread 1 creating thread 2 creating thread 3 waiting for threads to reach first barrier thread 0 step 0 z=0.890125 thread 2 step 0 z=0.916823 thread 3 step 0 z=0.930216 thread 1 step 0 z=0.90346 thread 2 step 1 z=2.16668 thread 0 step 1 z=2.13048 thread 3 step 1 z=2.18474 thread 1 step 1 z=2.14859 thread 2 step 2 z=3.50187 thread 0 step 2 z=3.4721 thread 3 step 2 z=3.5166 thread 1 step 2 z=3.48704 thread 2 step 3 z=4.47641 thread 0 step 3 z=4.45505 thread 3 step 3 z=4.487 thread 1 step 3 z=4.46576 thread 2 step 4 z=5.23417 thread 0 step 4 z=5.21595 thread 3 step 4 z=5.24323 thread 1 step 4 z=5.22508 thread 2 step 5 z=5.94251 thread 0 step 5 z=5.92392 thread 3 step 5 z=5.95179 thread 1 step 5 z=5.93322 thread 2 step 6 z=6.73607 thread 0 step 6 z=6.71334 thread 3 step 6 z=6.74746 thread 1 step 6 z=6.7247 thread 2 step 7 z=7.79931 thread 0 step 7 z=7.76703 thread 3 step 7 z=7.8155 thread 1 step 7 z=7.78316 thread 2 step 8 z=9.1792 thread 0 step 8 z=9.14441 thread 3 step 8 z=9.19645 thread 1 step 8 z=9.16185 thread 2 step 9 z=10.3313 thread 0 step 9 z=10.3067 thread 3 step 9 z=10.3435 thread 1 step 9 z=10.3191 all threads finished first task results[0]=10.3067 results[1]=10.3191 results[2]=10.3313 results[3]=10.3435 wait for all threads to finish second task thread 2 again step 0 z=0.904795 thread 1 again step 0 z=0.898122 thread 0 again step 0 z=0.891457 thread 3 again step 0 z=0.911474 thread 2 again step 1 z=2.1504 thread 1 again step 1 z=2.14135 thread 0 again step 1 z=2.1323 thread 3 again step 1 z=2.15945 thread 2 again step 2 z=3.48853 thread 1 again step 2 z=3.48108 thread 0 again step 2 z=3.4736 thread 3 again step 2 z=3.49595 thread 2 again step 3 z=4.46683 thread 1 again step 3 z=4.46148 thread 0 again step 3 z=4.45612 thread 3 again step 3 z=4.47216 thread 2 again step 4 z=5.22599 thread 1 again step 4 z=5.22143 thread 0 again step 4 z=5.21687 thread 3 again step 4 z=5.23054 thread 2 again step 5 z=5.93415 thread 1 again step 5 z=5.9295 thread 0 again step 5 z=5.92485 thread 3 again step 5 z=5.9388 thread 2 again step 6 z=6.72583 thread 1 again step 6 z=6.72015 thread 0 again step 6 z=6.71447 thread 3 again step 6 z=6.73152 thread 2 again step 7 z=7.78477 thread 1 again step 7 z=7.7767 thread 0 again step 7 z=7.76864 thread 3 again step 7 z=7.79285 thread 2 again step 8 z=9.16359 thread 1 again step 8 z=9.15489 thread 0 again step 8 z=9.14616 thread 3 again step 8 z=9.17227 thread 2 again step 9 z=10.3203 thread 0 again step 9 z=10.3079 thread 1 again step 9 z=10.3141 thread 3 again step 9 z=10.3264 all threads finished second task final results[0]=10.3079 final results[1]=10.3141 final results[2]=10.3203 final results[3]=10.3264 CPU time 182.830000 sec wall time 46.000000 sec master exiting, run_thread finished