<?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 question about the blacs library in MKL in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/question-about-the-blacs-library-in-MKL/m-p/1104383#M24044</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I can find a lot of examples use the syntax like Cblacs_get(...), Cblacs_pinfo(...), but I can not find the c-type declaration in the "mkl_cblacs.h".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Is it legal to use this kind of c-wrapper function in mkl?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 20 Aug 2016 00:01:55 GMT</pubDate>
    <dc:creator>Ye_C_1</dc:creator>
    <dc:date>2016-08-20T00:01:55Z</dc:date>
    <item>
      <title>question about the blacs library in MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/question-about-the-blacs-library-in-MKL/m-p/1104383#M24044</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I can find a lot of examples use the syntax like Cblacs_get(...), Cblacs_pinfo(...), but I can not find the c-type declaration in the "mkl_cblacs.h".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Is it legal to use this kind of c-wrapper function in mkl?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Aug 2016 00:01:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/question-about-the-blacs-library-in-MKL/m-p/1104383#M24044</guid>
      <dc:creator>Ye_C_1</dc:creator>
      <dc:date>2016-08-20T00:01:55Z</dc:date>
    </item>
    <item>
      <title>Hi Ye,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/question-about-the-blacs-library-in-MKL/m-p/1104384#M24045</link>
      <description>&lt;P&gt;Hi Ye,&lt;/P&gt;

&lt;P&gt;I am afraid there's no function call Cblas_get in MKL, but you could use BLACS_GET which in defined in mkl_blacs.h. They have same functionality. Could you please tell me where you find function called "Cblas_get" ? I know some opensource library, for instance, ACOUSTO redefined scalapack functions which contains Cblas_get, but it is not intel MKL function.&lt;/P&gt;

&lt;P&gt;If you would like to use&amp;nbsp;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;BLACS_GET, please learn more from following link:&lt;BR /&gt;
	&lt;A href="https://software.intel.com/en-us/node/522196"&gt;https://software.intel.com/en-us/node/522196&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;Best regards,&lt;BR /&gt;
	Fiona&lt;/SPAN&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2016 02:26:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/question-about-the-blacs-library-in-MKL/m-p/1104384#M24045</guid>
      <dc:creator>Zhen_Z_Intel</dc:creator>
      <dc:date>2016-08-22T02:26:08Z</dc:date>
    </item>
    <item>
      <title>Quote:Fiona Z. (Intel) wrote:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/question-about-the-blacs-library-in-MKL/m-p/1104385#M24046</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Fiona Z. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi Ye,&lt;/P&gt;

&lt;P&gt;I am afraid there's no function call Cblas_get in MKL, but you could use BLACS_GET which in defined in mkl_blacs.h. They have same functionality. Could you please tell me where you find function called "Cblas_get" ? I know some opensource library, for instance, ACOUSTO redefined scalapack functions which contains Cblas_get, but it is not intel MKL function.&lt;/P&gt;

