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.