Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
27 Views

MKL c datatype problem

Hi,

I am using cblas from MKL library but I got wrong results after redefine MKL_INT to long.

Is there something wrong?

#define MKL_INT long

#include "mkl.h"

....

mkl_dcscmv(...)

....

 

Thanks!

0 Kudos
2 Replies
Highlighted
Employee
27 Views

Hello, Please refer to https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/ with wanted integer type: ILP64 or LP64 If the issue still insists, please submit your question to our official support website: https://supporttickets.intel.com Best Regards, Ying
0 Kudos
Highlighted
Beginner
27 Views

Hello Ying,

Thanks for the response.

It is the linking library problem.

I have to use mkl_intel_ilp64 instead of mkl_intel_lp64.

Therefore, this problem is solved.

 

Regards,

0 Kudos