Apologies for coming here with what is obviously a beginners problem, but I cant seem to get a matrix inversion routine from LAPACK to compile in an existing fortran program. I am programming in Visual Studio 2005, with the Intel Visual Fortran Compiler 11.0.072 (professional edition) that includes the MKL for IA32 platforms.
I have followed these steps from the MKL Users Manual:
1) I have compiled BLAS95 and LAPACK95 library and module files successfully
2) In Configuration Properties > Fortran > General > Additional Include Directories, I have added "\include" (in quotation marks)
3) In Configuration Properties > Linker > General > Additional Library Directories, I have added "\ia32\lib"
4) In Configuration Properties > Linker > Input > Additional Dependencies, I have added mkl_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5mt.lib
When I then try to compile the program with a call to the LAPACK95 routine GETRF, for example, the subroutine is not recognised.
The code does, however, seem to work perfectly with calls to LAPACK - it's just the Fortran 95 calls that I am having problems with.
Can anyone let me know what I need to add / change?