I linked the MKL to my CVF 6.6 project and linked and executed the attached examples from the BLAS and LAPACk libraries. This took lots of trials to know what libraries are required.
However, when I tried to test the examples in the sparse solver directory (pardiso_sym, dss_sym) I faced a very strange problem. The examples compile correctly, but when executed the execution crashes and I have to exit the program. The libraries I used then were the default libraries (libguide40.lib mkl_solver.lib) and the default library for the CVF interface (mkl_s.lib).
After a while with no luck of executing any of the sparse solvers examples I desperatley tried to use the CDECL interface instead (mkl_c.lib, which should be used with Intel Fortran as mentioned in the documentation). It amazingly compiled and executed correctly.
So what is the problem? I now need to use one of the BLAS level3 routines also in my project; mkl_dcsrsymv. This requires to add the library with the CVF interface (mkl_s.lib). Now I can't utilize any of the BLAS routines because they require the CVF interface , while to use the sparse solver routines I have to include the CDECL interface. Including both libraries fails because of repitition of function names.