<?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: How do I link the MKL FFTW with Fortran? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-the-MKL-FFTW-with-Fortran/m-p/860987#M7508</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;David,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;1.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;Intel MKL offers two wrappers collections, each being the FFTW interface superstructure, to&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;be used for calling the Intel MKL Fourier transform functions. These collections correspond&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;to the FFTW versions 2.x and 3.x, respectively.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;These Wrapper Libraries dont include in the MKL package but you can build these Libraries.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;How to do that? Go to the $MKL_ROOT/interfaces/ fftw3xf folder &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;and you can build wrapper lib.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;For example: &lt;SPAN style="mso-spacerun: yes;"&gt;&lt;/SPAN&gt;nmake lib32 &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;and as a results fftw3x_intel.lib will be built into ia32/lib folder&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;This is snip from the Makefile:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;help:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt; &lt;/SPAN&gt;@echo Usage: nmake {lib32^|libem64t^|lib64} [COMPILER=compiler_name]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt; &lt;/SPAN&gt;@echo compiler_name=ms - using Microsoft C compiler&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial; mso-ansi-language: PT-BR;" lang="PT-BR"&gt;@echo&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;Intel C Compiler as default&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial; mso-ansi-language: PT-BR;" lang="PT-BR"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;##------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;## examples of using:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;##&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;## nmake lib32&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;- build by Intel C++ compiler (as default)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;##&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;## nmake libem64t COMPILER=ms&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;- build by Microsoft C++ compiler&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;##&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;##------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;2. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;Some more info about FFTW Interface support you can find into userguide.pdf&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;I hope it will help you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;--Gennady&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Oct 2008 10:18:22 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2008-10-24T10:18:22Z</dc:date>
    <item>
      <title>How do I link the MKL FFTW with Fortran?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-the-MKL-FFTW-with-Fortran/m-p/860986#M7507</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I am a new user of the Intel Fortran compiler and the MKL. I have written a Fortran 90 code that currently uses the FFTW libraries (.lib and .dll) on a Windows XP 32-bit platform. In the Fortran code I had to use and INTERFACE statement to "tell" the subroutines how to call FFTW. I am using it via a Matlab mexfunction and creating a dll is simply&lt;/P&gt;
&lt;P&gt;mex foo.f90 libfftw3-3.lib&lt;/P&gt;
&lt;P&gt;When calling foo.mexw32 (Matlab created dll), all you need is the libfftw3-3.dll file in the directory (or PATH). I am looking for the same functionality using the FFTW libraries in the MKL however I am very confused as to how to do this. I have read the documentation but have not been able to get anything that works.&lt;/P&gt;
&lt;P&gt;Do the FFTW libraries need to be compiled or are they included in the main MKL library for static linking, mkl_S.lib? Do I still need to use an INTERFACE statement in my code? What are the wrappers for?&lt;/P&gt;
&lt;P&gt;As you can see I am very confused here! Any help would be greatly appreciated&lt;/P&gt;
&lt;P&gt;Thank you very much.&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;
&lt;P&gt;The MKL documnetation&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2008 19:37:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-the-MKL-FFTW-with-Fortran/m-p/860986#M7507</guid>
      <dc:creator>david_sallngc_com</dc:creator>
      <dc:date>2008-10-23T19:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I link the MKL FFTW with Fortran?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-the-MKL-FFTW-with-Fortran/m-p/860987#M7508</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;David,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;1.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;Intel MKL offers two wrappers collections, each being the FFTW interface superstructure, to&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;be used for calling the Intel MKL Fourier transform functions. These collections correspond&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;to the FFTW versions 2.x and 3.x, respectively.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;These Wrapper Libraries dont include in the MKL package but you can build these Libraries.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;How to do that? Go to the $MKL_ROOT/interfaces/ fftw3xf folder &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;and you can build wrapper lib.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;For example: &lt;SPAN style="mso-spacerun: yes;"&gt;&lt;/SPAN&gt;nmake lib32 &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;and as a results fftw3x_intel.lib will be built into ia32/lib folder&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;This is snip from the Makefile:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;help:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt; &lt;/SPAN&gt;@echo Usage: nmake {lib32^|libem64t^|lib64} [COMPILER=compiler_name]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt; &lt;/SPAN&gt;@echo compiler_name=ms - using Microsoft C compiler&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial; mso-ansi-language: PT-BR;" lang="PT-BR"&gt;@echo&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;Intel C Compiler as default&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial; mso-ansi-language: PT-BR;" lang="PT-BR"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;##------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;## examples of using:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;##&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;## nmake lib32&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;- build by Intel C++ compiler (as default)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;##&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;## nmake libem64t COMPILER=ms&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;- build by Microsoft C++ compiler&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;##&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;##------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;2. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;Some more info about FFTW Interface support you can find into userguide.pdf&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;I hope it will help you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;--Gennady&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2008 10:18:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-the-MKL-FFTW-with-Fortran/m-p/860987#M7508</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2008-10-24T10:18:22Z</dc:date>
    </item>
  </channel>
</rss>

