Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Connecting BLAS to CVF?

cyrillique
Beginner
674 Views
I beg pardon for a question about MKL in that forum, but in the MKL dedicated one nobody replies =/ (and I don't believe there isn't any answer to my question!)
So, please, could anybody explain how can I link MKL BLAS 2 routine to my projectin CVF6.6c? DoI need only to specify the static libraries in /ia32? Why in this case the linker messages an error "unresolved external symbol _MKL_DCOOMV@56"? I start wondering indeed if anyone hasever used MKL libraries connected to CVF project...
Thanks
0 Kudos
4 Replies
Steven_L_Intel1
Employee
674 Views
Did you use the set of libraries the MKL documentation says is for use with CVF?
0 Kudos
cyrillique
Beginner
674 Views

Well, i've specified the folderMKL8.0.1ia32lib in Project/settings/link/input/addition library path, and the same folder in environment variables LIB, and the same in Tools/Options/directories/include and library files. I hope that's enough to make the linker find any necessary library...

Concerning CVF, the MKLGetting started suggests the following:

df myprog.f mkl_s.lib libguide.lib CVF default interface for static linking of user code myprog.f, LAPACK, and kernel. df myprog.f mkl_s_dll.lib libguide.lib CVF default interface for dynamic linking of user code myprog.f. DLL dispatcher will load the appropriate DLL for the processor dynamic kernel.

All these lib files are stored in /ia32.

0 Kudos
Steven_L_Intel1
Employee
674 Views
No, that's not enough. You also have to name the libraries under "additional dependencies" in the linker property page. mkl_s.lib and libguide.lib at a minimum.
0 Kudos
cyrillique
Beginner
674 Views
Yohooo! Steve, thank you! The errors havedisappeared now. You've really helped me!
0 Kudos
Reply