- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
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?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Steve!

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page