&lt;P&gt;If you would like to use&amp;nbsp;BLACS_GET, please learn more from following link:&lt;BR /&gt;
	&lt;A href="https://software.intel.com/en-us/node/522196"&gt;https://software.intel.com/en-us/node/522196&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
	Fiona&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;I saw an example on intel's form:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New'; color: rgb(120, 73, 42);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;#include &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #d12f1b"&gt;&amp;lt;stdio.h&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New'; color: rgb(209, 47, 27);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #78492a"&gt;#include &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;lt;string.h&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New'; color: rgb(209, 47, 27);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #78492a"&gt;#include &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;lt;stdlib.h&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New'; color: rgb(120, 73, 42);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;#include &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #d12f1b"&gt;"mpi.h"&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New'; min-height: 16px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New'; color: rgb(120, 73, 42);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;#define AA(i,j) AA[(i)*M+(j)]&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New'; min-height: 16px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New'; min-height: 16px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;int&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; main(&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;int&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; argc, &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;char&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; **argv) {&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;int&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; i, j, k;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New'; color: rgb(0, 132, 0);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;/************&amp;nbsp; MPI ***************************/&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;int&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; myrank_mpi, nprocs_mpi;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; MPI_Init( &amp;amp;argc, &amp;amp;argv);&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; MPI_Comm_rank(MPI_COMM_WORLD, &amp;amp;myrank_mpi);&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; MPI_Comm_size(MPI_COMM_WORLD, &amp;amp;nprocs_mpi);&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New'; color: rgb(0, 132, 0);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;/************&amp;nbsp; BLACS ***************************/&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;int&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; ictxt, nprow, npcol, myrow, mycol,nb;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;int&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; info,itemp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;int&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; ZERO=&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;,ONE=&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; nprow = &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;; npcol = &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;; nb =&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; Cblacs_pinfo( &amp;amp;myrank_mpi, &amp;amp;nprocs_mpi ) ;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; Cblacs_get( -&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;, &amp;amp;ictxt );&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; Cblacs_gridinit( &amp;amp;ictxt, &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #d12f1b"&gt;"Row"&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;, nprow, npcol );&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; Cblacs_gridinfo( ictxt, &amp;amp;nprow, &amp;amp;npcol, &amp;amp;myrow, &amp;amp;mycol );&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;int&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; M=&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;5&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; *AA = (&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;*) malloc(M*M*&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;sizeof&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;));&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;for&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;(i=&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;;i&amp;lt;M;i++ )&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;for&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;(j=&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;;j&amp;lt;M;j++)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AA[i*M+j]=(&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;*i+&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;3&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;*j+&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;);&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New'; min-height: 16px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; *X = (&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;*) malloc(M*&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;sizeof&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;));&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; X[&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;]=&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;;X[&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;]=&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;;X[&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;]=&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;;X[&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;3&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;]=&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;;X[&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;4&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;]=&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New'; min-height: 16px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;int&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; descA[&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;9&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;],descx[&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;9&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;],descy[&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;9&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;];&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;int&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; mA = numroc_( &amp;amp;M, &amp;amp;nb, &amp;amp;myrow, &amp;amp;ZERO, &amp;amp;nprow );&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;int&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; nA = numroc_( &amp;amp;M, &amp;amp;nb, &amp;amp;mycol, &amp;amp;ZERO, &amp;amp;npcol );&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;int&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; nx = numroc_( &amp;amp;M, &amp;amp;nb, &amp;amp;myrow, &amp;amp;ZERO, &amp;amp;nprow );&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;int&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; my = numroc_( &amp;amp;M, &amp;amp;nb, &amp;amp;myrow, &amp;amp;ZERO, &amp;amp;nprow );&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; descinit_(descA, &amp;amp;M, &amp;nbsp; &amp;amp;M, &amp;nbsp; &amp;amp;nb,&amp;nbsp; &amp;amp;nb,&amp;nbsp; &amp;amp;ZERO, &amp;amp;ZERO, &amp;amp;ictxt, &amp;amp;mA,&amp;nbsp; &amp;amp;info);&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; descinit_(descx, &amp;amp;M, &amp;amp;ONE, &amp;nbsp; &amp;amp;nb, &amp;amp;ONE,&amp;nbsp; &amp;amp;ZERO, &amp;amp;ZERO, &amp;amp;ictxt, &amp;amp;nx, &amp;amp;info);&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New'; min-height: 16px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; descinit_(descy, &amp;amp;M, &amp;amp;ONE, &amp;nbsp; &amp;amp;nb, &amp;amp;ONE,&amp;nbsp; &amp;amp;ZERO, &amp;amp;ZERO, &amp;amp;ictxt, &amp;amp;my, &amp;amp;info);&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; *x = (&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;*) malloc(nx*&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;sizeof&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;));&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; *y = (&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;*) calloc(my,&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;sizeof&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;));&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; *A = (&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;*) malloc(mA*nA*&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;sizeof&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;));&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;int&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; sat,sut;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;for&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;(i=&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;;i&amp;lt;mA;i++)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New'; min-height: 16px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;for&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;(j=&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;;j&amp;lt;nA;j++){&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sat= (myrow*nb)+i+(i/nb)*nb;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sut= (mycol*nb)+j+(j/nb)*nb;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A[j*mA+i]=AA(sat,sut);&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New'; min-height: 16px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New'; min-height: 16px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;for&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;(i=&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;;i&amp;lt;nx;i++){&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sut= (myrow*nb)+i+(i/nb)*nb;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; x&lt;I&gt;=X[sut];&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New'; min-height: 16px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; alpha = &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;1.0&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; beta = &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;0.0&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; pdgemv_(&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #d12f1b"&gt;"N"&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;,&amp;amp;M,&amp;amp;M,&amp;amp;alpha,A,&amp;amp;ONE,&amp;amp;ONE,descA,x,&amp;amp;ONE,&amp;amp;ONE,descx,&amp;amp;ONE,&amp;amp;beta,y,&amp;amp;ONE,&amp;amp;ONE,descy,&amp;amp;ONE);&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New'; min-height: 16px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; Cblacs_barrier(ictxt,&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #d12f1b"&gt;"A"&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;);&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2"&gt;for&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;(i=&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;;i&amp;lt;my;i++)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; printf(&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #d12f1b"&gt;"rank=%d %.2f \n"&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;, myrank_mpi,y&lt;I&gt;);&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; Cblacs_gridexit( &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt; );&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp;&amp;nbsp; MPI_Finalize();&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New'; color: rgb(187, 44, 162);"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #000000"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;return&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #272ad8"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #000000"&gt;;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: 'Courier New';"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;}&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV&gt;&lt;BR /&gt;
	It seems to use the Cblacs_....version of the blacs library. Can you explain it more?&lt;BR /&gt;
	&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;I gauss the program does not link to the mkl blacs library, but another library in PATH, Is it correct?&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Aug 2016 03:22:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/question-about-the-blacs-library-in-MKL/m-p/1104385#M24046</guid>
      <dc:creator>Ye_C_1</dc:creator>
      <dc:date>2016-08-22T03:22:53Z</dc:date>
    </item>
    <item>
      <title>Hi Ye,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/question-about-the-blacs-library-in-MKL/m-p/1104386#M24047</link>
      <description>&lt;P&gt;Hi Ye,&lt;/P&gt;

