prime_openmp(): C/OpenMP version Number of processors available = 8 Number of threads = 1 TEST01 Call PRIME_NUMBER to count the primes from 1 to N. N Pi Time 1 0 0.000007 2 1 0.000005 4 2 0.000001 8 4 0.000002 16 6 0.000005 32 11 0.000003 64 18 0.000010 128 31 0.000019 256 54 0.000063 512 97 0.000189 1024 172 0.000581 2048 309 0.002074 4096 564 0.007595 8192 1028 0.023666 16384 1900 0.046685 32768 3512 0.169361 65536 6542 0.623842 131072 12251 2.377605 TEST01 Call PRIME_NUMBER to count the primes from 1 to N. N Pi Time 5 3 0.000002 50 15 0.000002 500 95 0.000070 5000 669 0.004751 50000 5133 0.374597 500000 41538 30.592047 prime_openmp(): Normal end of execution. prime_openmp(): C/OpenMP version Number of processors available = 8 Number of threads = 2 TEST01 Call PRIME_NUMBER to count the primes from 1 to N. N Pi Time 1 0 0.000069 2 1 0.000001 4 2 0.000001 8 4 0.000001 16 6 0.000001 32 11 0.000001 64 18 0.000002 128 31 0.000005 256 54 0.000016 512 97 0.000055 1024 172 0.000190 2048 309 0.000709 4096 564 0.002543 8192 1028 0.009255 16384 1900 0.034411 32768 3512 0.123791 65536 6542 0.463866 131072 12251 1.747234 TEST01 Call PRIME_NUMBER to count the primes from 1 to N. N Pi Time 5 3 0.000002 50 15 0.000001 500 95 0.000051 5000 669 0.003642 50000 5133 0.276615 500000 41538 22.819366 prime_openmp(): Normal end of execution. prime_openmp(): C/OpenMP version Number of processors available = 8 Number of threads = 4 TEST01 Call PRIME_NUMBER to count the primes from 1 to N. N Pi Time 1 0 0.000149 2 1 0.000001 4 2 0.000001 8 4 0.000001 16 6 0.000001 32 11 0.000001 64 18 0.000001 128 31 0.000003 256 54 0.000009 512 97 0.000033 1024 172 0.000110 2048 309 0.000398 4096 564 0.001454 8192 1028 0.005229 16384 1900 0.019739 32768 3512 0.071860 65536 6542 0.270126 131072 12251 1.018026 TEST01 Call PRIME_NUMBER to count the primes from 1 to N. N Pi Time 5 3 0.000003 50 15 0.000001 500 95 0.000031 5000 669 0.002072 50000 5133 0.161838 500000 41538 13.366943 prime_openmp(): Normal end of execution. prime_openmp(): C/OpenMP version Number of processors available = 8 Number of threads = 8 TEST01 Call PRIME_NUMBER to count the primes from 1 to N. N Pi Time 1 0 0.000192 2 1 0.000001 4 2 0.000001 8 4 0.000001 16 6 0.000001 32 11 0.000001 64 18 0.000001 128 31 0.000003 256 54 0.000008 512 97 0.000024 1024 172 0.000082 2048 309 0.000277 4096 564 0.001105 8192 1028 0.003900 16384 1900 0.014999 32768 3512 0.052753 65536 6542 0.191332 131072 12251 0.715140 TEST01 Call PRIME_NUMBER to count the primes from 1 to N. N Pi Time 5 3 0.000003 50 15 0.000001 500 95 0.000026 5000 669 0.001605 50000 5133 0.123157 500000 41538 8.733733 prime_openmp(): Normal end of execution.