- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I want to use the dsysv_ lapack routine in my project.
In the following is a detail of the makefile:
LIBS = -L"C:/Dev-Cpp/lib" -L"C:/Programme/Intel/MKL/10.0.1.015/ia32/lib" ../../Programme/Intel/MKL/10.0.1.015/ia32/lib/libguide.lib ../../Programme/Intel/MKL/10.0.1.015/ia32/lib/mkl_c.lib ../../Programme/Intel/MKL/10.0.1.015/ia32/lib/mkl_lapack.lib
INCS = -I"C:/Dev-Cpp/include" -I"C:/Programme/Intel/MKL/10.0.1.015/include"
It should be done like the linking options in the doc.
I get the following error message:
Warning: .drectve `-defaultlib:mkl_intel_c ' unrecognized
Warning: .drectve `-defaultlib:mkl_intel_thread ' unrecognized
Warning: .drectve `-defaultlib:mkl_core ' unrecognized
../../Applications/ChemistryProgram/Libraries/TH_lib/src/th_lib.o:th_lib.cpp:(.text+0x728d): undefined reference to `dsysv_'
../../Applications/ChemistryProgram/Libraries/TH_lib/src/th_lib.o:th_lib.cpp:(.text+0x77b6): undefined reference to `dsysv_'
collect2: ld returned 1 exit status
make.exe: *** [wfls.exe] Error 1
Could You help me please?
Kind regards,
Holger Schmidt
I want to use the dsysv_ lapack routine in my project.
In the following is a detail of the makefile:
LIBS = -L"C:/Dev-Cpp/lib" -L"C:/Programme/Intel/MKL/10.0.1.015/ia32/lib" ../../Programme/Intel/MKL/10.0.1.015/ia32/lib/libguide.lib ../../Programme/Intel/MKL/10.0.1.015/ia32/lib/mkl_c.lib ../../Programme/Intel/MKL/10.0.1.015/ia32/lib/mkl_lapack.lib
INCS = -I"C:/Dev-Cpp/include" -I"C:/Programme/Intel/MKL/10.0.1.015/include"
It should be done like the linking options in the doc.
I get the following error message:
Warning: .drectve `-defaultlib:mkl_intel_c ' unrecognized
Warning: .drectve `-defaultlib:mkl_intel_thread ' unrecognized
Warning: .drectve `-defaultlib:mkl_core ' unrecognized
../../Applications/ChemistryProgram/Libraries/TH_lib/src/th_lib.o:th_lib.cpp:(.text+0x728d): undefined reference to `dsysv_'
../../Applications/ChemistryProgram/Libraries/TH_lib/src/th_lib.o:th_lib.cpp:(.text+0x77b6): undefined reference to `dsysv_'
collect2: ld returned 1 exit status
make.exe: *** [wfls.exe] Error 1
Could You help me please?
Kind regards,
Holger Schmidt
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not certain that you can link MKL with gcc compiled objects under Windows; I haven't had success with it. I guess you are hinting you are using MingW32. You might have better luck with the new "layered" libraries (mkl_core, mkl_thread) rather than the backward compatibility wrappers mkl_c, mkl_lapack. You might also consider the warning against static linking when using mkl_thread.

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