&lt;P&gt;He might use some other library or redefined functions by self. If you could not make sure, you could compile this program, the system will notice undefined reference to "Cblacs_get", "Cblacs_pinfo"...&lt;/P&gt;

&lt;P&gt;And there's no function called "pdgemv_&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;" in MKL, the name should be "&lt;/SPAN&gt;pdgemv&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;" which is defined in mkl_pblas.h. Please use functions defined in MKL library. Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2016 03:56:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/question-about-the-blacs-library-in-MKL/m-p/1104386#M24047</guid>
      <dc:creator>Zhen_Z_Intel</dc:creator>
      <dc:date>2016-08-22T03:56:20Z</dc:date>
    </item>
    <item>
      <title>Quote:Fiona Z. (Intel) wrote:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/question-about-the-blacs-library-in-MKL/m-p/1104387#M24048</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Fiona Z. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi Ye,&lt;/P&gt;

&lt;P&gt;He might use some other library or redefined functions by self. If you could not make sure, you could compile this program, the system will notice undefined reference to "Cblacs_get", "Cblacs_pinfo"...&lt;/P&gt;

&lt;P&gt;And there's no function called "pdgemv_" in MKL, the name should be "pdgemv" which is defined in mkl_pblas.h. Please use functions defined in MKL library. Thank you.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;It's clear!&lt;/P&gt;

&lt;P&gt;I will just follow the mkl manual.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 02:41:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/question-about-the-blacs-library-in-MKL/m-p/1104387#M24048</guid>
      <dc:creator>Ye_C_1</dc:creator>
      <dc:date>2016-08-23T02:41:55Z</dc:date>
    </item>
    <item>
      <title>Quote:Fiona Z. (Intel) wrote:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/question-about-the-blacs-library-in-MKL/m-p/1104388#M24049</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Fiona Z. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi Ye,&lt;/P&gt;

&lt;P&gt;He might use some other library or redefined functions by self. If you could not make sure, you could compile this program, the system will notice undefined reference to "Cblacs_get", "Cblacs_pinfo"...&lt;/P&gt;

&lt;P&gt;And there's no function called "pdgemv_" in MKL, the name should be "pdgemv" which is defined in mkl_pblas.h. Please use functions defined in MKL library. Thank you.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;It's clear!&lt;/P&gt;

&lt;P&gt;I will just follow the mkl manual.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 02:42:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/question-about-the-blacs-library-in-MKL/m-p/1104388#M24049</guid>
      <dc:creator>Ye_C_1</dc:creator>
      <dc:date>2016-08-23T02:42:01Z</dc:date>
    </item>
  </channel>
</rss>

