<?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 Greg, actually we have one in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/P-LAPIV-Issues-with-MPI-I-O/m-p/1176519#M28977</link>
    <description>&lt;P&gt;Greg, actually we have one ScaLapack example ( "&lt;SPAN style="font-size: 13.008px;"&gt;pzgetrfx.f&amp;nbsp;&lt;/SPAN&gt;") which uses&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;PZLAPIV. Please take at look at this example. Will that help?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Dec 2017 15:49:26 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2017-12-22T15:49:26Z</dc:date>
    <item>
      <title>P?LAPIV - Issues with MPI I/O</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/P-LAPIV-Issues-with-MPI-I-O/m-p/1176518#M28976</link>
      <description>&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Hello,&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;I have a MPI Fortran code where I am reading in a square Matrix A, a RHS matrix B, and a pivot array IPIV. I currently have been successful at reading in A and B with MPI I/O, solving the linear system, and writing them out with MPI I/O with any number of cores/nodes. Now what I need to do next is pre-pivot (using PZLAPIV) the matrices prior to factoring/solving them.&amp;nbsp;&lt;/SPAN&gt;I struggle with using PZLAPIV, there are no examples online as this is usually called internally by MKL or other similar libraries. Note, I do have it working with using PZLAPIV but only when MPI rank = 1 (not a solution), but when I increase the rank to 2+ the pivoting gets messed up some how. The documentation in the PZLAPIV function states:&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 13.008px;"&gt;"The pivot vector may be distributed across a process row or a column. The pivot vector should be aligned with the distributed matrix A."&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;I think this might be where I am losing critical information. The creation and distribution of IPIV over a p by q grid that aligns with A might be where I made some mistakes. The reason is the subroutine I wrote for MPI I/O to read in a matrix might not be what I need to read in the pivot array. Perhaps when I read in a vector I shouldn't be using MPI_Type_create_darray.&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;I currently do not have a way to get my code online to aide in debugging it, but I will be incredibly thankful if anyone can work with me. I will try and get pieces of the code that pertains to inquires you may have.&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Thank you,&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Greg&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 Dec 2017 04:18:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/P-LAPIV-Issues-with-MPI-I-O/m-p/1176518#M28976</guid>
      <dc:creator>Behm__Greg</dc:creator>
      <dc:date>2017-12-22T04:18:48Z</dc:date>
    </item>
    <item>
      <title>Greg, actually we have one</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/P-LAPIV-Issues-with-MPI-I-O/m-p/1176519#M28977</link>
      <description>&lt;P&gt;Greg, actually we have one ScaLapack example ( "&lt;SPAN style="font-size: 13.008px;"&gt;pzgetrfx.f&amp;nbsp;&lt;/SPAN&gt;") which uses&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;PZLAPIV. Please take at look at this example. Will that help?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 15:49:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/P-LAPIV-Issues-with-MPI-I-O/m-p/1176519#M28977</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-12-22T15:49:26Z</dc:date>
    </item>
    <item>
      <title>I am not able to find that</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/P-LAPIV-Issues-with-MPI-I-O/m-p/1176520#M28978</link>
      <description>&lt;P&gt;I am not able to find that example, did you mean to spell it with an "x"? Could you provide a link to the page you're looking at.&lt;/P&gt;

&lt;P&gt;I am using&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;&lt;A href="http://www.netlib.org/scalapack/explore-html/d9/d92/pzgetrs_8f_source.html"&gt;http://www.netlib.org/scalapack/explore-html/d9/d92/pzgetrs_8f_source.html&lt;/A&gt;&amp;nbsp;for my reference. I do basically everything they do, but I do replace the IA, JA, IB, JB entries with a fixed number "1". Would that be an issue? The issue I believe is my inability to read in the pivot array using MPI-IO darray type. It mentions that reading a vector in MPI IO darray requires the pdims(1) or pdims(2) to be one. That might be why the pivoting is not working.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I need help creating/feeding in a matrix (distribute it) and have MPI-IO read in a binary file Nx1 sized vector. If I don't have to use MPI-IO I don't see this issue. So, I believe what I am seeing is MPI-IO. Are there any examples of MPI-IO using PZLAPIV?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;My question is how to read MPI-IO fortran unformatted data into a IPIV structure?&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 18:47:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/P-LAPIV-Issues-with-MPI-I-O/m-p/1176520#M28978</guid>
      <dc:creator>Behm__Greg</dc:creator>
      <dc:date>2017-12-22T18:47:58Z</dc:date>
    </item>
  </channel>
</rss>

