<?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 error building a code using Scalapack, MKL 2019.5 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-building-a-code-using-Scalapack-MKL-2019-5/m-p/1185455#M29541</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I wonder if this forum is an appropriate place for the question. I could not find a forum for MKL, so I will try my luck here.&lt;/P&gt;&lt;P&gt;We have purchased the Intel 2019 Suite for our HPC machine, but a C++ code of one of the users now fails to build with icpc/MKL, with the following errors:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;my-path/intel/compilers_and_libraries_2019.5.281/linux/mkl/include/mkl_scalapack.h(3531): error: more than one instance of overloaded function "numroc_" has "C" linkage&lt;BR /&gt;&amp;nbsp; MKL_INT numroc_(const MKL_INT* n, const MKL_INT* nb, const MKL_INT* iproc,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I am almost sure we did not do anything special with MKL headers when installing the 2019.5 suite, and the code used to be able to build with an ancient version of Intel 2015 and corresponding &amp;nbsp;MKL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please advise, what is the Numroc_ overloaded function that all of sudden started to cause problems? How to fix it? Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Grigory Shamov,&lt;/P&gt;&lt;P&gt;University of Manitoba&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 May 2020 05:00:13 GMT</pubDate>
    <dc:creator>shamov__grigory</dc:creator>
    <dc:date>2020-05-29T05:00:13Z</dc:date>
    <item>
      <title>error building a code using Scalapack, MKL 2019.5</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-building-a-code-using-Scalapack-MKL-2019-5/m-p/1185455#M29541</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I wonder if this forum is an appropriate place for the question. I could not find a forum for MKL, so I will try my luck here.&lt;/P&gt;&lt;P&gt;We have purchased the Intel 2019 Suite for our HPC machine, but a C++ code of one of the users now fails to build with icpc/MKL, with the following errors:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;my-path/intel/compilers_and_libraries_2019.5.281/linux/mkl/include/mkl_scalapack.h(3531): error: more than one instance of overloaded function "numroc_" has "C" linkage&lt;BR /&gt;&amp;nbsp; MKL_INT numroc_(const MKL_INT* n, const MKL_INT* nb, const MKL_INT* iproc,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I am almost sure we did not do anything special with MKL headers when installing the 2019.5 suite, and the code used to be able to build with an ancient version of Intel 2015 and corresponding &amp;nbsp;MKL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please advise, what is the Numroc_ overloaded function that all of sudden started to cause problems? How to fix it? Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Grigory Shamov,&lt;/P&gt;&lt;P&gt;University of Manitoba&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 05:00:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-building-a-code-using-Scalapack-MKL-2019-5/m-p/1185455#M29541</guid>
      <dc:creator>shamov__grigory</dc:creator>
      <dc:date>2020-05-29T05:00:13Z</dc:date>
    </item>
    <item>
      <title>Grigory,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-building-a-code-using-Scalapack-MKL-2019-5/m-p/1185456#M29542</link>
      <description>&lt;P&gt;Grigory,&lt;/P&gt;&lt;P&gt;You can take a look at PBLAS ( mkroot/examples/pblasc/source )&amp;nbsp;or ScaLapack (mkroot/examples/scalapackf) examples and see how to build these examples. You may also check the list and order of mkl's libs you need to properly link to follow with MKL Linker Adviser tips:&amp;nbsp;https://software.intel.com/content/www/us/en/develop/articles/intel-mkl-link-line-advisor.html&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 07:36:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-building-a-code-using-Scalapack-MKL-2019-5/m-p/1185456#M29542</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-05-29T07:36:45Z</dc:date>
    </item>
    <item>
      <title>Thanks for the answer!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-building-a-code-using-Scalapack-MKL-2019-5/m-p/1185457#M29543</link>
      <description>&lt;P&gt;Thanks for the answer!&lt;/P&gt;&lt;P&gt;The error is at compile time, comes from C++ compiler somehow unhappy with the headers,&amp;nbsp;so any link order is irrelevant.&lt;/P&gt;&lt;P&gt;The particular source&amp;nbsp;code file &amp;nbsp;compiles with an older Intel 15.0.2 and its headers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Grigory Shamov&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 15:19:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/error-building-a-code-using-Scalapack-MKL-2019-5/m-p/1185457#M29543</guid>
      <dc:creator>shamov__grigory</dc:creator>
      <dc:date>2020-05-29T15:19:02Z</dc:date>
    </item>
  </channel>
</rss>

