COMPUTE_PI(): Fortran90/OpenMP version Estimate the value of PI by summing a series. The number of processors available = 8 The number of threads available = 1 R8_TEST: Estimate the value of PI. N = number of terms computed and added; MODE = SEQ for sequential code; MODE = OMP for Open MP enabled code; (performance depends on whether Open MP is used, and how many processes are available!) ESTIMATE = the computed estimate of PI; ERROR = ( the computed estimate - PI ); TIME = elapsed wall clock time; Note that you can't increase N forever, because: A) ROUNDOFF starts to be a problem, and B) maximum integer size is a problem. The maximum integer: 2147483647 N Mode Estimate Error Time 1 SEQ 3.2000000000 0.584073E-01 0.221997E-06 1 OMP 3.2000000000 0.584073E-01 0.418100E-05 10 SEQ 3.1424259850 0.833331E-03 0.105007E-06 10 OMP 3.1424259850 0.833331E-03 0.682005E-06 100 SEQ 3.1416009869 0.833333E-05 0.280001E-06 100 OMP 3.1416009869 0.833333E-05 0.219000E-05 1000 SEQ 3.1415927369 0.833333E-07 0.245401E-05 1000 OMP 3.1415927369 0.833333E-07 0.273100E-05 10000 SEQ 3.1415926544 0.833341E-09 0.249390E-04 10000 OMP 3.1415926544 0.833341E-09 0.243700E-04 100000 SEQ 3.1415926536 0.836842E-11 0.248796E-03 100000 OMP 3.1415926536 0.836842E-11 0.238372E-03 1000000 SEQ 3.1415926536 0.284217E-13 0.259311E-02 1000000 OMP 3.1415926536 0.284217E-13 0.254065E-02 10000000 SEQ 3.1415926536 0.621725E-13 0.252759E-01 10000000 OMP 3.1415926536 0.621725E-13 0.232375E-01 100000000 SEQ 3.1415926536 0.633271E-12 0.242990 100000000 OMP 3.1415926536 0.633271E-12 0.233197 1000000000 SEQ 3.1415926536 0.177636E-12 2.44302 1000000000 OMP 3.1415926536 0.177636E-12 2.34877 COMPUTE_PI(): Normal end of execution. COMPUTE_PI(): Fortran90/OpenMP version Estimate the value of PI by summing a series. The number of processors available = 8 The number of threads available = 2 R8_TEST: Estimate the value of PI. N = number of terms computed and added; MODE = SEQ for sequential code; MODE = OMP for Open MP enabled code; (performance depends on whether Open MP is used, and how many processes are available!) ESTIMATE = the computed estimate of PI; ERROR = ( the computed estimate - PI ); TIME = elapsed wall clock time; Note that you can't increase N forever, because: A) ROUNDOFF starts to be a problem, and B) maximum integer size is a problem. The maximum integer: 2147483647 N Mode Estimate Error Time 1 SEQ 3.2000000000 0.584073E-01 0.143998E-06 1 OMP 3.2000000000 0.584073E-01 0.106707E-03 10 SEQ 3.1424259850 0.833331E-03 0.990040E-07 10 OMP 3.1424259850 0.833331E-03 0.114299E-05 100 SEQ 3.1416009869 0.833333E-05 0.286003E-06 100 OMP 3.1416009869 0.833333E-05 0.817003E-06 1000 SEQ 3.1415927369 0.833333E-07 0.250300E-05 1000 OMP 3.1415927369 0.833333E-07 0.181700E-05 10000 SEQ 3.1415926544 0.833341E-09 0.248220E-04 10000 OMP 3.1415926544 0.833336E-09 0.124950E-04 100000 SEQ 3.1415926536 0.836842E-11 0.246274E-03 100000 OMP 3.1415926536 0.835332E-11 0.119547E-03 1000000 SEQ 3.1415926536 0.284217E-13 0.257903E-02 1000000 OMP 3.1415926536 0.106137E-12 0.123105E-02 10000000 SEQ 3.1415926536 0.621725E-13 0.255987E-01 10000000 OMP 3.1415926536 0.129674E-12 0.119488E-01 100000000 SEQ 3.1415926536 0.633271E-12 0.241954 100000000 OMP 3.1415926536 0.116351E-12 0.119470 1000000000 SEQ 3.1415926536 0.177636E-12 2.43300 1000000000 OMP 3.1415926536 0.107914E-12 1.20765 COMPUTE_PI(): Normal end of execution. COMPUTE_PI(): Fortran90/OpenMP version Estimate the value of PI by summing a series. The number of processors available = 8 The number of threads available = 4 R8_TEST: Estimate the value of PI. N = number of terms computed and added; MODE = SEQ for sequential code; MODE = OMP for Open MP enabled code; (performance depends on whether Open MP is used, and how many processes are available!) ESTIMATE = the computed estimate of PI; ERROR = ( the computed estimate - PI ); TIME = elapsed wall clock time; Note that you can't increase N forever, because: A) ROUNDOFF starts to be a problem, and B) maximum integer size is a problem. The maximum integer: 2147483647 N Mode Estimate Error Time 1 SEQ 3.2000000000 0.584073E-01 0.120999E-06 1 OMP 3.2000000000 0.584073E-01 0.146079E-03 10 SEQ 3.1424259850 0.833331E-03 0.979999E-07 10 OMP 3.1424259850 0.833331E-03 0.137300E-05 100 SEQ 3.1416009869 0.833333E-05 0.316002E-06 100 OMP 3.1416009869 0.833333E-05 0.111900E-05 1000 SEQ 3.1415927369 0.833333E-07 0.251499E-05 1000 OMP 3.1415927369 0.833333E-07 0.155999E-05 10000 SEQ 3.1415926544 0.833341E-09 0.253950E-04 10000 OMP 3.1415926544 0.833331E-09 0.698800E-05 100000 SEQ 3.1415926536 0.836842E-11 0.253510E-03 100000 OMP 3.1415926536 0.833333E-11 0.620540E-04 1000000 SEQ 3.1415926536 0.284217E-13 0.254916E-02 1000000 OMP 3.1415926536 0.821565E-13 0.620251E-03 10000000 SEQ 3.1415926536 0.621725E-13 0.247942E-01 10000000 OMP 3.1415926536 0.123457E-12 0.619356E-02 100000000 SEQ 3.1415926536 0.633271E-12 0.243135 100000000 OMP 3.1415926536 0.110578E-12 0.612540E-01 1000000000 SEQ 3.1415926536 0.177636E-12 2.42660 1000000000 OMP 3.1415926536 0.275335E-13 0.623738 COMPUTE_PI(): Normal end of execution. COMPUTE_PI(): Fortran90/OpenMP version Estimate the value of PI by summing a series. The number of processors available = 8 The number of threads available = 8 R8_TEST: Estimate the value of PI. N = number of terms computed and added; MODE = SEQ for sequential code; MODE = OMP for Open MP enabled code; (performance depends on whether Open MP is used, and how many processes are available!) ESTIMATE = the computed estimate of PI; ERROR = ( the computed estimate - PI ); TIME = elapsed wall clock time; Note that you can't increase N forever, because: A) ROUNDOFF starts to be a problem, and B) maximum integer size is a problem. The maximum integer: 2147483647 N Mode Estimate Error Time 1 SEQ 3.2000000000 0.584073E-01 0.189997E-06 1 OMP 3.2000000000 0.584073E-01 0.172939E-03 10 SEQ 3.1424259850 0.833331E-03 0.120002E-06 10 OMP 3.1424259850 0.833331E-03 0.157400E-05 100 SEQ 3.1416009869 0.833333E-05 0.495005E-06 100 OMP 3.1416009869 0.833333E-05 0.151200E-05 1000 SEQ 3.1415927369 0.833333E-07 0.443300E-05 1000 OMP 3.1415927369 0.833333E-07 0.223100E-05 10000 SEQ 3.1415926544 0.833341E-09 0.442320E-04 10000 OMP 3.1415926544 0.833333E-09 0.691900E-05 100000 SEQ 3.1415926536 0.836842E-11 0.446037E-03 100000 OMP 3.1415926536 0.833156E-11 0.584570E-04 1000000 SEQ 3.1415926536 0.284217E-13 0.442124E-02 1000000 OMP 3.1415926536 0.777156E-13 0.581335E-03 10000000 SEQ 3.1415926536 0.621725E-13 0.306386E-01 10000000 OMP 3.1415926536 0.106581E-13 0.597048E-02 100000000 SEQ 3.1415926536 0.633271E-12 0.255509 100000000 OMP 3.1415926536 0.217604E-13 0.662175E-01 1000000000 SEQ 3.1415926536 0.177636E-12 2.43471 1000000000 OMP 3.1415926536 0.244249E-13 0.612518 COMPUTE_PI(): Normal end of execution.