- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have just installed the oneAPI HPC Toolkit for Visual Studio 2019. I try to run a Fortran console app that I built using the static multithreaded runtime library. When I try to run the executable, I get the message that libiomp5md.dll is missing. This was a message that I would expect to see whenever I build using dll runtime libraries, not static ones.
Is there a reason for obtaining this message? I am pretty sure I had never seen it when using older versions (e.g., 2019 ones) of the Fortran compiler with static runtime libraries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no static runtime library for OpenMP on Windows. See this table in the Fortran Developer Guide.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no static runtime library for OpenMP on Windows. See this table in the Fortran Developer Guide.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK, thank you. This only applies for oneAPI, correct? I want to ensure that I understand why I did not have this problem with earlier versions of the Intel compiler.
Also, shouldn't my system be able to find libiomp5md.dll? I do have it in my installation of Intel oneAPI.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a copy of the PSXE 2018 Fortran Developer Guide and it says the same thing, no static OpenMP library on Windows.
Somehow your path is not set correctly. My Windows skills are weak.
I suggest you post this question on the Fortran Forum. That's the best place to get your Fortran questions answered for all flavors of Intel Fortran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For a number of years, EXEs compiled with Intel Fortran require libiomp5md.dll to be available through PATH. With OneAPI, that DLL should exist in
...\ONEAPI\compiler\latest\windows\redist\intel64_win\compiler\
for the 64-bit DLL. This is true even for EXEs built with all other libraries linked statically.
Locate the directory on your PC where this DLL has been installed.
When you get the "...dll missing" message when attempting to run your EXE, check PATH and rectify as appropriate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think it has been at least six years since a static OpenMP library was provided on Windows. It's still there on Linux.

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