Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29273 Discussions

libiomp5md.dll is missing from your computer

MZ2
New Contributor I
1,228 Views

I am building for 64-bit with the /Qparallel and the /Qipo options using Intel Fortran Parallel Studio 2013 SP1 Update 3. When I try to run the executable on another Windows 7 x64  machine, I get a message box that says "The program can't start because libiomp5md.dll is missing from your computer. Try reinstalling the program to fix this problem." My link options are set for static libraries. I found this thread from a few years back and tried to use the "/Qopenmp-link:static" compiler option as suggested in the thread, and I then get "ifort: command line remark #10148: option '/Qopenmp-link:static' not supported" messages as the compiler compiles my fortran files. Attached is a screenshot of the original message box.

How do I link this library statically?

Thanks.

0 Kudos
1 Reply
TimP
Honored Contributor III
1,228 Views

As you've seen, there no longer is a static link option for the OpenMP library.  You would need to copy the .dll to the target machine (e.g. to the same folder as the .exe) (or install the redistributable libraries).

0 Kudos
Reply