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

OpenMp require libiomp5md.dll

brovchik
Beginner
666 Views
Hi!

I tried to run simple OMP test program on the WinXP machine where Fortran Compiler and Visual studio are not installed. And I got an error that "application failed to start because libiomp5md.dll was not found". When I copy this dll to the executable appliction works fine. DLL is required even if no OMP directive in the code, only \Qopenmp compiler option. This happens when I'm using IVF compiler version 11.0.061 or 11.0.066. For version 10.1.025 it works without dll. I guess that this is because IVF version 11 support new OMP 3.0 standatrt, but question is: do I really need to copy libiomp5md.dll to make my application work on other machines and why it is so?
0 Kudos
2 Replies
Steven_L_Intel1
Employee
666 Views
This is discussed in the release notes. Two changes happened in 11.0. First, the default OpenMP library changed from the "legacy" library (libguide) to the "compat" library (libiomp5). Second, the default changed to always link the OpenMP library shared even if you are doing a static link. If you want to force a static link, add the option /Qopenmp-link:static
0 Kudos
brovchik
Beginner
666 Views
Thanks, Steve!
0 Kudos
Reply