<?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: Help with static linking linux - MKL 10.0.3.24 - gcc 4.2 -  in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-with-static-linking-linux-MKL-10-0-3-24-gcc-4-2-Lapack-lib/m-p/846669#M6297</link>
    <description>&lt;P&gt;For a link with static MKL libraries, you must observe the instructions about -Wl,--begin-group ...... -Wl,--end-group, or repeat the MKL .a libraries with the circular dependencies 3 times (4 times, if you don'tcorrect the order).&lt;/P&gt;</description>
    <pubDate>Mon, 04 Aug 2008 16:48:35 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2008-08-04T16:48:35Z</dc:date>
    <item>
      <title>Help with static linking linux - MKL 10.0.3.24 - gcc 4.2 - Lapack lib</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-with-static-linking-linux-MKL-10-0-3-24-gcc-4-2-Lapack-lib/m-p/846668#M6296</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have being trying to create a static library containing some of Intel MKL libs for my application.&lt;BR /&gt;Here my link command:&lt;BR /&gt;g++ -shared -o libtest.so src/test/*.o ../../../3rdParty/ipp/Linux/5.3.2.068/ia32/lib/libippcvemerged.a ../../../3rdParty/ipp/Linux/5.3.2.068/ia32/lib/libippiemerged.a ../../../3rdParty/ipp/Linux/5.3.2.068/ia32/lib/libippcvmerged.a ../../../3rdParty/ipp/Linux/5.3.2.068/ia32/lib/libippimerged.a ../../../3rdParty/ipp/Linux/5.3.2.068/ia32/lib/libippcore.a ../../../3rdParty/mkl/Linux/10.0.3.020/lib/32/libmkl_sequential.a ../../../3rdParty/mkl/Linux/10.0.3.020/lib/32/libmkl_intel.a ../../../3rdParty/mkl/Linux/10.0.3.020/lib/32/libmkl_core.a&lt;BR /&gt;&lt;BR /&gt;The problem is I get two undefined funtions (the one I use :-)&lt;BR /&gt;../../lib/libtest.so: undefined reference to `mkl_lapack_dpptrf'&lt;BR /&gt;../../lib/libtest.so: undefined reference to `mkl_lapack_dpptrs'&lt;BR /&gt;&lt;BR /&gt;I have tried every order and still I can't get the function to be defined. Yet nm on the libmkl_sequential.a tells me there are defined:&lt;BR /&gt;00000000 T mkl_lapack_dpptrf&lt;BR /&gt;&lt;BR /&gt;I would appreciate any help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Aug 2008 16:40:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-with-static-linking-linux-MKL-10-0-3-24-gcc-4-2-Lapack-lib/m-p/846668#M6296</guid>
      <dc:creator>regis_vincent</dc:creator>
      <dc:date>2008-08-04T16:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help with static linking linux - MKL 10.0.3.24 - gcc 4.2 -</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-with-static-linking-linux-MKL-10-0-3-24-gcc-4-2-Lapack-lib/m-p/846669#M6297</link>
      <description>&lt;P&gt;For a link with static MKL libraries, you must observe the instructions about -Wl,--begin-group ...... -Wl,--end-group, or repeat the MKL .a libraries with the circular dependencies 3 times (4 times, if you don'tcorrect the order).&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2008 16:48:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-with-static-linking-linux-MKL-10-0-3-24-gcc-4-2-Lapack-lib/m-p/846669#M6297</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-08-04T16:48:35Z</dc:date>
    </item>
  </channel>
</rss>

