<?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 Those look like Fortran in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/unresolved-external-symbols-numroc-descinit/m-p/919652#M12867</link>
    <description>Those look like Fortran functions compiled according to the most common default for linux, MAC, BSD (but not Windows).  A direct call from C++ would use those function names literally with extern "C" qualifier, and of course parameters by reference.
For choice of corresponding MKL libraries, if -mkl isn't what you want, you would use the MKL link advisor (if it is active today).</description>
    <pubDate>Sun, 07 Oct 2012 19:05:03 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2012-10-07T19:05:03Z</dc:date>
    <item>
      <title>unresolved external symbols: numroc_ &amp; descinit_</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/unresolved-external-symbols-numroc-descinit/m-p/919651#M12866</link>
      <description>&lt;P&gt;&lt;SPAN class="hps"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="hps"&gt;How can I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;call the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;functions&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;numroc_ and &lt;/SPAN&gt;descinit_ &amp;nbsp;&lt;SPAN class="hps"&gt;in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;c&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;+ +. &lt;SPAN class="hps"&gt;I just read&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a similar&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;posts&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;but still&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;do not know how&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to&amp;nbsp;link&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;these two functions&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN&gt;Stan&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Oct 2012 18:13:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/unresolved-external-symbols-numroc-descinit/m-p/919651#M12866</guid>
      <dc:creator>stansy</dc:creator>
      <dc:date>2012-10-07T18:13:13Z</dc:date>
    </item>
    <item>
      <title>Those look like Fortran</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/unresolved-external-symbols-numroc-descinit/m-p/919652#M12867</link>
      <description>Those look like Fortran functions compiled according to the most common default for linux, MAC, BSD (but not Windows).  A direct call from C++ would use those function names literally with extern "C" qualifier, and of course parameters by reference.
For choice of corresponding MKL libraries, if -mkl isn't what you want, you would use the MKL link advisor (if it is active today).</description>
      <pubDate>Sun, 07 Oct 2012 19:05:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/unresolved-external-symbols-numroc-descinit/m-p/919652#M12867</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2012-10-07T19:05:03Z</dc:date>
    </item>
    <item>
      <title>Hi TimP,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/unresolved-external-symbols-numroc-descinit/m-p/919653#M12868</link>
      <description>Hi TimP,
I tried to directly call in c + + but never failed:

#ifdef __cplusplus	
extern "C" {
#endif
void Cblacs_pinfo(int* mypnum, int* nprocs);  // OK
void Cigebs2d(int icontxt, char *scope, char *top, int m, int n, int *A, int lda); //OK
void descinit_(int *idescal, int *m, int *n,int *mb,int *nb, int *dummy1 , int *dummy2 , int *icon, int *mla, int *info);  //error: unresolved external symbols
int numroc_(int *n, int *nb, int *iproc, int *isrcprocs, int *nprocs);  //error: unresolved external symbols
#ifdef __cplusplus
}
#endif
#define dgesd2d_ DGESD2D   //OK

the same:
#define numroc_ NUMROC  //error: unresolved external symbols

Now wrapped it in pure c and is OK.

Regards
Stan</description>
      <pubDate>Mon, 08 Oct 2012 00:05:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/unresolved-external-symbols-numroc-descinit/m-p/919653#M12868</guid>
      <dc:creator>stansy</dc:creator>
      <dc:date>2012-10-08T00:05:53Z</dc:date>
    </item>
    <item>
      <title>Hello, I'm having a similar</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/unresolved-external-symbols-numroc-descinit/m-p/919654#M12869</link>
      <description>&lt;P&gt;Hello, I'm having a similar problem here.&lt;/P&gt;
&lt;P&gt;I've recently aquired Composure XE 2013 with MKL and tried to run the example programs for pblasc but have been unable.&amp;nbsp; When looking into the problem I think it is because these basic functions,&amp;nbsp;numroc_ and descinit_, don't seem to be in the include files.&amp;nbsp; Since numroc_ and descinit_ are not in the include files in any form, should I simply add them to mkl_pblas.h with the above data types as inputs and just hope they are in the libraries and give the right output?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;-Gabe&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2013 23:18:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/unresolved-external-symbols-numroc-descinit/m-p/919654#M12869</guid>
      <dc:creator>GTA</dc:creator>
      <dc:date>2013-01-11T23:18:52Z</dc:date>
    </item>
  </channel>
</rss>

