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
初学者
1,115 次查看
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 项奖励
2 回复数
IanH
名誉分销商 III
1,115 次查看
You've got "6 mins" twice, which implies no overhead. Is this what you intended?
0 项奖励
Tony_Garratt
初学者
1,115 次查看
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 项奖励
回复