PRIME_NUMBER_OPEN_MP FORTRAN90/OpenMP version Number of processors available = 16 Number of threads = 1 PRIME_NUMBER_SWEEP_OPEN_MP Call PRIME_NUMBER to count the primes from 1 to N. N Pi Time 1 0 0.845129E-05 2 1 0.237487E-05 4 2 0.188500E-05 8 4 0.209501E-05 16 6 0.244379E-05 32 11 0.342214E-05 64 18 0.621611E-05 128 31 0.159941E-04 256 54 0.490290E-04 512 97 0.169228E-03 1024 172 0.581369E-03 2048 309 0.206238E-02 4096 564 0.756618E-02 8192 1028 0.272384E-01 16384 1900 0.862666E-01 32768 3512 0.249293 65536 6542 0.900806 131072 12251 3.32486 PRIME_NUMBER_SWEEP_OPEN_MP Call PRIME_NUMBER to count the primes from 1 to N. N Pi Time 5 3 0.160607E-05 50 15 0.342308E-05 500 95 0.102599E-03 5000 669 0.684394E-02 50000 5133 0.527858 500000 41538 43.3966 PRIME_NUMBER_OPEN_MP Normal end of execution. PRIME_NUMBER_OPEN_MP FORTRAN90/OpenMP version Number of processors available = 16 Number of threads = 2 PRIME_NUMBER_SWEEP_OPEN_MP Call PRIME_NUMBER to count the primes from 1 to N. N Pi Time 1 0 0.475558E-03 2 1 0.372259E-04 4 2 0.342932E-04 8 4 0.347123E-04 16 6 0.346419E-04 32 11 0.352710E-04 64 18 0.368073E-04 128 31 0.445591E-04 256 54 0.691442E-04 512 97 0.152676E-03 1024 172 0.459284E-03 2048 309 0.153144E-02 4096 564 0.555925E-02 8192 1028 0.198441E-01 16384 1900 0.525807E-01 32768 3512 0.181890 65536 6542 0.678989 131072 12251 2.45457 PRIME_NUMBER_SWEEP_OPEN_MP Call PRIME_NUMBER to count the primes from 1 to N. N Pi Time 5 3 0.511250E-04 50 15 0.453279E-04 500 95 0.164269E-03 5000 669 0.508349E-02 50000 5133 0.389423 500000 41538 31.9671 PRIME_NUMBER_OPEN_MP Normal end of execution. PRIME_NUMBER_OPEN_MP FORTRAN90/OpenMP version Number of processors available = 16 Number of threads = 4 PRIME_NUMBER_SWEEP_OPEN_MP Call PRIME_NUMBER to count the primes from 1 to N. N Pi Time 1 0 0.307028E-03 2 1 0.729151E-04 4 2 0.773859E-04 8 4 0.671190E-04 16 6 0.629281E-04 32 11 0.960333E-04 64 18 0.602743E-04 128 31 0.729160E-04 256 54 0.925418E-04 512 97 0.142199E-03 1024 172 0.329797E-03 2048 309 0.902714E-03 4096 564 0.305603E-02 8192 1028 0.108730E-01 16384 1900 0.398940E-01 32768 3512 0.146599 65536 6542 0.549820 131072 12251 2.06609 PRIME_NUMBER_SWEEP_OPEN_MP Call PRIME_NUMBER to count the primes from 1 to N. N Pi Time 5 3 0.106579E-03 50 15 0.887699E-04 500 95 0.130326E-03 5000 669 0.430565E-02 50000 5133 0.328496 500000 41538 26.9249 PRIME_NUMBER_OPEN_MP Normal end of execution. PRIME_NUMBER_OPEN_MP FORTRAN90/OpenMP version Number of processors available = 16 Number of threads = 8 PRIME_NUMBER_SWEEP_OPEN_MP Call PRIME_NUMBER to count the primes from 1 to N. N Pi Time 1 0 0.371352E-03 2 1 0.116218E-03 4 2 0.903062E-04 8 4 0.996660E-04 16 6 0.943579E-04 32 11 0.126764E-03 64 18 0.113704E-03 128 31 0.123761E-03 256 54 0.140453E-03 512 97 0.238372E-03 1024 172 0.447899E-03 2048 309 0.132226E-02 4096 564 0.394938E-02 8192 1028 0.100561E-01 16384 1900 0.272708E-01 32768 3512 0.103783 65536 6542 0.385993 131072 12251 1.43851 PRIME_NUMBER_SWEEP_OPEN_MP Call PRIME_NUMBER to count the primes from 1 to N. N Pi Time 5 3 0.157216E-03 50 15 0.134656E-03 500 95 0.210994E-03 5000 669 0.322540E-02 50000 5133 0.230316 500000 41538 18.7677 PRIME_NUMBER_OPEN_MP Normal end of execution.