- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi MKL users,
I don't know how to link my program to MKL package. I want to use two libraries, lapack and pardiso, in MKL and try to link it to my program with the following command:
ifort -i8 -o prog prog.f -L /MKL path/ -I /INCLUDE path -Wl,--start-group -lmkl_intel_ilp64.a -lmkl_intel_thread.a -lmkl_solver_ilp64.a -lmkl_lapack.a -Wl
,--end-group -lguide -lpthread -lm&
But obtain the following error:
ld: cannot find -lmkl_intel_ilp64.a
I also set environment variables in ./bashrc, .bash_profile and .profile files, such as PATH, LIB, INCLUDE.
Could someone tell me what is wrong in detail? I am not very familiar with those stuffs. Thanks in advance.
Wen
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Wen,
Please make sure the path /MKL path/ you are using in the link line does contain the required libraries (e.g. libmkl_intel_ilp64.a or libmkl_intel_ilp64.so). Usually such paths look like this:
/opt/mkl100/lib/em64t
Best regards,
-Vladimir
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Wen,
Please make sure the path /MKL path/ you are using in the link line does contain the required libraries (e.g. libmkl_intel_ilp64.a or libmkl_intel_ilp64.so). Usually such paths look like this:
/opt/mkl100/lib/em64t
Best regards,
-Vladimir