Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cedric_laurent
Beginner
177 Views

Link MKL with cygwin (and gfortran)

Hello

I would like to use the library MKL(for windows) with cygwin, using gfortran compiler instead of ifort.

I have problems at the linking with MKL libraries with this command

gfortran -o code.exe obj.o /cygdrive/c/Program\\ Files/Intel/ComposerXE-2011/mkl /cygdrive/c/Program\\ Files/Intel/ComposerXE-2011/mkl/mkl_intel_ilp64.lib /cygdrive/c/Program\\ Files/Intel/ComposerXE-2011/mkl/mkl_intel_thread.lib /cygdrive/c/Program\\ Files/Intel/ComposerXE-2011/mkl/mkl_core.lib

Is it possible to link such a way objects compiled under cygwin by gfortran and MKL libraries ?

Thanks for help.

Dam & Lau.
0 Kudos
2 Replies
Gennady_F_Intel
Moderator
177 Views

Please try to link with gfortran libs:libmkl_gnu_thread.a andlibmkl_gf_ilp64.a.
for the future, we would recomend you refer first of all to MKL Linker adviser.
--Gennady
Gennady_F_Intel
Moderator
177 Views

Cedric,
the similar problem has been resolved here.
Reply