<?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 Missing symbol in FFTW MPI interface: fftw_mpi_execute_r2r in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-symbol-in-FFTW-MPI-interface-fftw-mpi-execute-r2r/m-p/1179043#M29181</link>
    <description>&lt;P&gt;I am installing a third party application using FFTw3 on a HPC cluster. I would like to try out the FFTW interface that MKL provides, to see if I get some performance benefits.&lt;BR /&gt;
	&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em;"&gt;Anyhow I am currently stuck with the compilation that fails with a missing symbol at linking time:&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;../channelflow/libchflow.so: undefined reference to `fftw_mpi_execute_r2r'&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I generated the wrapper library following the instructions here:&lt;/SPAN&gt;&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;&lt;SPAN style="font-size: 1em;"&gt;&lt;A href="http://software.intel.com/en-us/mkl-developer-reference-c-building-your-own-wrapper-library"&gt;http://software.intel.com/en-us/mkl-developer-reference-c-building-your-own-wrapper-library&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;with the command:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;make libintel64 compiler=intel mpi=intelmpi&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;and looking at the symbols inside it I can find `fftw_mpi_execute_dft_r2r` but not `fftw_mpi_execute_r2r`.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;The documentation of FFTW:&lt;/SPAN&gt;&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;&lt;SPAN style="font-size: 1em;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://www.fftw.org/fftw3_doc/Using-MPI-Plans.html" style="font-size: 1em;"&gt;http://www.fftw.org/fftw3_doc/Using-MPI-Plans.html&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;seems to have an inconsistent naming for the APIs, so I was wondering if this is a "bug" in&lt;SPAN style="font-size: 1em;"&gt;&amp;nbsp;`mkl/interfaces/fftw3x_cdft/wrappers/execute.c`&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;where line 65 should be changed from:&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;FFTW_EXTERN void FFTW_MPI_MANGLE(execute_dft_r2r)&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;to:&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;FFTW_EXTERN void FFTW_MPI_MANGLE(execute_r2r)&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I'll be waiting for your reply, thanks. Let me know if you need further details.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Sep 2017 06:24:46 GMT</pubDate>
    <dc:creator>Massimiliano_C_1</dc:creator>
    <dc:date>2017-09-07T06:24:46Z</dc:date>
    <item>
      <title>Missing symbol in FFTW MPI interface: fftw_mpi_execute_r2r</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-symbol-in-FFTW-MPI-interface-fftw-mpi-execute-r2r/m-p/1179043#M29181</link>
      <description>&lt;P&gt;I am installing a third party application using FFTw3 on a HPC cluster. I would like to try out the FFTW interface that MKL provides, to see if I get some performance benefits.&lt;BR /&gt;
	&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em;"&gt;Anyhow I am currently stuck with the compilation that fails with a missing symbol at linking time:&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;../channelflow/libchflow.so: undefined reference to `fftw_mpi_execute_r2r'&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I generated the wrapper library following the instructions here:&lt;/SPAN&gt;&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;&lt;SPAN style="font-size: 1em;"&gt;&lt;A href="http://software.intel.com/en-us/mkl-developer-reference-c-building-your-own-wrapper-library"&gt;http://software.intel.com/en-us/mkl-developer-reference-c-building-your-own-wrapper-library&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;with the command:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;make libintel64 compiler=intel mpi=intelmpi&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;and looking at the symbols inside it I can find `fftw_mpi_execute_dft_r2r` but not `fftw_mpi_execute_r2r`.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;The documentation of FFTW:&lt;/SPAN&gt;&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;&lt;SPAN style="font-size: 1em;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://www.fftw.org/fftw3_doc/Using-MPI-Plans.html" style="font-size: 1em;"&gt;http://www.fftw.org/fftw3_doc/Using-MPI-Plans.html&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;seems to have an inconsistent naming for the APIs, so I was wondering if this is a "bug" in&lt;SPAN style="font-size: 1em;"&gt;&amp;nbsp;`mkl/interfaces/fftw3x_cdft/wrappers/execute.c`&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;where line 65 should be changed from:&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;FFTW_EXTERN void FFTW_MPI_MANGLE(execute_dft_r2r)&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;to:&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;FFTW_EXTERN void FFTW_MPI_MANGLE(execute_r2r)&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I'll be waiting for your reply, thanks. Let me know if you need further details.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 06:24:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-symbol-in-FFTW-MPI-interface-fftw-mpi-execute-r2r/m-p/1179043#M29181</guid>
      <dc:creator>Massimiliano_C_1</dc:creator>
      <dc:date>2017-09-07T06:24:46Z</dc:date>
    </item>
  </channel>
</rss>

