- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've just moved from Studio 2005/Fortran 11.1 to Studio 2012/Fortran XE 12.1, but haven't changed any source code (yet). The exe I build will not run on customer machines becauselibiomp5md.dll is missing. If I statically link (put/Qopenmp-link:static in the command line for the compiler) it runs but the exe image grows by 1/2 Mb. I don't have any threading in this code and certainly no calls to OpenMP, so I assume I don't need the OpenMP library at all. Right? No calls to the IML either. Is there a way/setting to compile and link with have the OpenMP material attached?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you don't use OpenMP or its library functions, then removing all /Qopenmp and /Qparallel options (either command line or VS property parallel options) should remove all dependency on libiomp5. If you call one of the Intel performance libraries, such as MKL, you need to specify its sequential library to eliminate threading and OpenMP dependency.

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