<?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: is MKL compatible with windows g++ in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/is-MKL-compatible-with-windows-g/m-p/912711#M12276</link>
    <description>Ok, I have contacted the Intel Technical support, basically they do not want to test windows g++ with MKL. So I think the best solution is switch VC++9, which now has a free version, and the compiled code runs faster than g++.</description>
    <pubDate>Wed, 19 Mar 2008 04:12:05 GMT</pubDate>
    <dc:creator>zhouxingchi</dc:creator>
    <dc:date>2008-03-19T04:12:05Z</dc:date>
    <item>
      <title>is MKL compatible with windows g++</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/is-MKL-compatible-with-windows-g/m-p/912706#M12271</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I see some threads saying that they have no luck in getting MKL 10 linked to g++ under windows? Is MKL built to behave like this, i.e., not compatible with g++ under windows, or is that we have not find the right way to link the libraries?&lt;/P&gt;
&lt;P&gt;I am trying to run the sample code in dev c++ 4.9.9.2&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt;#include &lt;IOSTREAM&gt;&lt;BR /&gt;#include "mkl.h"&lt;BR /&gt;//typedef struct{ double re; double im; } complex16;&lt;BR /&gt;//extern "C" void zdotc (complex16*, int *, complex16 *, int *, complex16*, int *);&lt;BR /&gt;#define N 5&lt;BR /&gt;int main()&lt;BR /&gt;{&lt;BR /&gt; int n, inca = 1, incb = 1, i;&lt;BR /&gt; MKL_Complex16 a&lt;N&gt;, b&lt;N&gt;, c;&lt;BR /&gt; n = N;&lt;BR /&gt; for( i = 0; i &amp;lt; n; i++ ){&lt;BR /&gt; a&lt;I&gt;.real = (double)i; a&lt;I&gt;.imag = (double)i * 2.0;&lt;BR /&gt; b&lt;I&gt;.real = (double)(n - i); b&lt;I&gt;.imag = (double)i * 2.0;&lt;BR /&gt; }&lt;BR /&gt; zdotc(&amp;amp;c, &amp;amp;n, a, &amp;amp;inca, b, &amp;amp;incb );&lt;BR /&gt; printf( "The complex dot product is: ( %6.2f, %6.2f)
", c.real, c.imag);&lt;BR /&gt;}&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/N&gt;&lt;/N&gt;&lt;/IOSTREAM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;I have tried to link &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;-llibguide&lt;BR /&gt;-lmkl_c&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;But I get the following error&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt; .drectve `-defaultlib:mkl_intel_c ' unrecognized &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt; .drectve `-defaultlib:mkl_intel_thread ' unrecognized &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt; .drectve `-defaultlib:mkl_core ' unrecognized &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000080"&gt; [Linker error] undefined reference to `zdotc'&lt;/FONT&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt;&lt;FONT color="#000000"&gt;Is that I need to include extra lib or that MKL just cant compile with windows g++?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2008 05:48:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/is-MKL-compatible-with-windows-g/m-p/912706#M12271</guid>
      <dc:creator>zhouxingchi</dc:creator>
      <dc:date>2008-03-17T05:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: is MKL compatible with windows g++</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/is-MKL-compatible-with-windows-g/m-p/912707#M12272</link>
      <description>&lt;P&gt;Looks like GNU linker under windows doesn`t sopport -defaultlib directive. Try to link &lt;FONT color="#000080"&gt;mkl_intel_c.lib; mkl_intel_thread.lib; mkl_core.lib manualy instead &lt;/FONT&gt;&lt;FONT color="#000000"&gt;mkl_c.lib.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Andrey&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2008 06:44:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/is-MKL-compatible-with-windows-g/m-p/912707#M12272</guid>
      <dc:creator>Andrey_G_Intel2</dc:creator>
      <dc:date>2008-03-17T06:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: is MKL compatible with windows g++</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/is-MKL-compatible-with-windows-g/m-p/912708#M12273</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;thanks for the reply, i have tried to include the following&lt;/P&gt;
&lt;P&gt;-llibguide&lt;BR /&gt;-lmkl_c&lt;BR /&gt;-lmkl_intel_c&lt;BR /&gt;-lmkl_intel_thread&lt;BR /&gt;-lmkl_core&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;But I still get the following errors&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt; .drectve `-defaultlib:mkl_intel_c ' unrecognized &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt; .drectve `-defaultlib:mkl_intel_thread ' unrecognized &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt; .drectve `-defaultlib:mkl_core ' unrecognized &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt; [Linker error] undefined reference to `mkl_serv_cpu_detect'&lt;/FONT&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2008 02:51:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/is-MKL-compatible-with-windows-g/m-p/912708#M12273</guid>
      <dc:creator>zhouxingchi</dc:creator>
      <dc:date>2008-03-18T02:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: is MKL compatible with windows g++</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/is-MKL-compatible-with-windows-g/m-p/912709#M12274</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;please also see the errors after using g++ in MS DOS mode&lt;/P&gt;
&lt;P&gt;D:Financial ResearchCDO2CDO2 ModelsTest of MKL&amp;gt;g++ main.cpp -llibguide -lmkl_c -lmkl_intel_c -lmkl_intel_thread -lmkl_core -lm -Llib&lt;BR /&gt;Warning: .drectve `-defaultlib:mkl_intel_c ' unrecognized&lt;BR /&gt;Warning: .drectve `-defaultlib:mkl_intel_thread ' unrecognized&lt;BR /&gt;Warning: .drectve `-defaultlib:mkl_core ' unrecognized&lt;BR /&gt;C:/Program Files/Intel/MKL/10.0.2.019/ia32/libmkl_core.lib(_zdotc_fb.obj)(.text&lt;BR /&gt;[_mkl_blas_zdotc]+0x2e):_zdotc_iface_dyn.c: undefined reference to `mkl_serv_cpu&lt;BR /&gt;_detect'&lt;BR /&gt;collect2: ld returned 1 exit status&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2008 03:17:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/is-MKL-compatible-with-windows-g/m-p/912709#M12274</guid>
      <dc:creator>zhouxingchi</dc:creator>
      <dc:date>2008-03-18T03:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: is MKL compatible with windows g++</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/is-MKL-compatible-with-windows-g/m-p/912710#M12275</link>
      <description>&lt;P&gt;You forgot to remove mkl_c.lib from linkage line.&lt;/P&gt;
&lt;P&gt;Andrey&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2008 08:00:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/is-MKL-compatible-with-windows-g/m-p/912710#M12275</guid>
      <dc:creator>Andrey_G_Intel2</dc:creator>
      <dc:date>2008-03-18T08:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: is MKL compatible with windows g++</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/is-MKL-compatible-with-windows-g/m-p/912711#M12276</link>
      <description>Ok, I have contacted the Intel Technical support, basically they do not want to test windows g++ with MKL. So I think the best solution is switch VC++9, which now has a free version, and the compiled code runs faster than g++.</description>
      <pubDate>Wed, 19 Mar 2008 04:12:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/is-MKL-compatible-with-windows-g/m-p/912711#M12276</guid>
      <dc:creator>zhouxingchi</dc:creator>
      <dc:date>2008-03-19T04:12:05Z</dc:date>
    </item>
  </channel>
</rss>

