0

I am implementing dot product using cblas_ddot of mkl library. Command - icc -mmic -o out dot_product.c -lm error : undefined reference to 'cblas_ddot'

I have included header files of mkl.h and mkl_cblas.h in source code

Please suggest a solution

user3509540
  • 41
  • 1
  • 7

1 Answers1

0

maybe you should include rather than ; Plus, your error says you are lacking library, you need to tell your compiler which library to link, e.g. -lcblas to link libcblas.a or libcblas.so

Coderzelf
  • 752
  • 3
  • 10
  • 26