<?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 Hi John! in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-failure-with-scalapack-pblas/m-p/1009863#M19191</link>
    <description>&lt;P&gt;Hi John!&lt;/P&gt;

&lt;P&gt;Yes, we faced with this problem sometime ago on this forum. The bug is fixed and MKL 11.1.3 will be without it.&lt;/P&gt;

&lt;P&gt;For now as workaround you can remove lines 750-751 and 2573-2578 from mkl_scalapack.h (all these lines contain either pstran or pdtran (w/ w/o _ and upper- and lowercase).&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 08 May 2014 02:40:23 GMT</pubDate>
    <dc:creator>Evarist_F_Intel</dc:creator>
    <dc:date>2014-05-08T02:40:23Z</dc:date>
    <item>
      <title>MKL compile failure with scalapack/pblas</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-failure-with-scalapack-pblas/m-p/1009861#M19189</link>
      <description>&lt;P&gt;Hi, When I try to compile some c++ code using scalapack and pblas on Windows, I get the compile errors shown below. A simple test case is #include "mkl_pblas.h" #include "mkl_scalapack.h" int main() { return 0; } The problem seems to be that mkl_scalapack.h and mkl_pblas.h both define the functions pdtran/pstran, etc.. If I comment out one or the other headers, the code compiles fine. In my full code, I need access to both scalapack and the pblas. I don't see this behavior on a *nix box. I'm using VS2010, Windows 7, MKL 11.1.2. Is there anyway around this problem? Thanks, John :\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(180): error C2733: second C linkage of overloaded function 'pstran' not allowed 1&amp;gt; C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(180) : see declaration of 'pstran' 1&amp;gt;C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(181): error C2733: second C linkage of overloaded function 'pdtran' not allowed 1&amp;gt; C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(181) : see declaration of 'pdtran' 1&amp;gt;C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(549): error C2733: second C linkage of overloaded function 'PSTRAN' not allowed 1&amp;gt; C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(549) : see declaration of 'PSTRAN' 1&amp;gt;C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(550): error C2733: second C linkage of overloaded function 'PDTRAN' not allowed 1&amp;gt; C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(550) : see declaration of 'PDTRAN' 1&amp;gt;C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(551): error C2733: second C linkage of overloaded function 'PSTRAN_' not allowed 1&amp;gt; C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(551) : see declaration of 'PSTRAN_' 1&amp;gt;C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(552): error C2733: second C linkage of overloaded function 'PDTRAN_' not allowed 1&amp;gt; C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(552) : see declaration of 'PDTRAN_' 1&amp;gt;C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(553): error C2733: second C linkage of overloaded function 'pstran_' not allowed 1&amp;gt; C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(553) : see declaration of 'pstran_' 1&amp;gt;C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(554): error C2733: second C linkage of overloaded function 'pdtran_' not allowed 1&amp;gt; C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(554) : see declaration of 'pdtran_'&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2014 21:38:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-failure-with-scalapack-pblas/m-p/1009861#M19189</guid>
      <dc:creator>John_Young</dc:creator>
      <dc:date>2014-05-07T21:38:17Z</dc:date>
    </item>
    <item>
      <title>I'm not sure why the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-failure-with-scalapack-pblas/m-p/1009862#M19190</link>
      <description>I'm not sure why the formatting is so bad in the original post.  Here is another try.

When I try to compile some c++ code using scalapack and pblas on Windows, I get the compile errors shown below. A simple test case is

  #include "mkl_pblas.h" 
  #include "mkl_scalapack.h" 
  int main() { return 0; } 

The problem seems to be that mkl_scalapack.h and mkl_pblas.h both define the functions pdtran/pstran, etc.. If I comment out one or the other headers, the code compiles fine. In my full code, I need access to both scalapack and the pblas. I don't see this behavior on a *nix box. I'm using VS2010, Windows 7, MKL 11.1.2. Is there anyway around this problem? 

Thanks, John 

:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(180): error C2733: second C linkage of overloaded function 'pstran' not allowed 1&amp;gt; 
C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(180) : see declaration of 'pstran' 1&amp;gt;
C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(181): error C2733: second C linkage of overloaded function 'pdtran' not allowed 1&amp;gt; 
C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(181) : see declaration of 'pdtran' 1&amp;gt;
C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(549): error C2733: second C linkage of overloaded function 'PSTRAN' not allowed 1&amp;gt; 
C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(549) : see declaration of 'PSTRAN' 1&amp;gt;
C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(550): error C2733: second C linkage of overloaded function 'PDTRAN' not allowed 1&amp;gt; 
C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(550) : see declaration of 'PDTRAN' 1&amp;gt;
C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(551): error C2733: second C linkage of overloaded function 'PSTRAN_' not allowed 1&amp;gt;
 C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(551) : see declaration of 'PSTRAN_' 1&amp;gt;
C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(552): error C2733: second C linkage of overloaded function 'PDTRAN_' not allowed 1&amp;gt; 
C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(552) : see declaration of 'PDTRAN_' 1&amp;gt;
C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(553): error C2733: second C linkage of overloaded function 'pstran_' not allowed 1&amp;gt;
 C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(553) : see declaration of 'pstran_' 1&amp;gt;
C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(554): error C2733: second C linkage of overloaded function 'pdtran_' not allowed 1&amp;gt; 
C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\mkl_pblas.h(554) : see declaration of 'pdtran_'&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2014 22:38:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-failure-with-scalapack-pblas/m-p/1009862#M19190</guid>
      <dc:creator>John_Young</dc:creator>
      <dc:date>2014-05-07T22:38:54Z</dc:date>
    </item>
    <item>
      <title>Hi John!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-failure-with-scalapack-pblas/m-p/1009863#M19191</link>
      <description>&lt;P&gt;Hi John!&lt;/P&gt;

&lt;P&gt;Yes, we faced with this problem sometime ago on this forum. The bug is fixed and MKL 11.1.3 will be without it.&lt;/P&gt;

&lt;P&gt;For now as workaround you can remove lines 750-751 and 2573-2578 from mkl_scalapack.h (all these lines contain either pstran or pdtran (w/ w/o _ and upper- and lowercase).&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2014 02:40:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-failure-with-scalapack-pblas/m-p/1009863#M19191</guid>
      <dc:creator>Evarist_F_Intel</dc:creator>
      <dc:date>2014-05-08T02:40:23Z</dc:date>
    </item>
    <item>
      <title>We will inform you when the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-failure-with-scalapack-pblas/m-p/1009864#M19192</link>
      <description>&lt;P&gt;We will inform you when the fix of the problem would be available. Stat tuned.&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2014 03:51:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-failure-with-scalapack-pblas/m-p/1009864#M19192</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2014-05-08T03:51:42Z</dc:date>
    </item>
    <item>
      <title>Thanks. That workaround</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-failure-with-scalapack-pblas/m-p/1009865#M19193</link>
      <description>Thanks. That workaround solved the problem.</description>
      <pubDate>Thu, 08 May 2014 12:38:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-failure-with-scalapack-pblas/m-p/1009865#M19193</guid>
      <dc:creator>John_Young</dc:creator>
      <dc:date>2014-05-08T12:38:00Z</dc:date>
    </item>
  </channel>
</rss>

