nterms=200000000 nthreads=1
Main: now waiting for other threads...
thread number 1 a=1 b=200000001
thread number 1 partial sum = 19.6910435919144
Main: total sum = 19.6910435919144
nterms=200000000 nthreads=2
Main: now waiting for other threads...
thread number 1 a=1 b=100000001
thread number 2 a=100000001 b=200000001
thread number 2 partial sum = 0.693147178059741
thread number 1 partial sum = 18.9978964138526
Main: total sum = 19.6910435919123
nterms=200000000 nthreads=3
Main: now waiting for other threads...
thread number 1 a=1 b=66666667
thread number 3 a=133333334 b=200000001
thread number 2 a=66666667 b=133333334
thread number 3 partial sum = 0.405465109358139
thread number 2 partial sum = 0.693147184310161
thread number 1 partial sum = 18.5924312982437
Main: total sum = 19.691043591912
nterms=200000000 nthreads=4
Main: now waiting for other threads...
thread number 3 a=100000001 b=150000001
thread number 1 a=1 b=50000001
thread number 2 a=50000001 b=100000001
thread number 4 a=150000001 b=200000001
thread number 4 partial sum = 0.287682071618549
thread number 2 partial sum = 0.693147175559714
thread number 3 partial sum = 0.405465106441426
thread number 1 partial sum = 18.3047492382933
Main: total sum = 19.691043591913
bar: sum from 1 to 200000001 = 19.691
harm:
harmonic sum from 1 to 200000000 = 19.691
bar: sum from 100000001 to 200000001 = 0.693147
bar: sum from 1 to 100000001 = 18.9979
harm:
harmonic sum from 1 to 200000000 = 19.691
bar: sum from 133333333 to 199999999 = 0.405465
bar: sum from 66666667 to 133333333 = 0.693147
bar: sum from 1 to 66666667 = 18.5924
harm:
harmonic sum from 1 to 200000000 = 19.691
bar: sum from 100000001 to 150000001 = 0.405465
bar: sum from 1 to 50000001 = 18.3047
bar: sum from 50000001 to 100000001 = 0.693147
bar: sum from 150000001 to 200000001 = 0.287682
harm:
harmonic sum from 1 to 200000000 = 19.691
harm: start:  summing from 1 to 200000001
harm: finish: sum     from 1 to 200000001 = 19.691
main: harmonic sum from 1 to 200000000 = 19.691
harm: start:  summing from 1 to 100000001
harm: start:  summing from 100000001 to 200000001
harm: finish: sum     from 1 to 100000001 = 18.9979
harm: finish: sum     from 100000001 to 200000001 = 0.693147
main: harmonic sum from 1 to 200000000 = 19.691
harm: start:  summing from 1 to 66666667
harm: start:  summing from 66666667 to 133333333
harm: start:  summing from 133333333 to 199999999
harm: finish: sum     from 66666667 to 133333333 = 0.693147
harm: finish: sum     from 1 to 66666667 = 18.5924
harm: finish: sum     from 133333333 to 199999999 = 0.405465
main: harmonic sum from 1 to 200000000 = 19.691
harm: start:  summing from 1 to 50000001
harm: start:  summing from 50000001 to 100000001
harm: start:  summing from 100000001 to 150000001
harm: start:  summing from 150000001 to 200000001
harm: finish: sum     from 100000001 to 150000001 = 0.405465
harm: finish: sum     from 1 to 50000001 = 18.3047
harm: finish: sum     from 50000001 to 100000001 = 0.693147
harm: finish: sum     from 150000001 to 200000001 = 0.287682
main: harmonic sum from 1 to 200000000 = 19.691
Harmonic sum of 200000000 terms: 19.691
Harmonic sum of 200000000 terms: 19.691
Harmonic sum of 200000000 terms: 19.691
Harmonic sum of 200000000 terms: 19.691