- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
コピーされたリンク
5 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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).
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
