<?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 Re: Access violation and FFTW in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Access-violation-and-FFTW/m-p/883705#M9854</link>
    <description>&lt;BR /&gt;
&lt;P&gt;Hi David,&lt;/P&gt;
&lt;P&gt;I believe you missed some libraries need to be linked additionally.&lt;/P&gt;
&lt;P&gt;Please refer to the KB articles:&lt;BR /&gt;Using Intel MKL with MATLAB &lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/using-intel-mkl-with-matlab/"&gt;http://software.intel.com/en-us/articles/using-intel-mkl-with-matlab/&lt;/A&gt;&lt;BR /&gt;Using Intel MKL in MATLAB Executable (MEX) Files&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-for-windows-using-intel-mkl-in-matlab-executable-mex-files/"&gt;http://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-for-windows-using-intel-mkl-in-matlab-executable-mex-files/&lt;/A&gt;&lt;BR /&gt;Intel Math Kernel Library Link Line Advisor&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/&lt;/A&gt;&lt;BR /&gt;I hope can find all info you needed.&lt;BR /&gt;--Gennady&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jun 2009 06:59:58 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2009-06-11T06:59:58Z</dc:date>
    <item>
      <title>Access violation and FFTW</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Access-violation-and-FFTW/m-p/883704#M9853</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;I am trying to use the MKL FFTW library as called from a Matlab mexfunction and am getting an "access violation" when trying to create a plan (I have done this successfully using the FFTW libraries from their website but want to compare results to MKL FFTW). My simplfied test code (modified from Intel's example file) is named "mkl_test_fftw.f90,&lt;BR /&gt;&lt;BR /&gt;subroutine mexfunction(nlhs, plhs, nrhs, prhs)&lt;BR /&gt;implicit none&lt;BR /&gt;integer nlhs, nrhs&lt;BR /&gt;integer plhs(nlhs), prhs(nrhs)&lt;BR /&gt;integer, parameter :: fftw_forward = -1&lt;BR /&gt;integer, parameter :: fftw_estimate = 64&lt;BR /&gt;integer, parameter :: n = 10&lt;BR /&gt;integer*8 plan&lt;BR /&gt;complex*16 in(n)&lt;BR /&gt;&lt;BR /&gt;! Get access violation when trying to run the next line&lt;BR /&gt;call dfftw_plan_1d(plan, n, in, in, fftw_forward, fftw_estimate)&lt;BR /&gt;&lt;BR /&gt;return&lt;BR /&gt;end subroutine mexfunction&lt;BR /&gt;&lt;BR /&gt;I compile using the Matlab MEX utility (static linking and Intel Fortran visual compiler),&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; mex mkl_test_fftw.f90 mkl_c.lib fftw3xf_ms.lib libguide40.lib&lt;BR /&gt;&lt;BR /&gt;where,fftw3xf_ms.lib was compiled using the Microsoft C-compiler from MSVS and libguide40.lib is from the Intel compiler directory, not the one supplied with MKL (as instructed in the MKL user manual). I tried using libguide from the MKL directory as well but that did not make a difference.&lt;BR /&gt;&lt;BR /&gt;The mexopt.bat file (supplied by Matlab) has all of the PATHs, INCLUDE, etc... to the Intel compiler and MKL libraries.&lt;BR /&gt;&lt;BR /&gt;Is therea DLL or LIBthat I am missing when trying to run this code. It compiled perfectly but can not find the FFTW library when executing(?).&lt;BR /&gt;&lt;BR /&gt;Thank you very much for your time. Any help that someone could provide would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;BR /&gt;&lt;BR /&gt;David</description>
      <pubDate>Wed, 10 Jun 2009 14:37:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Access-violation-and-FFTW/m-p/883704#M9853</guid>
      <dc:creator>david_sallngc_com</dc:creator>
      <dc:date>2009-06-10T14:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Access violation and FFTW</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Access-violation-and-FFTW/m-p/883705#M9854</link>
      <description>&lt;BR /&gt;
&lt;P&gt;Hi David,&lt;/P&gt;
&lt;P&gt;I believe you missed some libraries need to be linked additionally.&lt;/P&gt;
&lt;P&gt;Please refer to the KB articles:&lt;BR /&gt;Using Intel MKL with MATLAB &lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/using-intel-mkl-with-matlab/"&gt;http://software.intel.com/en-us/articles/using-intel-mkl-with-matlab/&lt;/A&gt;&lt;BR /&gt;Using Intel MKL in MATLAB Executable (MEX) Files&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-for-windows-using-intel-mkl-in-matlab-executable-mex-files/"&gt;http://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-for-windows-using-intel-mkl-in-matlab-executable-mex-files/&lt;/A&gt;&lt;BR /&gt;Intel Math Kernel Library Link Line Advisor&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/&lt;/A&gt;&lt;BR /&gt;I hope can find all info you needed.&lt;BR /&gt;--Gennady&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2009 06:59:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Access-violation-and-FFTW/m-p/883705#M9854</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-06-11T06:59:58Z</dc:date>
    </item>
  </channel>
</rss>

