Hello, I'm a beginner to the MKL. I'm compiling with the following command:
ifort main.f90 -L/opt/intel/Compiler/11.1/059/mkl/lib/em64t -I/opt/intel/Compiler/11.1/059/mkl/include -Wl,--start-group /opt/intel/Compiler/11.1/059/mkl/lib/em64t/libmkl_intel_lp64.a /opt/intel/Compiler/11.1/059/mkl/lib/em64t/libmkl_intel_thread.a /opt/intel/Compiler/11.1/059/mkl/lib/em64t/libmkl_core.a -Wl,--end-group -liomp5 -lpthread
It keeps getting me error message:
main.f90:(.text+0xe5): undefined reference to 'dcopy_f95_'
I just followed the User's Guide and could find why. Any idea?
Thank you!
ifort main.f90 -L/opt/intel/Compiler/11.1/059/mkl/lib/em64t -I/opt/intel/Compiler/11.1/059/mkl/include -Wl,--start-group /opt/intel/Compiler/11.1/059/mkl/lib/em64t/libmkl_intel_lp64.a /opt/intel/Compiler/11.1/059/mkl/lib/em64t/libmkl_intel_thread.a /opt/intel/Compiler/11.1/059/mkl/lib/em64t/libmkl_core.a -Wl,--end-group -liomp5 -lpthread
It keeps getting me error message:
main.f90:(.text+0xe5): undefined reference to 'dcopy_f95_'
I just followed the User's Guide and could find why. Any idea?
Thank you!
1 解答
It looks like you made a call to blas95, so you would require the libmkl_blas95_lp64.a (matching your intel_lp64) reference before your start-group.
链接已复制
2 回复数
Yes. Now it works. Thank you!