- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
i have set the compiler option /libs:static so I dont have to distribute the Fortran dlls along with my executable.
Now a customer reported me, that the libiomp5md.dll is missing, copying that file into his executable directory solved the problem.
Is it possible to integrate the libiomp5md.dll inmy executable from the start?
Thanks in advance,
Markus
i have set the compiler option /libs:static so I dont have to distribute the Fortran dlls along with my executable.
Now a customer reported me, that the libiomp5md.dll is missing, copying that file into his executable directory solved the problem.
Is it possible to integrate the libiomp5md.dll inmy executable from the start?
Thanks in advance,
Markus
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - onkelhotte
i have set the compiler option /libs:static so I dont have to distribute the Fortran dlls along with my executable.
Now a customer reported me, that the libiomp5md.dll is missing, copying that file into his executable directory solved the problem.
Now a customer reported me, that the libiomp5md.dll is missing, copying that file into his executable directory solved the problem.
I hope this doesn't signal a return to the Itanium fiasco, where vendors wanted to supply their own OpenMP run-time, but customers had policies against OS installation upgrades, so it was impossible to run updated applications (except by using the static link option).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As Tim indicates, even if you use /libs:static, the OpenMP library is linked dynamically. We strongly recommend keeping it that way to avoid conflicts, but /Qopenmp-link:static is available if you insist.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
As Tim indicates, even if you use /libs:static, the OpenMP library is linked dynamically. We strongly recommend keeping it that way to avoid conflicts, but /Qopenmp-link:static is available if you insist.
Im a little bit confused...
So, when I static link the OpenMP Library and the customer already has an OpenMP library or system, my program wont work on that machine?
Markus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If your application is self-contained and doesn't reference other non-system DLLs, it should be ok to link to the static library. What you want to avoid is having two or more copies of OpenMP libraries in the application address space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
If your application is self-contained and doesn't reference other non-system DLLs, it should be ok to link to the static library. What you want to avoid is having two or more copies of OpenMP libraries in the application address space.
This is not the case, so static linking is okay for me.
Markus

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