Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

EM64T and dcabs1

easwaran_viswanathan
561 Views
Hi,
In our application, we are trying to link in the Intel MKL library. However, the calls are being made from fortran. I get the following symbol undefined:
dcabs1_
Almost all the blas routines define functions/subroutines with the underscore appended to it. This is the only symbol I get as undefined. The only work around I had was to download this blas routine, compile it locally and link it in. The details are as follows:
1. MKL version 7.0.1 (EM64T platform)
2. The link stream had the following (-lmkl_lapack -lmkl_em64t -lmkl -lguide)
Did anyone else experience this?
Thanks.
0 Kudos
2 Replies
TimP
Honored Contributor III
561 Views
I suppose MKL is expecting to find that function in the support libraries which come with 64-bit ifort. It looks like that is missing from the ifort libraries in my installation and yours. I would suggest you file an issue on premier.intel.com which shows the link failure.
0 Kudos
Todd_R_Intel
Employee
561 Views
You need notuse -lmkl on your link line. The use of -lmkl_lapack and -lmkl_em64t should resolve all references.
-Todd
0 Kudos
Reply