<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Visual Studio 2015,  Parallel Studio 2017 Update 2, link does not include the FFTW etc libraries in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Visual-Studio-2015-Parallel-Studio-2017-Update-2-link-does-not/m-p/1086507#M23001</link>
    <description>&lt;P&gt;'I have just repaired my VS 2017 installation after some weird problem (maybe caused by PS 2017 Update 2 install)&lt;BR /&gt;
	&lt;BR /&gt;
	​After that I had to completely uninstall and reinstall&amp;nbsp; all my PS products because there was no other way to get it to reintegrate into VS 2015&amp;nbsp; (change components via Control Panel&amp;nbsp; Uninstall... for example did not do it)&lt;/P&gt;

&lt;P&gt;With this done the Intel Performance Libraries appears in the VS pulldowns again, and the "use MKL" choice now lets C++ find the include files.&amp;nbsp;&amp;nbsp; The link, on the other hand, is a dismal failure.&amp;nbsp;&amp;nbsp;&amp;nbsp; It doesn't work, and there is no obvious way of deciding why it doesn't work - for example the "whole command line" property on the project - linker property page does not include any MKL stuff even when it does work&lt;/P&gt;

&lt;P&gt;To say that I find the integration of PS into VS&amp;nbsp;to be a source of frustration rather than help is an understatement.&amp;nbsp; It is poorly documented and a continuous source of problems.&lt;/P&gt;

