- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We need to assemble the right dlls for a multithreaded win32 ifort exe so it will run on users computers which don't have compilers installed. Right now, its a trial and error porcess to find which dlls to use from windows/system32 and intel redist so the exe will run for our users. It'd be nice to have a better process for finding which dlls to include.
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you referring to problems where Dependency Walker should help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you build your program with the Multithreaded option (not Multitthreaded DLL), then all of the Intel dependencies will be included in your exe file, and so no additional files will need to be deployed. unless you have installed additonal, non-standard DLLs to system32, I would not expect that you should need to deploy or link any additional DLLs either.
Regads,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Standard .dlls from \windows\system32 ought to be found automatically on any Windows, although they would be located elsewhere on windows X64. You shouldn't be tinkering with those \system32\ folders. If someone has broken your target installations, you can't expect to fix it in your distributable package. I suppose, in general, it's possible to encounter PATH setting problems, depending on what was changed prior to your installation.
Mutli-threading typically involves OpenMP, where you would need to distribute libiomp5md.dll from the ifort installation (the 32-bit one, in your case). As David said, /MT (the default for ifort) would resolve other Intel library dependencies by static linking.
e.g.
$ dumpbin /dependents lcd_ffast.exe
....
Image has the following dependencies:
libiomp5md.dll
KERNEL32.dll
imagehlp.dll
....
http://msdn.microsoft.com/en-us/library/windows/desktop/ms680321%28v=vs.85%29.aspx discusses some aspects of Microsoft's imagehlp.dll and how they want you to make s distributable application in that respect.

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