01 August 2016 06:52:54 PM PRIME_MPI C/MPI version An MPI example program to count the number of primes. The number of processes is 1 N Pi Time 1 0 0.000021 2 1 0.000003 4 2 0.000002 8 4 0.000002 16 6 0.000002 32 11 0.000004 64 18 0.000007 128 31 0.000019 256 54 0.000060 512 97 0.000231 1024 172 0.000724 2048 309 0.002590 4096 564 0.009472 8192 1028 0.030277 16384 1900 0.090221 32768 3512 0.249516 65536 6542 0.919739 131072 12251 3.455395 262144 23000 13.005143 PRIME_MPI - Master process: Normal end of execution. 01 August 2016 06:53:11 PM 01 August 2016 06:55:14 PM PRIME_MPI C/MPI version An MPI example program to count the number of primes. The number of processes is 2 N Pi Time 1 0 0.000031 2 1 0.000006 4 2 0.000005 8 4 0.000005 16 6 0.000005 32 11 0.000006 64 18 0.000009 128 31 0.000021 256 54 0.000062 512 97 0.000210 1024 172 0.000742 2048 309 0.002637 4096 564 0.009306 8192 1028 0.030076 16384 1900 0.087450 32768 3512 0.248750 65536 6542 0.920044 131072 12251 3.461237 262144 23000 13.030465 PRIME_MPI - Master process: Normal end of execution. 01 August 2016 06:55:32 PM 01 August 2016 06:55:38 PM PRIME_MPI C/MPI version An MPI example program to count the number of primes. The number of processes is 3 N Pi Time 1 0 0.005545 2 1 0.001140 4 2 0.001122 8 4 0.001151 16 6 0.001096 32 11 0.001197 64 18 0.001128 128 31 0.001200 256 54 0.001157 512 97 0.001208 1024 172 0.001220 2048 309 0.001540 4096 564 0.004075 8192 1028 0.014344 16384 1900 0.046760 32768 3512 0.132318 65536 6542 0.459953 131072 12251 1.733256 262144 23000 6.528742 PRIME_MPI - Master process: Normal end of execution. 01 August 2016 06:55:47 PM 01 August 2016 06:55:53 PM PRIME_MPI C/MPI version An MPI example program to count the number of primes. The number of processes is 4 N Pi Time 1 0 0.005367 2 1 0.001360 4 2 0.001252 8 4 0.001083 16 6 0.001112 32 11 0.001118 64 18 0.001117 128 31 0.001173 256 54 0.001072 512 97 0.001151 1024 172 0.001918 2048 309 0.001466 4096 564 0.004624 8192 1028 0.015450 16384 1900 0.049674 32768 3512 0.136654 65536 6542 0.460614 131072 12251 1.738654 262144 23000 6.520023 PRIME_MPI - Master process: Normal end of execution. 01 August 2016 06:56:02 PM 01 August 2016 06:56:08 PM PRIME_MPI C/MPI version An MPI example program to count the number of primes. The number of processes is 5 N Pi Time 1 0 0.008638 2 1 0.001211 4 2 0.001273 8 4 0.002023 16 6 0.001211 32 11 0.001203 64 18 0.001203 128 31 0.001144 256 54 0.001409 512 97 0.001331 1024 172 0.001206 2048 309 0.001380 4096 564 0.004296 8192 1028 0.015183 16384 1900 0.049420 32768 3512 0.136560 65536 6542 0.466151 131072 12251 1.746214 262144 23000 3.692121 PRIME_MPI - Master process: Normal end of execution. 01 August 2016 06:56:14 PM 01 August 2016 06:56:20 PM PRIME_MPI C/MPI version An MPI example program to count the number of primes. The number of processes is 6 N Pi Time 1 0 0.006069 2 1 0.001088 4 2 0.001097 8 4 0.001099 16 6 0.001107 32 11 0.001165 64 18 0.001178 128 31 0.001116 256 54 0.000990 512 97 0.001546 1024 172 0.001257 2048 309 0.001743 4096 564 0.003466 8192 1028 0.010402 16384 1900 0.033617 32768 3512 0.123928 65536 6542 0.460643 131072 12251 1.726029 262144 23000 6.492160 PRIME_MPI - Master process: Normal end of execution. 01 August 2016 06:56:29 PM 01 August 2016 07:14:34 PM PRIME_MPI C/MPI version An MPI example program to count the number of primes. The number of processes is 10 N Pi Time 1 0 0.013884 2 1 0.001735 4 2 0.001481 8 4 0.001232 16 6 0.003340 32 11 0.001437 64 18 0.001789 128 31 0.001692 256 54 0.001787 512 97 0.002091 1024 172 0.001520 2048 309 0.001903 4096 564 0.005308 8192 1028 0.010009 16384 1900 0.031707 32768 3512 0.086128 65536 6542 0.246610 131072 12251 0.929722 262144 23000 3.486651 PRIME_MPI - Master process: Normal end of execution. 01 August 2016 07:14:39 PM Optiplex-790:2 i5- Gen 3 laptop ----> 192.168.1.21:4 Dell-System-Inspiron-N7110:4 Optiplex-620GX --->> 192.168.1.22:2 01 August 2016 07:40:55 PM PRIME_MPI C/MPI version An MPI example program to count the number of primes. The number of processes is 12 N Pi Time 1 0 0.021556 2 1 0.003565 4 2 0.003296 8 4 0.004207 16 6 0.003243 32 11 0.003733 64 18 0.003634 128 31 0.003271 256 54 0.003480 512 97 0.003558 1024 172 0.004423 2048 309 0.005581 4096 564 0.006618 8192 1028 0.018379 16384 1900 0.059759 32768 3512 0.206784 65536 6542 0.787552 131072 12251 2.860550 262144 23000 10.783786 PRIME_MPI - Master process: Normal end of execution. 01 August 2016 07:41:10 PM