- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to compile the example cblas_caxpy example in the following environment
qt creator 4.2.1
qt 5.8.0
compiler : g++
os: linux debian 8.0 64 bits
I linked with lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 and added I guess proper include path but I get the following compile error:
in function 'main':
undefined reference to GetIntegerParameters
undefined reference to GetScalarC
etc..
What did I miss ?
Thanks
Agks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi agks,
Are you compiling the sample in MKL examples folder? If so, please notice there's one more source file need to be compiled, common_func.c
Actually, we provided makefile in the directory examples/cblas for building samples, you could use refer to use.
Best regards,
Fiona
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi agks,
Are you compiling the sample in MKL examples folder? If so, please notice there's one more source file need to be compiled, common_func.c
Actually, we provided makefile in the directory examples/cblas for building samples, you could use refer to use.
Best regards,
Fiona
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
GetIntegerParameters and GetScalarC are declared in mkl_example.h file mklroot/examples/cblas/source ). you just need to include this header.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fiona, you are right I forgot this common_func.c file
Thanks a lot
agks
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page