- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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 kopiert
5 Antworten
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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).
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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

Antworten
Themen-Optionen
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite