<?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 It works. Thank you everybody in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-with-g/m-p/982562#M17514</link>
    <description>&lt;P&gt;It works. Thank you everybody.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Feb 2014 06:52:53 GMT</pubDate>
    <dc:creator>Jack_K_</dc:creator>
    <dc:date>2014-02-18T06:52:53Z</dc:date>
    <item>
      <title>Compiling with g++</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-with-g/m-p/982557#M17509</link>
      <description>&lt;P&gt;How can I compile my program with mkl and g++?&lt;/P&gt;

&lt;P&gt;I already tried the mkl line advisor, but I got the "pthread_mutex_trylock" message.&lt;/P&gt;

&lt;P&gt;How`s it going ?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2014 08:26:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-with-g/m-p/982557#M17509</guid>
      <dc:creator>Jack_K_</dc:creator>
      <dc:date>2014-02-12T08:26:47Z</dc:date>
    </item>
    <item>
      <title>What is your linkline?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-with-g/m-p/982558#M17510</link>
      <description>&lt;P&gt;What is your linkline?&lt;/P&gt;

&lt;P&gt;For intel64, lp64 interface, it is something like this.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;-Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a $(MKLROOT)/lib/intel64/libmkl_core.a $(MKLROOT)/lib/intel64/libmkl_gnu_thread.a -Wl,--end-group -ldl -lpthread -lm&lt;/P&gt;

&lt;P&gt;Have you threaded your program with pthreads?&lt;/P&gt;

&lt;P&gt;--Vipin&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2014 09:11:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-with-g/m-p/982558#M17510</guid>
      <dc:creator>VipinKumar_E_Intel</dc:creator>
      <dc:date>2014-02-12T09:11:56Z</dc:date>
    </item>
    <item>
      <title>No, I don't thread with</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-with-g/m-p/982559#M17511</link>
      <description>&lt;P&gt;No, I don't thread with pthreads.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2014 16:13:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-with-g/m-p/982559#M17511</guid>
      <dc:creator>Jack_K_</dc:creator>
      <dc:date>2014-02-12T16:13:35Z</dc:date>
    </item>
    <item>
      <title>The point is, somewhere in</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-with-g/m-p/982560#M17512</link>
      <description>&lt;P&gt;The point is, somewhere in your build you are calling a pthread function, e.g. by using OpenMP in your own code or by linking an mkl_thread library. &amp;nbsp;You will need either to remove the pthread function usage or link properly to support it.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2014 21:12:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-with-g/m-p/982560#M17512</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2014-02-12T21:12:02Z</dc:date>
    </item>
    <item>
      <title>Hi Jack,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-with-g/m-p/982561#M17513</link>
      <description>&lt;P&gt;Hi Jack,&lt;/P&gt;

&lt;P&gt;Are you working on Ubuntu system?&lt;/P&gt;

&lt;P&gt;It looks similiar problem as&amp;nbsp; &lt;A href="http://software.intel.com/en-us/forums/topic/501970#comment-1779725"&gt;h&lt;/A&gt;&lt;A href="http://software.intel.com/en-us/forums/topic/501970#comment-1779725"&gt;ttp://software.intel.com/en-us/forums/topic/501970#comment-1779725&lt;/A&gt;&amp;nbsp;and the one in &lt;A href="http://software.intel.com/en-us/articles/symbol-lookup-error-when-linking-intel-mkl-with-gcc-on-ubuntu"&gt;http://software.intel.com/en-us/articles/symbol-lookup-error-when-linking-intel-mkl-with-gcc-on-ubuntu&lt;/A&gt;.&amp;nbsp; Some ubuntu and GCC have the issue, some have not.&lt;/P&gt;

&lt;P&gt;You may try to add the compiler option : -Wl,--no-as-needed.&amp;nbsp;&amp;nbsp; for example&lt;/P&gt;

&lt;P&gt;g++ -Wall -o test.exe test.cpp -Wl,--no-as-needed -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -ldl -lpthread -lm&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2014 01:13:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-with-g/m-p/982561#M17513</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2014-02-14T01:13:01Z</dc:date>
    </item>
    <item>
      <title>It works. Thank you everybody</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-with-g/m-p/982562#M17514</link>
      <description>&lt;P&gt;It works. Thank you everybody.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2014 06:52:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-with-g/m-p/982562#M17514</guid>
      <dc:creator>Jack_K_</dc:creator>
      <dc:date>2014-02-18T06:52:53Z</dc:date>
    </item>
  </channel>
</rss>

