- #1
jelanier
- 67
- 1
- TL;DR Summary
- Not getting OpenMP results
I am trying to understand OpenMP, but my experiments are not paying off. I made a simple FORTRAN program to show me parallel time results.
it turns out that parallel times are greater than single thread. What am I doing wrong?
results: (changing number of threads)
No OpenMP seconds= 1.46640897
THR=1 seconds= 1.57561016
THR=2 seconds= 2.55841684
THR=4 seconds= 5.53803492
THR=8 seconds= 5.74083805
this test program is timing on do loop
Code and compile download from:
[Mentors deleted questionable ZIP link]
Thanks in advance
Jim
it turns out that parallel times are greater than single thread. What am I doing wrong?
results: (changing number of threads)
No OpenMP seconds= 1.46640897
THR=1 seconds= 1.57561016
THR=2 seconds= 2.55841684
THR=4 seconds= 5.53803492
THR=8 seconds= 5.74083805
this test program is timing on do loop
Code and compile download from:
[Mentors deleted questionable ZIP link]
Thanks in advance
Jim
Last edited by a moderator: