<?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 You don't need to recompile. in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Reliable-way-to-tell-whether-binary-linked-to-MKL-or-FFTW/m-p/1107203#M24209</link>
    <description>&lt;P&gt;You don't need to recompile. If the executable was linked to MKL and you set MKL_VERBOSE=1 you should see the extra information from each MKL call. If linked with FFTW, setting this variable wouldn't display the verbose output.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2016 17:26:17 GMT</pubDate>
    <dc:creator>Arthur_A_Intel</dc:creator>
    <dc:date>2016-12-07T17:26:17Z</dc:date>
    <item>
      <title>Reliable way to tell whether binary linked to MKL or FFTW</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Reliable-way-to-tell-whether-binary-linked-to-MKL-or-FFTW/m-p/1107198#M24204</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;As I understand, Intel provides wrappers for FFTW. We have a large code base relying on FFT routines. Part of it uses FFTW, and part of it uses MKL. However, in both cases, we use FFTW interface. These "parts" are stand alone executables. I am curious - can we reliably determine whether an executable has been linked to FFTW or MKL (static linking)? I was thinking maybe something simple, like&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;nm mybin.a | grep -i 'some_unique_MKL_symbol' &lt;/PRE&gt;

&lt;P&gt;Thanks in advance for any help!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 22:50:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Reliable-way-to-tell-whether-binary-linked-to-MKL-or-FFTW/m-p/1107198#M24204</guid>
      <dc:creator>William_Yessen</dc:creator>
      <dc:date>2016-12-06T22:50:12Z</dc:date>
    </item>
    <item>
      <title>Dear customer,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Reliable-way-to-tell-whether-binary-linked-to-MKL-or-FFTW/m-p/1107199#M24205</link>
      <description>&lt;P&gt;Dear customer,&lt;/P&gt;

&lt;P&gt;There are several ways for check your function implementation uses FFTW for MKL. I recommend to use Intel Vtune analyzing module, function, threads and call stack to check, those functions uses MKL would be signed as [MKL xxx]@avx_function_name;&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
	Fiona&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 08:04:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Reliable-way-to-tell-whether-binary-linked-to-MKL-or-FFTW/m-p/1107199#M24205</guid>
      <dc:creator>Zhen_Z_Intel</dc:creator>
      <dc:date>2016-12-07T08:04:56Z</dc:date>
    </item>
    <item>
      <title>Thanks, Fiona. I am afraid</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Reliable-way-to-tell-whether-binary-linked-to-MKL-or-FFTW/m-p/1107200#M24206</link>
      <description>&lt;P&gt;Thanks, Fiona. I am afraid this won't do it for us. We need a way to check without running any third party apps. For instance, some way to write a batch script to automatically check without human interaction.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 15:46:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Reliable-way-to-tell-whether-binary-linked-to-MKL-or-FFTW/m-p/1107200#M24206</guid>
      <dc:creator>William_Yessen</dc:creator>
      <dc:date>2016-12-07T15:46:17Z</dc:date>
    </item>
    <item>
      <title>Hi William - One way that</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Reliable-way-to-tell-whether-binary-linked-to-MKL-or-FFTW/m-p/1107201#M24207</link>
      <description>&lt;P&gt;Hi William - One way that might work for you is to activate MKL verbose mode, i.e., export MKL_VERBOSE=1 in Linux system. This way you should see&lt;/P&gt;

&lt;PRE class="brush:;"&gt;MKL_VERBOSE DGEMM( ... ) ...&lt;/PRE&gt;

&lt;P&gt;Now you can grep the output of your executable to check if the symbol was executed from MKL side. I hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 17:20:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Reliable-way-to-tell-whether-binary-linked-to-MKL-or-FFTW/m-p/1107201#M24207</guid>
      <dc:creator>Arthur_A_Intel</dc:creator>
      <dc:date>2016-12-07T17:20:35Z</dc:date>
    </item>
    <item>
      <title>Thank you, Arthur. This is</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Reliable-way-to-tell-whether-binary-linked-to-MKL-or-FFTW/m-p/1107202#M24208</link>
      <description>&lt;P&gt;Thank you, Arthur. This is closer to what we need. This would involve recompiling, of course, which isn't ideal, but it is functional. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 17:22:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Reliable-way-to-tell-whether-binary-linked-to-MKL-or-FFTW/m-p/1107202#M24208</guid>
      <dc:creator>William_Yessen</dc:creator>
      <dc:date>2016-12-07T17:22:35Z</dc:date>
    </item>
    <item>
      <title>You don't need to recompile.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Reliable-way-to-tell-whether-binary-linked-to-MKL-or-FFTW/m-p/1107203#M24209</link>
      <description>&lt;P&gt;You don't need to recompile. If the executable was linked to MKL and you set MKL_VERBOSE=1 you should see the extra information from each MKL call. If linked with FFTW, setting this variable wouldn't display the verbose output.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 17:26:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Reliable-way-to-tell-whether-binary-linked-to-MKL-or-FFTW/m-p/1107203#M24209</guid>
      <dc:creator>Arthur_A_Intel</dc:creator>
      <dc:date>2016-12-07T17:26:17Z</dc:date>
    </item>
    <item>
      <title>Hi Arthur,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Reliable-way-to-tell-whether-binary-linked-to-MKL-or-FFTW/m-p/1107204#M24210</link>
      <description>&lt;P&gt;Hi Arthur,&lt;/P&gt;

&lt;P&gt;Perfect, thanks! I got it now. For future reference, here's the link with more info regarding Arthur's suggestion: &lt;A href="https://software.intel.com/en-us/articles/verbose-mode-supported-in-intel-mkl-112" target="_blank"&gt;https://software.intel.com/en-us/articles/verbose-mode-supported-in-intel-mkl-112&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 20:57:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Reliable-way-to-tell-whether-binary-linked-to-MKL-or-FFTW/m-p/1107204#M24210</guid>
      <dc:creator>William_Yessen</dc:creator>
      <dc:date>2016-12-14T20:57:07Z</dc:date>
    </item>
    <item>
      <title>Another way, which will not</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Reliable-way-to-tell-whether-binary-linked-to-MKL-or-FFTW/m-p/1107205#M24211</link>
      <description>&lt;P&gt;Another way, which will not make your EXE/DLL emit unexpected output, is to set the /MAP linker option when you build and examine the map file that is generated.&lt;/P&gt;

&lt;P&gt;Yet another way is to run &lt;STRONG&gt;dumpbin /imports&lt;/STRONG&gt; on the EXE.&lt;/P&gt;

&lt;P&gt;These methods are more general because they do not require that the libraries/DLLs used have the capability of producing verbose output. Which method is better for you depends on who is going to deal with the diagnostic output that may be produced and whether you want the information to show only at build time or every time the application is run.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 13:19:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Reliable-way-to-tell-whether-binary-linked-to-MKL-or-FFTW/m-p/1107205#M24211</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-12-15T13:19:00Z</dc:date>
    </item>
  </channel>
</rss>

