- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I now have MKL, using dgemm etc, working fine with the Intel Fortran Compiler 9.0. It works just fine if I add the line
!dec$objcomment lib: mkl_c.lib
in my source code. In a similar way I reference libguide.lib.
(I have even managed to use both MKL and IMSL in the same program. I let IMSLhandle matrix inversion etc by adding !dec$objcomment lib: imsl.lib [but NOT !dec$objcomment lib:imslblas.lib])
My problem is that I would like to"mex"my Fortran source, i.e. use Matlab and theIntel Fortran compiler to create a .dll file that is callable from Matlab.This works fine if I use only IMSL, but any mention of the above line(i.e.using MKL code) means that the.dll filewil cause an immediate crash of Matlab (R2007a). It does compile and link without warning though.
Any ideas on how to"mex"using MKL and the Intel FortranCompiler would be greatly appreciated.
Regards,
KarlWalentin
Link Copied

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