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

link error for _mkl_dft_bless_node_omp

I'm trying to compile some FFT code in VS2008 and I've got the following in my files:
#include "mkl_dfti.h"
#include "mkl_service.h"

and I've also included
mkl_cdft_core.lib
mkl_cdft_core_dll.lib
mkl_core.lib
mkl_intel_c.lib
in my project but at link time I get
3>mkl_intel_c.lib(dfticreatedescriptor_s_1d.obj) : error LNK2001: unresolved external symbol _mkl_dft_bless_node_omp
3>mkl_intel_c.lib(dfticreatedescriptor.obj) : error LNK2019: unresolved external symbol _mkl_dft_bless_node_omp referenced in function _DftiCreateDescriptor
3>mkl_intel_c.lib(dfticreatedescriptor_d_md.obj) : error LNK2001: unresolved external symbol _mkl_dft_bless_node_omp
3>mkl_intel_c.lib(dfticreatedescriptor_d_1d.obj) : error LNK2001: unresolved external symbol _mkl_dft_bless_node_omp
3>mkl_intel_c.lib(dfticreatedescriptor_s_md.obj) : error LNK2001: unresolved external symbol _mkl_dft_bless_node_omp

and so on. What silly thing have I left out?
0 Kudos
2 Replies
Highlighted
Moderator
30 Views

in the case of 32 bit - here what you need to link : "mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib"
for the future, please refer the MKL Linker adviser (http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/) or user's guide recomendations also will help for these cases.
0 Kudos
Highlighted
New Contributor III
30 Views

Hi,

Please do follow the recommendations of the above referenced link line advisor.
Also, please note that you probably do not need the cdft libraries at all - they are for Cluster FFT.

Best regards,
Vladimir
0 Kudos