&lt;P&gt;1&amp;gt;findBestPoints.obj : error LNK2019: unresolved external symbol LAPACKE_dlasrt referenced in function "public: virtual void __cdecl FindBestPoints_Impl_Sort::prepareToPop(void)" (?prepareToPop@FindBestPoints_Impl_Sort@@UEAAXXZ)&lt;BR /&gt;
	1&amp;gt;map3d_optimizer_old.obj : error LNK2001: unresolved external symbol LAPACKE_dlasrt&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_init_threads referenced in function "public: void __cdecl FFTWBase::init(double *,double (*)[2],unsigned __int64,unsigned __int64,unsigned __int64,int)" (?init@FFTWBase@@QEAAXPEANPEAY01N_K22H@Z)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_plan_with_nthreads referenced in function "public: void __cdecl FFTWBase::init(double *,double (*)[2],unsigned __int64,unsigned __int64,unsigned __int64,int)" (?init@FFTWBase@@QEAAXPEANPEAY01N_K22H@Z)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_cleanup_threads referenced in function "public: void __cdecl FFTWBase::fini(void)" (?fini@FFTWBase@@QEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_plan_dft_r2c_2d referenced in function "protected: void __cdecl FFTWBase::create_plan(void)" (?create_plan@FFTWBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_plan_dft_c2r_2d referenced in function "protected: void __cdecl FFTWBase::create_plan(void)" (?create_plan@FFTWBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_plan_dft_r2c_3d referenced in function "protected: void __cdecl FFTWBase::create_plan(void)" (?create_plan@FFTWBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_plan_dft_c2r_3d referenced in function "protected: void __cdecl FFTWBase::create_plan(void)" (?create_plan@FFTWBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_destroy_plan referenced in function "protected: void __cdecl FFTWBase::delete_plan(void)" (?delete_plan@FFTWBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_cleanup referenced in function "protected: void __cdecl FFTWBase::delete_plan(void)" (?delete_plan@FFTWBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_execute referenced in function "protected: void __cdecl FFTWBase::forward_execute(void)" (?forward_execute@FFTWBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_init_threads referenced in function "public: void __cdecl FFTWFBase::init(float *,float (*)[2],unsigned __int64,unsigned __int64,unsigned __int64,int)" (?init@FFTWFBase@@QEAAXPEAMPEAY01M_K22H@Z)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_plan_with_nthreads referenced in function "public: void __cdecl FFTWFBase::init(float *,float (*)[2],unsigned __int64,unsigned __int64,unsigned __int64,int)" (?init@FFTWFBase@@QEAAXPEAMPEAY01M_K22H@Z)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_cleanup_threads referenced in function "public: void __cdecl FFTWFBase::fini(void)" (?fini@FFTWFBase@@QEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_plan_dft_r2c_2d referenced in function "protected: void __cdecl FFTWFBase::create_plan(void)" (?create_plan@FFTWFBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;spider.obj : error LNK2001: unresolved external symbol fftwf_plan_dft_r2c_2d&lt;BR /&gt;
	1&amp;gt;spider_old.obj : error LNK2001: unresolved external symbol fftwf_plan_dft_r2c_2d&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_plan_dft_c2r_2d referenced in function "protected: void __cdecl FFTWFBase::create_plan(void)" (?create_plan@FFTWFBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;spider.obj : error LNK2001: unresolved external symbol fftwf_plan_dft_c2r_2d&lt;BR /&gt;
	1&amp;gt;spider_old.obj : error LNK2001: unresolved external symbol fftwf_plan_dft_c2r_2d&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_plan_dft_r2c_3d referenced in function "protected: void __cdecl FFTWFBase::create_plan(void)" (?create_plan@FFTWFBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_plan_dft_c2r_3d referenced in function "protected: void __cdecl FFTWFBase::create_plan(void)" (?create_plan@FFTWFBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_destroy_plan referenced in function "protected: void __cdecl FFTWFBase::delete_plan(void)" (?delete_plan@FFTWFBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;spider.obj : error LNK2001: unresolved external symbol fftwf_destroy_plan&lt;BR /&gt;
	1&amp;gt;spider_old.obj : error LNK2001: unresolved external symbol fftwf_destroy_plan&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_cleanup referenced in function "protected: void __cdecl FFTWFBase::delete_plan(void)" (?delete_plan@FFTWFBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_execute referenced in function "protected: void __cdecl FFTWFBase::forward_execute(void)" (?forward_execute@FFTWFBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;spider.obj : error LNK2001: unresolved external symbol fftwf_execute&lt;BR /&gt;
	1&amp;gt;spider_old.obj : error LNK2001: unresolved external symbol fftwf_execute&lt;BR /&gt;
	1&amp;gt;fft_fftw3.obj : error LNK2019: unresolved external symbol fftw_malloc referenced in function "public: __cdecl FFTWTransformer::FFTWTransformer(unsigned __int64,unsigned __int64,unsigned __int64)" (??0FFTWTransformer@@QEAA@_K00@Z)&lt;BR /&gt;
	1&amp;gt;fft_fftw3.obj : error LNK2019: unresolved external symbol fftw_free referenced in function "public: __cdecl FFTWTransformer::~FFTWTransformer(void)" (??1FFTWTransformer@@QEAA@XZ)&lt;BR /&gt;
	1&amp;gt;fft_fftw3.obj : error LNK2019: unresolved external symbol fftwf_malloc referenced in function "public: __cdecl FFTWFTransformer::FFTWFTransformer(unsigned __int64,unsigned __int64,unsigned __int64)" (??0FFTWFTransformer@@QEAA@_K00@Z)&lt;BR /&gt;
	1&amp;gt;spider_old.obj : error LNK2001: unresolved external symbol fftwf_malloc&lt;BR /&gt;
	1&amp;gt;fft_fftw3.obj : error LNK2019: unresolved external symbol fftwf_free referenced in function "public: __cdecl FFTWFTransformer::~FFTWFTransformer(void)" (??1FFTWFTransformer@@QEAA@XZ)&lt;BR /&gt;
	1&amp;gt;spider_old.obj : error LNK2001: unresolved external symbol fftwf_free&lt;BR /&gt;
	1&amp;gt;initialize.obj : error LNK2019: unresolved external symbol LAPACKE_dgels referenced in function "void __cdecl mkl_solveNotdetermined(double *,int,int,double *,int)" (?mkl_solveNotdetermined@@YAXPEANHH0H@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2001: unresolved external symbol LAPACKE_dgels&lt;BR /&gt;
	1&amp;gt;initialize.obj : error LNK2019: unresolved external symbol LAPACKE_sgels referenced in function "void __cdecl mkl_solveNotdetermined(float *,int,int,float *,int)" (?mkl_solveNotdetermined@@YAXPEAMHH0H@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2019: unresolved external symbol vsldSSNewTask referenced in function "private: int __cdecl Pca::mkl_cov(double *,int,int,double *,double *)" (?mkl_cov@Pca@@AEAAHPEANHH00@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2019: unresolved external symbol vsldSSEditCovCor referenced in function "private: int __cdecl Pca::mkl_cov(double *,int,int,double *,double *)" (?mkl_cov@Pca@@AEAAHPEANHH00@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2019: unresolved external symbol vsldSSCompute referenced in function "private: int __cdecl Pca::mkl_cov(double *,int,int,double *,double *)" (?mkl_cov@Pca@@AEAAHPEANHH00@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2019: unresolved external symbol vslSSDeleteTask referenced in function "private: int __cdecl Pca::mkl_cov(double *,int,int,double *,double *)" (?mkl_cov@Pca@@AEAAHPEANHH00@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2019: unresolved external symbol vsldSSEditTask referenced in function "private: double __cdecl Pca::mkl_meanVec(double *,int)" (?mkl_meanVec@Pca@@AEAANPEANH@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2019: unresolved external symbol LAPACKE_dsytrd referenced in function "private: double * __cdecl Pca::mkl_eig(double *,int)" (?mkl_eig@Pca@@AEAAPEANPEANH@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2019: unresolved external symbol LAPACKE_dorgtr referenced in function "private: double * __cdecl Pca::mkl_eig(double *,int)" (?mkl_eig@Pca@@AEAAPEANPEANH@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2019: unresolved external symbol LAPACKE_dsteqr referenced in function "private: double * __cdecl Pca::mkl_eig(double *,int)" (?mkl_eig@Pca@@AEAAPEANPEANH@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2019: unresolved external symbol cblas_dgemm referenced in function "private: double * __cdecl Pca::mkl_multiplyMat(double *,int,int,double *,int,int)" (?mkl_multiplyMat@Pca@@AEAAPEANPEANHH0HH@Z)&lt;BR /&gt;
	1&amp;gt;C:\local\ipccsb\ROME1.1\Windows\rome_map3d\x64\Debug\rome_map3d.exe : fatal error LNK1120: 36 unresolved externals&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2017 01:31:39 GMT</pubDate>
    <dc:creator>bevin_b_</dc:creator>
    <dc:date>2017-04-18T01:31:39Z</dc:date>
    <item>
      <title>Visual Studio 2015,  Parallel Studio 2017 Update 2, link does not include the FFTW etc libraries</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Visual-Studio-2015-Parallel-Studio-2017-Update-2-link-does-not/m-p/1086507#M23001</link>
      <description>&lt;P&gt;'I have just repaired my VS 2017 installation after some weird problem (maybe caused by PS 2017 Update 2 install)&lt;BR /&gt;
	&lt;BR /&gt;
	​After that I had to completely uninstall and reinstall&amp;nbsp; all my PS products because there was no other way to get it to reintegrate into VS 2015&amp;nbsp; (change components via Control Panel&amp;nbsp; Uninstall... for example did not do it)&lt;/P&gt;

&lt;P&gt;With this done the Intel Performance Libraries appears in the VS pulldowns again, and the "use MKL" choice now lets C++ find the include files.&amp;nbsp;&amp;nbsp; The link, on the other hand, is a dismal failure.&amp;nbsp;&amp;nbsp;&amp;nbsp; It doesn't work, and there is no obvious way of deciding why it doesn't work - for example the "whole command line" property on the project - linker property page does not include any MKL stuff even when it does work&lt;/P&gt;

&lt;P&gt;To say that I find the integration of PS into VS&amp;nbsp;to be a source of frustration rather than help is an understatement.&amp;nbsp; It is poorly documented and a continuous source of problems.&lt;/P&gt;

&lt;P&gt;1&amp;gt;findBestPoints.obj : error LNK2019: unresolved external symbol LAPACKE_dlasrt referenced in function "public: virtual void __cdecl FindBestPoints_Impl_Sort::prepareToPop(void)" (?prepareToPop@FindBestPoints_Impl_Sort@@UEAAXXZ)&lt;BR /&gt;
	1&amp;gt;map3d_optimizer_old.obj : error LNK2001: unresolved external symbol LAPACKE_dlasrt&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_init_threads referenced in function "public: void __cdecl FFTWBase::init(double *,double (*)[2],unsigned __int64,unsigned __int64,unsigned __int64,int)" (?init@FFTWBase@@QEAAXPEANPEAY01N_K22H@Z)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_plan_with_nthreads referenced in function "public: void __cdecl FFTWBase::init(double *,double (*)[2],unsigned __int64,unsigned __int64,unsigned __int64,int)" (?init@FFTWBase@@QEAAXPEANPEAY01N_K22H@Z)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_cleanup_threads referenced in function "public: void __cdecl FFTWBase::fini(void)" (?fini@FFTWBase@@QEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_plan_dft_r2c_2d referenced in function "protected: void __cdecl FFTWBase::create_plan(void)" (?create_plan@FFTWBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_plan_dft_c2r_2d referenced in function "protected: void __cdecl FFTWBase::create_plan(void)" (?create_plan@FFTWBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_plan_dft_r2c_3d referenced in function "protected: void __cdecl FFTWBase::create_plan(void)" (?create_plan@FFTWBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_plan_dft_c2r_3d referenced in function "protected: void __cdecl FFTWBase::create_plan(void)" (?create_plan@FFTWBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_destroy_plan referenced in function "protected: void __cdecl FFTWBase::delete_plan(void)" (?delete_plan@FFTWBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_cleanup referenced in function "protected: void __cdecl FFTWBase::delete_plan(void)" (?delete_plan@FFTWBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftw_execute referenced in function "protected: void __cdecl FFTWBase::forward_execute(void)" (?forward_execute@FFTWBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_init_threads referenced in function "public: void __cdecl FFTWFBase::init(float *,float (*)[2],unsigned __int64,unsigned __int64,unsigned __int64,int)" (?init@FFTWFBase@@QEAAXPEAMPEAY01M_K22H@Z)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_plan_with_nthreads referenced in function "public: void __cdecl FFTWFBase::init(float *,float (*)[2],unsigned __int64,unsigned __int64,unsigned __int64,int)" (?init@FFTWFBase@@QEAAXPEAMPEAY01M_K22H@Z)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_cleanup_threads referenced in function "public: void __cdecl FFTWFBase::fini(void)" (?fini@FFTWFBase@@QEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_plan_dft_r2c_2d referenced in function "protected: void __cdecl FFTWFBase::create_plan(void)" (?create_plan@FFTWFBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;spider.obj : error LNK2001: unresolved external symbol fftwf_plan_dft_r2c_2d&lt;BR /&gt;
	1&amp;gt;spider_old.obj : error LNK2001: unresolved external symbol fftwf_plan_dft_r2c_2d&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_plan_dft_c2r_2d referenced in function "protected: void __cdecl FFTWFBase::create_plan(void)" (?create_plan@FFTWFBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;spider.obj : error LNK2001: unresolved external symbol fftwf_plan_dft_c2r_2d&lt;BR /&gt;
	1&amp;gt;spider_old.obj : error LNK2001: unresolved external symbol fftwf_plan_dft_c2r_2d&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_plan_dft_r2c_3d referenced in function "protected: void __cdecl FFTWFBase::create_plan(void)" (?create_plan@FFTWFBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_plan_dft_c2r_3d referenced in function "protected: void __cdecl FFTWFBase::create_plan(void)" (?create_plan@FFTWFBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_destroy_plan referenced in function "protected: void __cdecl FFTWFBase::delete_plan(void)" (?delete_plan@FFTWFBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;spider.obj : error LNK2001: unresolved external symbol fftwf_destroy_plan&lt;BR /&gt;
	1&amp;gt;spider_old.obj : error LNK2001: unresolved external symbol fftwf_destroy_plan&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_cleanup referenced in function "protected: void __cdecl FFTWFBase::delete_plan(void)" (?delete_plan@FFTWFBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;fft_base.obj : error LNK2019: unresolved external symbol fftwf_execute referenced in function "protected: void __cdecl FFTWFBase::forward_execute(void)" (?forward_execute@FFTWFBase@@IEAAXXZ)&lt;BR /&gt;
	1&amp;gt;spider.obj : error LNK2001: unresolved external symbol fftwf_execute&lt;BR /&gt;
	1&amp;gt;spider_old.obj : error LNK2001: unresolved external symbol fftwf_execute&lt;BR /&gt;
	1&amp;gt;fft_fftw3.obj : error LNK2019: unresolved external symbol fftw_malloc referenced in function "public: __cdecl FFTWTransformer::FFTWTransformer(unsigned __int64,unsigned __int64,unsigned __int64)" (??0FFTWTransformer@@QEAA@_K00@Z)&lt;BR /&gt;
	1&amp;gt;fft_fftw3.obj : error LNK2019: unresolved external symbol fftw_free referenced in function "public: __cdecl FFTWTransformer::~FFTWTransformer(void)" (??1FFTWTransformer@@QEAA@XZ)&lt;BR /&gt;
	1&amp;gt;fft_fftw3.obj : error LNK2019: unresolved external symbol fftwf_malloc referenced in function "public: __cdecl FFTWFTransformer::FFTWFTransformer(unsigned __int64,unsigned __int64,unsigned __int64)" (??0FFTWFTransformer@@QEAA@_K00@Z)&lt;BR /&gt;
	1&amp;gt;spider_old.obj : error LNK2001: unresolved external symbol fftwf_malloc&lt;BR /&gt;
	1&amp;gt;fft_fftw3.obj : error LNK2019: unresolved external symbol fftwf_free referenced in function "public: __cdecl FFTWFTransformer::~FFTWFTransformer(void)" (??1FFTWFTransformer@@QEAA@XZ)&lt;BR /&gt;
	1&amp;gt;spider_old.obj : error LNK2001: unresolved external symbol fftwf_free&lt;BR /&gt;
	1&amp;gt;initialize.obj : error LNK2019: unresolved external symbol LAPACKE_dgels referenced in function "void __cdecl mkl_solveNotdetermined(double *,int,int,double *,int)" (?mkl_solveNotdetermined@@YAXPEANHH0H@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2001: unresolved external symbol LAPACKE_dgels&lt;BR /&gt;
	1&amp;gt;initialize.obj : error LNK2019: unresolved external symbol LAPACKE_sgels referenced in function "void __cdecl mkl_solveNotdetermined(float *,int,int,float *,int)" (?mkl_solveNotdetermined@@YAXPEAMHH0H@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2019: unresolved external symbol vsldSSNewTask referenced in function "private: int __cdecl Pca::mkl_cov(double *,int,int,double *,double *)" (?mkl_cov@Pca@@AEAAHPEANHH00@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2019: unresolved external symbol vsldSSEditCovCor referenced in function "private: int __cdecl Pca::mkl_cov(double *,int,int,double *,double *)" (?mkl_cov@Pca@@AEAAHPEANHH00@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2019: unresolved external symbol vsldSSCompute referenced in function "private: int __cdecl Pca::mkl_cov(double *,int,int,double *,double *)" (?mkl_cov@Pca@@AEAAHPEANHH00@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2019: unresolved external symbol vslSSDeleteTask referenced in function "private: int __cdecl Pca::mkl_cov(double *,int,int,double *,double *)" (?mkl_cov@Pca@@AEAAHPEANHH00@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2019: unresolved external symbol vsldSSEditTask referenced in function "private: double __cdecl Pca::mkl_meanVec(double *,int)" (?mkl_meanVec@Pca@@AEAANPEANH@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2019: unresolved external symbol LAPACKE_dsytrd referenced in function "private: double * __cdecl Pca::mkl_eig(double *,int)" (?mkl_eig@Pca@@AEAAPEANPEANH@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2019: unresolved external symbol LAPACKE_dorgtr referenced in function "private: double * __cdecl Pca::mkl_eig(double *,int)" (?mkl_eig@Pca@@AEAAPEANPEANH@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2019: unresolved external symbol LAPACKE_dsteqr referenced in function "private: double * __cdecl Pca::mkl_eig(double *,int)" (?mkl_eig@Pca@@AEAAPEANPEANH@Z)&lt;BR /&gt;
	1&amp;gt;pca_optimizer.obj : error LNK2019: unresolved external symbol cblas_dgemm referenced in function "private: double * __cdecl Pca::mkl_multiplyMat(double *,int,int,double *,int,int)" (?mkl_multiplyMat@Pca@@AEAAPEANPEANHH0HH@Z)&lt;BR /&gt;
	1&amp;gt;C:\local\ipccsb\ROME1.1\Windows\rome_map3d\x64\Debug\rome_map3d.exe : fatal error LNK1120: 36 unresolved externals&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 01:31:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Visual-Studio-2015-Parallel-Studio-2017-Update-2-link-does-not/m-p/1086507#M23001</guid>
      <dc:creator>bevin_b_</dc:creator>
      <dc:date>2017-04-18T01:31:39Z</dc:date>
    </item>
    <item>
      <title>Hi Bevin,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Visual-Studio-2015-Parallel-Studio-2017-Update-2-link-does-not/m-p/1086508#M23002</link>
      <description>&lt;P&gt;Hi Bevin,&lt;/P&gt;

&lt;P&gt;MKL does not provide integration for FFTW with VS. FFTW lib should be generated by your self (nmake to generate under %MKLROOT%\interface\fftw3xc) and add it to additional linkage. You will also required to include FFTW header which is saved in Please refer this link to learn:&amp;nbsp;&lt;BR /&gt;
	&lt;A href="https://software.intel.com/en-us/node/522280"&gt;Building Your Own FFTW3 Interface Wrapper Library&lt;/A&gt;&lt;BR /&gt;
	&lt;A href="https://software.intel.com/en-us/node/522281" style="font-size: 1em;"&gt;Building an Application With FFTW3 Interface Wrappers&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
	Fiona&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 08:04:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Visual-Studio-2015-Parallel-Studio-2017-Update-2-link-does-not/m-p/1086508#M23002</guid>
      <dc:creator>Zhen_Z_Intel</dc:creator>
      <dc:date>2017-04-18T08:04:22Z</dc:date>
    </item>
    <item>
      <title>Well, that explains a small</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Visual-Studio-2015-Parallel-Studio-2017-Update-2-link-does-not/m-p/1086509#M23003</link>
      <description>&lt;P&gt;Well, that explains a small part of my problem, but it does not explain&lt;BR /&gt;
	&lt;BR /&gt;
	​1) Why it did work until recently when I had to repair VS and reintegrate PS into VS&lt;BR /&gt;
	&lt;BR /&gt;
	​2) Why the following does not work&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;DIV&gt;#include "stdafx.h"&lt;BR /&gt;
	#include &amp;lt;mkl.h&amp;gt;&lt;/DIV&gt;

&lt;DIV&gt;int main()&lt;BR /&gt;
	{&lt;BR /&gt;
	&amp;nbsp;double *A&amp;nbsp;= nullptr;&lt;BR /&gt;
	&amp;nbsp;int N&amp;nbsp;&amp;nbsp;= 0;&lt;BR /&gt;
	&amp;nbsp;int M&amp;nbsp;&amp;nbsp;= 0;&lt;BR /&gt;
	&amp;nbsp;double *B&amp;nbsp;= nullptr;&lt;BR /&gt;
	&amp;nbsp;int D&amp;nbsp;&amp;nbsp;= 0;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;int info = LAPACKE_dgels(LAPACK_ROW_MAJOR, 'N', N, M, D, A, M, B, D);&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;return 0;&lt;BR /&gt;
	}&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;P&gt;1&amp;gt;------ Build started: Project: Use_LAPACK, Configuration: Debug x64 ------&lt;BR /&gt;
	1&amp;gt;&amp;nbsp; Use_LAPACK.cpp&lt;BR /&gt;
	1&amp;gt;Use_LAPACK.obj : error LNK2019: unresolved external symbol LAPACKE_dgels referenced in function main&lt;BR /&gt;
	1&amp;gt;c:\users\bevin\onedrive\documents\visual studio 2015\Projects\Use_LAPACK\x64\Debug\Use_LAPACK.exe : fatal error LNK1120: 1 unresolved externals&lt;BR /&gt;
	========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 19:15:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Visual-Studio-2015-Parallel-Studio-2017-Update-2-link-does-not/m-p/1086509#M23003</guid>
      <dc:creator>bevin_b_</dc:creator>
      <dc:date>2017-04-19T19:15:35Z</dc:date>
    </item>
    <item>
      <title>Hi bevin,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Visual-Studio-2015-Parallel-Studio-2017-Update-2-link-does-not/m-p/1086510#M23004</link>
      <description>&lt;P&gt;Hi bevin,&lt;/P&gt;

&lt;P&gt;Seems there's something wrong with VS integration that mkl lib are not been linked. I checked IPS2017u2 do not have this bug. I recommend to re-install it. If do not want to, y&lt;SPAN style="font-size: 1em;"&gt;ou could add MKL include &amp;amp; lib path manually. Please refer this &lt;/SPAN&gt;&lt;A href="https://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-compiling-and-linking-with-microsoft-visual-cc" style="font-size: 1em;"&gt;document&lt;/A&gt;&lt;SPAN style="font-size: 1em;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2017 05:11:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Visual-Studio-2015-Parallel-Studio-2017-Update-2-link-does-not/m-p/1086510#M23004</guid>
      <dc:creator>Zhen_Z_Intel</dc:creator>
      <dc:date>2017-04-21T05:11:40Z</dc:date>
    </item>
    <item>
      <title>I have worked through the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Visual-Studio-2015-Parallel-Studio-2017-Update-2-link-does-not/m-p/1086511#M23005</link>
      <description>&lt;P&gt;I have worked through the issue and the above answer is completely wrong.&amp;nbsp; I did not have to build fftw myself to solve the problem, I did not have to reinstall, I just had to add the right libraries to the link input because the MKL integration failed to put them in itself.&lt;BR /&gt;
	&lt;BR /&gt;
	​There is a bug in the way the Intel Compiler interacts with MKL in the Visual Studio Integration.&amp;nbsp;&amp;nbsp; When using the VC++ compiler the problem does not exist.&lt;/P&gt;

&lt;P&gt;A workaround is to add the MKL libraries into the Properties&amp;nbsp; -&amp;gt;&amp;nbsp; Linker&amp;nbsp; -&amp;gt;&amp;nbsp; Input.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I had to add&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mkl_intel_lp64_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib&lt;BR /&gt;
	&lt;BR /&gt;
	​Other people should use &lt;A href="https://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-compiling-and-linking-with-microsoft-visual-cc&amp;nbsp;link" target="_blank"&gt;https://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-compiling-and-linking-with-microsoft-visual-cc&amp;nbsp;link&lt;/A&gt; line advisor to get the libraries they should add&lt;BR /&gt;
	&lt;BR /&gt;
	​Here is my complete reproducer...&lt;BR /&gt;
	&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;DIV&gt;&amp;nbsp;Using VS 2015, PS 2018&lt;BR /&gt;
	&amp;nbsp;Create a C++ Win32 Console App, Name PS_2018_Bug__LAPACKE_dgels__trial1&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;Don't customize anything&lt;BR /&gt;
	&amp;nbsp;Change to the Debug x64 configuration&lt;BR /&gt;
	&amp;nbsp;Change main.cpp contents to be&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;#include "stdafx.h"&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;#include &amp;lt;mkl.h&amp;gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&amp;nbsp;int main()&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;{&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;double *A&amp;nbsp;= nullptr;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;int N&amp;nbsp;&amp;nbsp;= 0;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;int M&amp;nbsp;&amp;nbsp;= 0;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;double *B&amp;nbsp;= nullptr;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;int D&amp;nbsp;&amp;nbsp;= 0;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;int info = LAPACKE_dgels(LAPACK_ROW_MAJOR, 'N', N, M, D, A, M, B, D);&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;return 0;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;}&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;Note: the #include &amp;lt;mkl.h&amp;gt; is marked as an error&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;Open the project properties&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;Change the Configuration to "All configurations"&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;Change the Intel Perf Libraries -&amp;gt; Use MKL to be Sequential&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;Change the Linker -&amp;gt; Debugging -&amp;gt; Generate map file to be Yes&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;Okay&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;The error markings soon disappear&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;Build the Solution - it builds successfully&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;Open the map file C:\Users\bevin\OneDrive\Visual Studio 2015\Projects\PS_2018_Bug__LAPACKE_dgels__trial1\x64\Debug\PS_2018_Bug__LAPACKE_dgels__trial1.map&lt;BR /&gt;
	&amp;nbsp;You can see entries from&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;mkl_intel_lp64_dll&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;mkl_sequential_dll&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;Change the project properties -&amp;gt; Intel Compiler -&amp;gt; Use Intel C++ 2018&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;Clean the solution&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;Build the Solution - it fails&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;1&amp;gt;------ Build started: Project: PS_2018_Bug__LAPACKE_dgels__trial1, Configuration: Debug x64 ------&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;1&amp;gt;&amp;nbsp; stdafx.cpp&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;1&amp;gt;&amp;nbsp; PS_2018_Bug__LAPACKE_dgels__trial1.cpp&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;1&amp;gt;PS_2018_Bug__LAPACKE_dgels__trial1.obj : error LNK2019: unresolved external symbol LAPACKE_dgels referenced in function main&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;1&amp;gt;C:\Users\bevin\OneDrive\Visual Studio 2015\Projects\PS_2018_Bug__LAPACKE_dgels__trial1\x64\Debug\PS_2018_Bug__LAPACKE_dgels__trial1.exe : fatal error LNK1120: 1 unresolved externals&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;Look at the Properties -&amp;gt; VC++ Directories&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;You can see the&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;Include Directories:&amp;nbsp;$(MKLIncludeDir);$(IncludePath)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;Library Directories:&amp;nbsp;$(MKLLibDir);$(LibraryPath)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;Since the #include is working (no compile-time errors) we only look at the Lib Dirs&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;Edit it to see what the expansion is&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018.0.065\windows\mkl\lib\intel64_win&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;Open C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018.0.065\windows\mkl\lib\intel64_win&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;the mkl_intel_lp64_dll.lib and mkl_sequential_dll.lib files are there&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;Change the project properties -&amp;gt; Intel Compiler -&amp;gt; Use VC++&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;Clean the solution&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;Build the solution - it succeeds again&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;Change the project properties -&amp;gt; Intel Compiler -&amp;gt; Use Intel C++ 2018&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;Open the project properties&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;Check the Configuration is "All configurations"&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;Check the Intel Perf Libraries -&amp;gt; Use MKL is Sequential&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;Edit the Linker -&amp;gt; Input&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;Add mkl_intel_lp64_dll.lib and mkl_sequential_dll.lib&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;Okay&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;Build the solution - it succeeds&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2017 14:12:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Visual-Studio-2015-Parallel-Studio-2017-Update-2-link-does-not/m-p/1086511#M23005</guid>
      <dc:creator>bevin_b_</dc:creator>
      <dc:date>2017-04-21T14:12:26Z</dc:date>
    </item>
    <item>
      <title>We are investigating on this</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Visual-Studio-2015-Parallel-Studio-2017-Update-2-link-does-not/m-p/1086512#M23006</link>
      <description>&lt;P&gt;We are investigating on this bug. Thank you for posting the issue.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 02:02:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Visual-Studio-2015-Parallel-Studio-2017-Update-2-link-does-not/m-p/1086512#M23006</guid>
      <dc:creator>Zhen_Z_Intel</dc:creator>
      <dc:date>2017-04-24T02:02:43Z</dc:date>
    </item>
  </channel>
</rss>

