<?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 Thanks for the reply. In the in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-gcc-Correct-linking/m-p/1168721#M28394</link>
    <description>&lt;P&gt;Thanks for the reply. In the end I managed to get pgi compilers installed and intend to use them.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Dec 2018 13:11:21 GMT</pubDate>
    <dc:creator>greiner08</dc:creator>
    <dc:date>2018-12-03T13:11:21Z</dc:date>
    <item>
      <title>MKL and gcc: Correct linking?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-gcc-Correct-linking/m-p/1168719#M28392</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am attemting to compile the example file pardiso_unsym_c.c with gcc. I have successfully done so on linux with the library flags&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;-Wl,--start-group $(MKL_PATH)/libmkl_intel_lp64.a $(MKL_PATH)/libmkl_sequential.a $(MKL_PATH)/libmkl_core.a -Wl,--end-group -lpthread -lm -ldl&lt;/PRE&gt;

&lt;P&gt;&lt;BR /&gt;I've tried to adapt this to windows (I use gcc supplied by mingw) and use the flags&lt;/P&gt;

&lt;PRE class="brush:; class-name:dark;"&gt;-Wl,--start-group "C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019.1.144\windows\mkl\lib\intel64_win\mkl_intel_ilp64.lib" "C:\Program Files (x86)\IntelSWTools\compilers_
and_libraries_2019.1.144\windows\mkl\lib\intel64_win\mkl_sequential.lib" "C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019.1.144\windows\mkl\lib\intel64_win\mkl_core.lib" -Wl,--end-group -lm&lt;/PRE&gt;

&lt;P&gt;But this leads to the error "Undefined reference to PARDISO"&lt;BR /&gt;&lt;BR /&gt;Could someone let me know if my windows flags above are either wrong, or should work (meaning the error is elsewhere). Unfortunately link line advisor (&amp;nbsp;https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/ ) doesn't have a GNU option for windows (likely because GNU on windows is an edge case).&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Dec 2018 22:25:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-gcc-Correct-linking/m-p/1168719#M28392</guid>
      <dc:creator>greiner08</dc:creator>
      <dc:date>2018-12-02T22:25:51Z</dc:date>
    </item>
    <item>
      <title>start-group ... end-group may</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-gcc-Correct-linking/m-p/1168720#M28393</link>
      <description>&lt;P&gt;start-group ... end-group may not have effect with plain (or mingw) Windows link.&amp;nbsp; They would not be needed in a dynamic link.&amp;nbsp; In a static link, you would then need to repeat the group of .lib about 3 times to resolve references.&amp;nbsp; Dependency Walker might show if any .dll is missing, in case there is dependence on ICL run-time library.&amp;nbsp; In addition, you would need to assure that you take account of the advice for the VS Windows in Link Advisor (not the gcc advice).&lt;/P&gt;&lt;P&gt;As intel_thread probably won't work with mingw (look up old post on this), there isn't so much incentive to use MKL rather than a pure MKL compiled library, if you use functions for which public source is available.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 08:54:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-gcc-Correct-linking/m-p/1168720#M28393</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2018-12-03T08:54:00Z</dc:date>
    </item>
    <item>
      <title>Thanks for the reply. In the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-gcc-Correct-linking/m-p/1168721#M28394</link>
      <description>&lt;P&gt;Thanks for the reply. In the end I managed to get pgi compilers installed and intend to use them.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 13:11:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-gcc-Correct-linking/m-p/1168721#M28394</guid>
      <dc:creator>greiner08</dc:creator>
      <dc:date>2018-12-03T13:11:21Z</dc:date>
    </item>
  </channel>
</rss>

