Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Overhead of using OpenMP?

Tony_Garratt
Beginner
633 Views
We build an application using v11 of your Fortran compiler which makes use of OpenMP. We run the exe with 1 thread and it takes around 6 mins. We re-compile and remove /QopenMP and re-run it and it takes around 6 mins. So, the use of OpenMP has a large overhead in the case when the code is run a single core machine. Is this expected?

Thanks!
Tony
0 Kudos
2 Replies
IanH
Honored Contributor III
633 Views
You've got "6 mins" twice, which implies no overhead. Is this what you intended?
0 Kudos
Tony_Garratt
Beginner
633 Views
Oh - sorry about that - here is what I meant to say:

We build an application using v11 of your Fortran compiler which makes use of OpenMP. We run the exe with 1 thread and it takes around9 mins. We re-compile and remove /QopenMP and re-run it and it takes around 6 mins. So, the use of OpenMP has a large overhead in the case when the code is run a single core machine. Is this expected?
0 Kudos
Reply