<?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 everything works on my part: in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFTW2/m-p/1171268#M28586</link>
    <description>&lt;P&gt;everything works on my part:&lt;/P&gt;&lt;P&gt;1. Building fftw2 wrappers:&lt;/P&gt;&lt;P&gt;cd mkl2019_root\windows\mkl\interfaces\fftw2xf\&amp;nbsp;&lt;/P&gt;&lt;P&gt;nmake libintel64&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;rfftwnd_threads_real_to_complex.c&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lib -out:"..\..\lib\intel64\&lt;STRONG&gt;fftw2xf_double_intel.lib&lt;/STRONG&gt;" obj_double_intel\*.obj&lt;BR /&gt;Microsoft (R) Library Manager Version 14.00.24215.1&lt;/P&gt;&lt;P&gt;2. linking you example like as follow:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;ifort /w /Fo /I"mkl_install_directory\include" &amp;nbsp;test_fftw2.f /Fe_test.exe &amp;nbsp; mkl_core.lib mkl_intel_lp64.lib mkl_sequential.lib fftw2xf_double_intel.lib&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Mar 2019 05:29:00 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2019-03-29T05:29:00Z</dc:date>
    <item>
      <title>FFTW2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFTW2/m-p/1171265#M28583</link>
      <description>&lt;P&gt;I use vs2013+ivf2013 program my fortran code, The FFTW2 wrappers to Intel MKL provide the following subroutines for calling from Fortran:&lt;BR /&gt;call fftw_f77_create_plan(plan, n, dir, flags)&lt;BR /&gt;call fftw_f77(plan, howmany, in, istride, idist, out, ostride, odist)&lt;BR /&gt;call fftw_f77_one(plan, in, out)&lt;BR /&gt;call fftw_f77_threads(nthreads, plan, howmany, in, istride, idist, out, ostride, odist)&lt;BR /&gt;call fftw_f77_threads_one(nthreads, plan, in, out)&lt;BR /&gt;call fftw_f77_destroy_plan(plan)&lt;BR /&gt;call fftwnd_f77_create_plan(plan, rank, n, dir, flags)&lt;BR /&gt;call fftw2d_f77_create_plan(plan, nx, ny, dir, flags)&lt;BR /&gt;call fftw3d_f77_create_plan(plan, nx, ny, nz, dir, flags)&lt;BR /&gt;call fftwnd_f77(plan, howmany, in, istride, idist, out, ostride, odist)&lt;BR /&gt;call fftwnd_f77_one(plan, in, out)&lt;BR /&gt;call fftwnd_f77_threads(nthreads, plan, howmany, in, istride, idist, out, ostride,odist)&lt;BR /&gt;call fftwnd_f77_threads_one(nthreads, plan, in, out)&lt;/P&gt;&lt;P&gt;According to the 'FFTW Interface to Intel® Math Kernel Library', just provide the method in Linux like this:make libintel64,,,Any one know how to do in windows?&amp;nbsp;&amp;nbsp; Anyone could tell me the&amp;nbsp; detials of using above subroutines?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 10:30:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFTW2/m-p/1171265#M28583</guid>
      <dc:creator>YUZHONG__HUI</dc:creator>
      <dc:date>2019-03-18T10:30:54Z</dc:date>
    </item>
    <item>
      <title>the similar with Windows. You</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFTW2/m-p/1171266#M28584</link>
      <description>&lt;P&gt;the similar with Windows. You may look at &lt;STRONG&gt;mklroot/interfaces\fftw2xf\&amp;nbsp; makefile --&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt; &amp;nbsp;@type &amp;lt;&amp;lt;&lt;BR /&gt;&amp;nbsp; Usage: nmake {libia32|&lt;STRONG&gt;libintel64&lt;/STRONG&gt;}&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[PRECISION=MKL_DOUBLE|MKL_SINGLE]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[compiler=compiler_name]&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 11:55:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFTW2/m-p/1171266#M28584</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-03-18T11:55:40Z</dc:date>
    </item>
    <item>
      <title>Quote:Gennady F. (Intel)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFTW2/m-p/1171267#M28585</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Gennady F. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the similar with Windows. You may look at &lt;STRONG&gt;mklroot/interfaces\fftw2xf\&amp;nbsp; makefile --&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt; &amp;nbsp;@type &amp;lt;&amp;lt;&lt;BR /&gt;&amp;nbsp; Usage: nmake {libia32|&lt;STRONG&gt;libintel64&lt;/STRONG&gt;}&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[PRECISION=MKL_DOUBLE|MKL_SINGLE]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[compiler=compiler_name]&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt; Thank you very much for you reply！I know the &lt;STRONG&gt;mklroot/interfaces\fftw2xf\&amp;nbsp; makefile --&lt;/STRONG&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt; &amp;nbsp;@type &amp;lt;&amp;lt;&lt;BR /&gt;&amp;nbsp; Usage: nmake {libia32|&lt;STRONG&gt;libintel64&lt;/STRONG&gt;}&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[PRECISION=MKL_DOUBLE|MKL_SINGLE]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[compiler=compiler_name]&lt;/P&gt;&lt;P&gt;But I don't know what&amp;nbsp; should I input in the command window！According to other's command :nmake libia32 compiler=msvs ,After compiling,&amp;nbsp; I can see that lib\intel64 under MKL directory has one more lib file: fftw2xf_double_msvs.lib. Unfortunately,the test still failed.Below is my test code:&lt;/P&gt;&lt;P&gt;program main&amp;nbsp;&lt;/P&gt;&lt;P&gt;integer :: N&lt;/P&gt;&lt;P&gt;parameter (N=5)&lt;/P&gt;&lt;P&gt;real in, var&lt;/P&gt;&lt;P&gt;real out&lt;/P&gt;&lt;P&gt;dimension in(N), out(N)&lt;/P&gt;&lt;P&gt;dimension var(N)&lt;/P&gt;&lt;P&gt;integer :: plan,plan2&lt;/P&gt;&lt;P&gt;integer :: i&lt;/P&gt;&lt;P&gt;do i=1,N&lt;/P&gt;&lt;P&gt;in(i) = i + 1&lt;/P&gt;&lt;P&gt;end do&lt;/P&gt;&lt;P&gt;call rfftw_f77_create_plan(plan,N,FFTW_FORWARD,FFTW_ESTIMATE)&lt;/P&gt;&lt;P&gt;call rfftw_f77_one(plan,in,var)&lt;/P&gt;&lt;P&gt;call rfftw_f77_destroy_plan(plan)&lt;/P&gt;&lt;P&gt;call rfftw_f77_create_plan(plan2,N,FFTW_BACKWARD,FFTW_ESTIMATE)&lt;/P&gt;&lt;P&gt;call rfftw_f77_one(plan2,var,out)&lt;/P&gt;&lt;P&gt;call rfftw_f77_destroy_plan(plan2)&lt;/P&gt;&lt;P&gt;do i=1,N&lt;/P&gt;&lt;P&gt;write(*,*)&amp;nbsp; i,real(in(i)),real(out(i))&lt;/P&gt;&lt;P&gt;end do&lt;/P&gt;&lt;P&gt;end program main&lt;/P&gt;&lt;P&gt;The error message is :&lt;/P&gt;&lt;P&gt;error &amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp; &amp;nbsp; error LNK2001: An external symbol that cannot be resolved _fltused&amp;nbsp;&amp;nbsp; &amp;nbsp;Source1.obj&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;error &amp;nbsp;&amp;nbsp; 6&amp;nbsp;&amp;nbsp; &amp;nbsp; error LNK2001: An external symbol that cannot be resolved mainCRTStartup&amp;nbsp;&amp;nbsp; &amp;nbsp;LINK&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;error &amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp; &amp;nbsp; error LNK2019: An external symbol that cannot be resolved _RTC_CheckStackVars，该符号在函数 MAIN__ 中被引用&amp;nbsp;&amp;nbsp; &amp;nbsp;Source1.obj&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;error &amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; &amp;nbsp; error LNK2019: An external symbol that cannot be resolved RFFTW_F77_CREATE_PLAN，该符号在函数 MAIN__ 中被引用&amp;nbsp;&amp;nbsp; &amp;nbsp;Source1.obj&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;error &amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp; &amp;nbsp; error LNK2019: An external symbol that cannot be resolved RFFTW_F77_DESTROY_PLAN，该符号在函数 MAIN__ 中被引用&amp;nbsp;&amp;nbsp; &amp;nbsp;Source1.obj&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;error &amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; &amp;nbsp; error LNK2019:An external symbol that cannot be resolved&amp;nbsp; RFFTW_F77_ONE，该符号在函数 MAIN__ 中被引用&amp;nbsp;&amp;nbsp; &amp;nbsp;Source1.obj&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;error &amp;nbsp;&amp;nbsp; 7&amp;nbsp;&amp;nbsp; &amp;nbsp; fatal error LNK1120: 6 个无法解析的外部命令&amp;nbsp;&amp;nbsp; &amp;nbsp;x64\Debug\tiaoshifftw2.exe&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 01:09:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFTW2/m-p/1171267#M28585</guid>
      <dc:creator>YUZHONG__HUI</dc:creator>
      <dc:date>2019-03-19T01:09:52Z</dc:date>
    </item>
    <item>
      <title>everything works on my part:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFTW2/m-p/1171268#M28586</link>
      <description>&lt;P&gt;everything works on my part:&lt;/P&gt;&lt;P&gt;1. Building fftw2 wrappers:&lt;/P&gt;&lt;P&gt;cd mkl2019_root\windows\mkl\interfaces\fftw2xf\&amp;nbsp;&lt;/P&gt;&lt;P&gt;nmake libintel64&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;rfftwnd_threads_real_to_complex.c&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lib -out:"..\..\lib\intel64\&lt;STRONG&gt;fftw2xf_double_intel.lib&lt;/STRONG&gt;" obj_double_intel\*.obj&lt;BR /&gt;Microsoft (R) Library Manager Version 14.00.24215.1&lt;/P&gt;&lt;P&gt;2. linking you example like as follow:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;ifort /w /Fo /I"mkl_install_directory\include" &amp;nbsp;test_fftw2.f /Fe_test.exe &amp;nbsp; mkl_core.lib mkl_intel_lp64.lib mkl_sequential.lib fftw2xf_double_intel.lib&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 05:29:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFTW2/m-p/1171268#M28586</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-03-29T05:29:00Z</dc:date>
    </item>
  </channel>
</rss>

