<?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: Re:PDSYRK causes MPI_Abort on non square matrices in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PDSYRK-causes-MPI-Abort-on-non-square-matrices/m-p/1237889#M30514</link>
    <description>&lt;P&gt;Here are the files that are included in the first code that I attached.&amp;nbsp;&lt;BR /&gt;In this program, they are useful only for defining the "real" type (either double or float), but at the moment I am not managing yet the possibility of using floats, as I am evoking pdsyrk directly.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;To compile, I use the following line:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mpiicc -std=c99 -O3 -qopenmp -DMKL_ILP64 -I${MKLROOT}/include BenchScalapack.c matrices.c  -o main -L${MKLROOT}/lib/intel64 -mkl -lmkl_scalapack_ilp64 -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -lmkl_blacs_intelmpi_ilp64 -liomp5 -lpthread -lm -ldl -DDOUBLE_PRECISION&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;And to run:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mpirun -np 4 ./main 30 20&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;Matrix A in this case is 30x20 and I am getting the following error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;application called MPI_Abort(MPI_COMM_WORLD, -8) - process 0
application called MPI_Abort(MPI_COMM_WORLD, -8) - process 1
application called MPI_Abort(MPI_COMM_WORLD, -8) - process 2
application called MPI_Abort(MPI_COMM_WORLD, -8) - process 3&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;Thank you for your help!&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Dec 2020 12:32:21 GMT</pubDate>
    <dc:creator>Viv</dc:creator>
    <dc:date>2020-12-16T12:32:21Z</dc:date>
    <item>
      <title>PDSYRK causes MPI_Abort on non square matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PDSYRK-causes-MPI-Abort-on-non-square-matrices/m-p/1237636#M30505</link>
      <description>&lt;P&gt;In the file that I am attaching, I am simply trying to compute the matrix multiplication A^T*A using the scalapack routine PDSYRK . Matrix A is randomly generated in row major order, and since scalapack uses column major order, I am calling pdsyrk_ in the non-transpose mode. The program works when A is a square matrix, but it calls MPI_Abort (error code -8) when I run it on non-square matrices.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 22:40:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PDSYRK-causes-MPI-Abort-on-non-square-matrices/m-p/1237636#M30505</guid>
      <dc:creator>Viv</dc:creator>
      <dc:date>2020-12-15T22:40:54Z</dc:date>
    </item>
    <item>
      <title>Re:PDSYRK causes MPI_Abort on non square matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PDSYRK-causes-MPI-Abort-on-non-square-matrices/m-p/1237885#M30512</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us!&lt;/P&gt;&lt;P&gt;We have gone through the attached source code, could you please provide &lt;B&gt;"matrices.h" and "common.h"&lt;/B&gt; source files.&lt;/P&gt;&lt;P&gt;Also, please provide &lt;B&gt;steps to reproduce&lt;/B&gt; the error along with &lt;B&gt;commands&lt;/B&gt; which you are using to compile the code. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Dec 2020 12:06:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PDSYRK-causes-MPI-Abort-on-non-square-matrices/m-p/1237885#M30512</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-12-16T12:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re:PDSYRK causes MPI_Abort on non square matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PDSYRK-causes-MPI-Abort-on-non-square-matrices/m-p/1237889#M30514</link>
      <description>&lt;P&gt;Here are the files that are included in the first code that I attached.&amp;nbsp;&lt;BR /&gt;In this program, they are useful only for defining the "real" type (either double or float), but at the moment I am not managing yet the possibility of using floats, as I am evoking pdsyrk directly.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;To compile, I use the following line:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mpiicc -std=c99 -O3 -qopenmp -DMKL_ILP64 -I${MKLROOT}/include BenchScalapack.c matrices.c  -o main -L${MKLROOT}/lib/intel64 -mkl -lmkl_scalapack_ilp64 -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -lmkl_blacs_intelmpi_ilp64 -liomp5 -lpthread -lm -ldl -DDOUBLE_PRECISION&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;And to run:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mpirun -np 4 ./main 30 20&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;Matrix A in this case is 30x20 and I am getting the following error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;application called MPI_Abort(MPI_COMM_WORLD, -8) - process 0
application called MPI_Abort(MPI_COMM_WORLD, -8) - process 1
application called MPI_Abort(MPI_COMM_WORLD, -8) - process 2
application called MPI_Abort(MPI_COMM_WORLD, -8) - process 3&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;Thank you for your help!&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 12:32:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PDSYRK-causes-MPI-Abort-on-non-square-matrices/m-p/1237889#M30514</guid>
      <dc:creator>Viv</dc:creator>
      <dc:date>2020-12-16T12:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: PDSYRK causes MPI_Abort on non square matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PDSYRK-causes-MPI-Abort-on-non-square-matrices/m-p/1239363#M30554</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for providing the source code and commands to reproduce the error.&lt;/P&gt;
&lt;P&gt;We are able to reproduce the error which you are facing.&lt;/P&gt;
&lt;P&gt;For Non-Square Matrix, use Transpose mode in the PDSYRK API call. We tried to run the code in Transpose mode and it is working.&lt;/P&gt;
&lt;P&gt;Edit the below line in your code.&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;pdsyrk_("U", "T", &amp;amp;m, &amp;amp;n, &amp;amp;done, subA, &amp;amp;one, &amp;amp;one, descSubA, &amp;amp;dzero, subC, &amp;amp;one, &amp;amp;one, descSubC);&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GouthamK_Intel_0-1608553932739.png" style="width: 829px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/14263iBDEB340123311B7F/image-dimensions/829x172?v=v2&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" width="829" height="172" role="button" title="GouthamK_Intel_0-1608553932739.png" alt="GouthamK_Intel_0-1608553932739.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know if you face any issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Goutham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="highlighter--hover-tools" style="display: none;"&gt;
&lt;DIV id="highlighter--hover-tools--container"&gt;
&lt;DIV class="highlighter--icon highlighter--icon-copy" title="Copy"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="highlighter--separator"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="highlighter--icon highlighter--icon-delete" title="Delete"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Dec 2020 12:33:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PDSYRK-causes-MPI-Abort-on-non-square-matrices/m-p/1239363#M30554</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-12-21T12:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: PDSYRK causes MPI_Abort on non square matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PDSYRK-causes-MPI-Abort-on-non-square-matrices/m-p/1239391#M30556</link>
      <description>&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 14:08:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PDSYRK-causes-MPI-Abort-on-non-square-matrices/m-p/1239391#M30556</guid>
      <dc:creator>Viv</dc:creator>
      <dc:date>2020-12-21T14:08:10Z</dc:date>
    </item>
    <item>
      <title>Re:PDSYRK causes MPI_Abort on non square matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PDSYRK-causes-MPI-Abort-on-non-square-matrices/m-p/1239686#M30560</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the confirmation!&lt;/P&gt;&lt;P&gt;As this issue has been resolved, we will no longer respond to this thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you require any additional assistance from Intel, please start a new thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any further interaction in this thread will be considered community only.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a Good day.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Dec 2020 05:54:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PDSYRK-causes-MPI-Abort-on-non-square-matrices/m-p/1239686#M30560</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-12-22T05:54:51Z</dc:date>
    </item>
  </channel>
</rss>

