I have a working (or so I thought) program that uses these mkl routines to invert a matrix. The first few lines are
PROGRAM MKLinvert
USE LAPACK95, ONLY: GETRF, GETRI
USE F95_PRECISION, ONLY: WP => SP ! or DP
:
The Fortran libraries are
Debug: Debug QuickWin (/libs:qwin /dbglibs) /Qmkl:parallel
Release: QuickWin (/libs:qwin) /Qmkl:parallel
The linker dependencies are:
mkl_Lapack95.lib
The program builds and runs OK from within the VS environment. However, when I try to run the stand-alone exe files, I get a rte "libiomp5md.dll not found." In the past I have fixed a similar error (report of a missing dll file) by observing that the Fortran libray was "../libs:dll" (by mistake) and changing it to "../libs:static", but that's not the case here.
I DO have the file libiomp5md.dll on my system, in several different locations. Adding this to my link line does not help. Would it help to include the path to one of these? (I suspect that the reported missing dll is a white elephant and the problem is really somewhere else.)
Any ideas?