I am running the following program using Intel visual fortran compiler professional edition with IMSL on Window Vista.
The first two routines works fine. The third one "LINDS" for computing inverse of a matrix doesn't work. I get error message : this application has failed becasuse mkl-intel-thread.dll was not found. It was included in the conguration properties-> linker->input-> addtional dependencies.
Can anyone please help me what I need to include in the program to get the inverse of the matrix.
Here is the codes I tried:
data f/1.0, -3.0,2.0,-3.0,10.0,-5.0,2.0,-5.0,6.0/
end program trymatrix
Including the MKL directory in the linker dependencies enabled the linker to find the MKL libraries. You probably linked to the MKL import libraries (as opposed to static libraries), which means that the library code still resides in the MKL DLLs, and your application needs to load one or more of those DLLs when the third subroutine makes an MKL routine call.
Simply add the directory containing the MKL DLLs to your execution PATH. I cannot be more specific than that since you did not divulge information regarding versions and directories.
I have successfully compiled and executed several fortran projects with various IMSl subroutines . In each project, I add 2 things:
(1) I include the dll file in the following location:
c:\document\visual studio 2008\projects\trymatrix\trymatrix folder\libiomp5md.dll.
(2) I alsoadd the following lib's
project-> finename properties->configuration properties-> Linker-> input -> Additional dependencies
imsl.lib imslsuperlu.lib imslhpc_l.lib imsls_err.lib imslmpistub.lib mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib imslmkl_dll.lib mkl_intel_c_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib libiomp5md.lib libguide40.lib
But, in this project trymatrix (this is an example from IMSL guide),the LINDS subroutine creates the problem. In the IMSLmanuals, they gave examples using scaLAPACK . Is there anylib/dll files related to scaLAPACK which needs to be included?
When I click "Build solution" compilation works ok.
> compiling with intel visual fortran 11.1.035 (IA-32).
> Build: 1 succeeded, 0 - failed....
When I click with (or without) debugging, "trymatrix.exe - unable to locate compnent" window pop up and show the sameerror message I pointed out in my original message.
Thanks in advance for any help.