<?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: static link problem (mkl 6.1, ic 8.1, Itanium) in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/static-link-problem-mkl-6-1-ic-8-1-Itanium/m-p/953694#M15372</link>
    <description>&lt;DIV&gt;Are you raising 3 or more issues here? I don't see any problem demonstrated, other than your backwards order of library references. As I'm sure you read, mkl itself is build with -openmp. &lt;/DIV&gt;</description>
    <pubDate>Tue, 15 Jun 2004 19:50:29 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2004-06-15T19:50:29Z</dc:date>
    <item>
      <title>static link problem (mkl 6.1, ic 8.1, Itanium)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/static-link-problem-mkl-6-1-ic-8-1-Itanium/m-p/953693#M15371</link>
      <description>&lt;DIV&gt;I am trying to build astatically linked code using the above to test how it runs on a different machine where ic 8.1 is not available. When linking with&lt;/DIV&gt;
&lt;DIV&gt;-L/opt/intel/mkl/lib/64 -lmkl_ipf -lmkl_lapack -lguide -lm -lpthread -static -static-libcxa&lt;/DIV&gt;
&lt;DIV&gt;the compiler retruns me&lt;BR /&gt;/opt/intel/mkl/lib/64/libmkl_lapack.a(dgetrf_omp.o): In function `_dgetrf_omp_269__par_loop0':&lt;BR /&gt;dgetrf_omp.o(.text+0x1442): undefined reference to `dtrsm'&lt;BR /&gt;/opt/intel/mkl/lib/64/libmkl_lapack.a(dgetrf_omp.o): In function `_dgetrf_omp_319__par_loop1':&lt;BR /&gt;dgetrf_omp.o(.text+0x2002): undefined reference to `dtrsm'&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;What's wrong?Where does OpenMP come from?&lt;/DIV&gt;
&lt;DIV&gt;There isneither -openmp nor -parallel in the command.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thanks to all in advance.&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Jun 2004 18:32:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/static-link-problem-mkl-6-1-ic-8-1-Itanium/m-p/953693#M15371</guid>
      <dc:creator>zok</dc:creator>
      <dc:date>2004-06-15T18:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: static link problem (mkl 6.1, ic 8.1, Itanium)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/static-link-problem-mkl-6-1-ic-8-1-Itanium/m-p/953694#M15372</link>
      <description>&lt;DIV&gt;Are you raising 3 or more issues here? I don't see any problem demonstrated, other than your backwards order of library references. As I'm sure you read, mkl itself is build with -openmp. &lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Jun 2004 19:50:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/static-link-problem-mkl-6-1-ic-8-1-Itanium/m-p/953694#M15372</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2004-06-15T19:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: static link problem (mkl 6.1, ic 8.1, Itanium)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/static-link-problem-mkl-6-1-ic-8-1-Itanium/m-p/953695#M15373</link>
      <description>&amp;gt; Are you raising 3 or more issues here?&lt;P&gt;&lt;/P&gt;
The _only_ issue I have is how to build a statically linked code using IC 8.x and MKL (i.e. independent portable binary)

&amp;gt; I don't see any problem demonstrated, other than your 
&amp;gt; backwards order of library references.

Are you suggesting I should be using -static before mkl? Apart from that my order is exactly the same as in MKL 6.1 tech user notes.

&amp;gt; As I'm sure you read, mkl itself is build with -openmp
So you are saying there are no two MKLs with and without -openmp.
There's only one and this is the reason why -lpthread must be _always_ used to link with MKL. Therefore I might havethe stackproblem because of the Linuxthreads limitations.
But I still should be able to build statically, shouldn't I?</description>
      <pubDate>Tue, 15 Jun 2004 20:45:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/static-link-problem-mkl-6-1-ic-8-1-Itanium/m-p/953695#M15373</guid>
      <dc:creator>zok</dc:creator>
      <dc:date>2004-06-15T20:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: static link problem (mkl 6.1, ic 8.1, Itanium)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/static-link-problem-mkl-6-1-ic-8-1-Itanium/m-p/953696#M15374</link>
      <description>&lt;P&gt;dgetrf is an LAPACK function that calls dtrsm (a function in the BLAS). So you libmkl_ipf should come after libmkl_lapack. If you got this from the tech user notes you should probably submit a bug.&lt;/P&gt;
&lt;P&gt;MKL is built with openmp and the function calls generated by this can be resolved in libguide which you already have on your link line. &lt;/P&gt;
&lt;P&gt;-Todd&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2004 22:57:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/static-link-problem-mkl-6-1-ic-8-1-Itanium/m-p/953696#M15374</guid>
      <dc:creator>Todd_R_Intel</dc:creator>
      <dc:date>2004-06-15T22:57:07Z</dc:date>
    </item>
  </channel>
</rss>

