<?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 Re: Using BLACS and ScaLAPACK in c language in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLACS-and-ScaLAPACK-in-c-language/m-p/853048#M6679</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/444537"&gt;phaser75&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;I want to use BLACS(not BLAS) and ScaLapack. Since BLACS routines (blacs_pinfo, blacs_gridinit etc.) are Fortran routine, I made my code using mixed-language support. But it doesn't work.
&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;If I want to use them in c language, which library or include files are needed?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;I already linked-lmkl_blacs_intelmpi_ilp64 and added #include "mkl.h" in my c code.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;Hi, &lt;BR /&gt;&lt;BR /&gt;first of all, get the list of required libraries from link advisor tool which is located in this forum..&lt;BR /&gt;then include mkl_scalapack.h file to get the function prototypes...&lt;BR /&gt;&lt;BR /&gt;and one more thing..for the BLACS funtions like (blacs_pinfo, etc.) use the following scheme of prototypes;&lt;BR /&gt;&lt;BR /&gt; void Cblacs_get (int context, int request, int* value);&lt;BR /&gt; void Cblacs_gridinfo (int context, int* np_row, int* np_col, int* my_row, int* my_col);&lt;BR /&gt;&lt;BR /&gt;This way I can call BLACS functions from my c code..&lt;BR /&gt;&lt;BR /&gt;Actually, I dont use mkl_scalapack.h file and define my own declarations as I said above....It is your choice..&lt;BR /&gt;</description>
    <pubDate>Mon, 19 Oct 2009 18:04:53 GMT</pubDate>
    <dc:creator>sozmenproyatech_com</dc:creator>
    <dc:date>2009-10-19T18:04:53Z</dc:date>
    <item>
      <title>Using BLACS and ScaLAPACK in c language</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLACS-and-ScaLAPACK-in-c-language/m-p/853046#M6677</link>
      <description>I want to use BLACS(not BLAS) and ScaLapack. Since BLACS routines (blacs_pinfo, blacs_gridinit etc.) are Fortran routine, I made my code using mixed-language support. But it doesn't work.
&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;If I want to use them in c language, which library or include files are needed?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;I already linked-lmkl_blacs_intelmpi_ilp64 and added #include "mkl.h" in my c code.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Oct 2009 11:39:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLACS-and-ScaLAPACK-in-c-language/m-p/853046#M6677</guid>
      <dc:creator>phaser75</dc:creator>
      <dc:date>2009-10-07T11:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using BLACS and ScaLAPACK in c language</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLACS-and-ScaLAPACK-in-c-language/m-p/853047#M6678</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Why not try the link advisor tool on the header page of this forum?&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Oct 2009 12:52:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLACS-and-ScaLAPACK-in-c-language/m-p/853047#M6678</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-10-07T12:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using BLACS and ScaLAPACK in c language</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLACS-and-ScaLAPACK-in-c-language/m-p/853048#M6679</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/444537"&gt;phaser75&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;I want to use BLACS(not BLAS) and ScaLapack. Since BLACS routines (blacs_pinfo, blacs_gridinit etc.) are Fortran routine, I made my code using mixed-language support. But it doesn't work.
&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;If I want to use them in c language, which library or include files are needed?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;I already linked-lmkl_blacs_intelmpi_ilp64 and added #include "mkl.h" in my c code.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;Hi, &lt;BR /&gt;&lt;BR /&gt;first of all, get the list of required libraries from link advisor tool which is located in this forum..&lt;BR /&gt;then include mkl_scalapack.h file to get the function prototypes...&lt;BR /&gt;&lt;BR /&gt;and one more thing..for the BLACS funtions like (blacs_pinfo, etc.) use the following scheme of prototypes;&lt;BR /&gt;&lt;BR /&gt; void Cblacs_get (int context, int request, int* value);&lt;BR /&gt; void Cblacs_gridinfo (int context, int* np_row, int* np_col, int* my_row, int* my_col);&lt;BR /&gt;&lt;BR /&gt;This way I can call BLACS functions from my c code..&lt;BR /&gt;&lt;BR /&gt;Actually, I dont use mkl_scalapack.h file and define my own declarations as I said above....It is your choice..&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Oct 2009 18:04:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLACS-and-ScaLAPACK-in-c-language/m-p/853048#M6679</guid>
      <dc:creator>sozmenproyatech_com</dc:creator>
      <dc:date>2009-10-19T18:04:53Z</dc:date>
    </item>
  </channel>
</rss>

