<?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 the diagonal component of an inverse matrix have negative value in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/the-diagonal-component-of-an-inverse-matrix-have-negative-value/m-p/1723203#M37395</link>
    <description>&lt;P&gt;&amp;nbsp;I am calculating the diagonal components of the inverse matrix using the Intel MKL PARDISO function, and the diagonal components are coming out as negative values. I would like to ask if there is a solution for this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested this with Intel MKL versions 2025.2 and 2025.3.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;attach file : demo.tar.xz&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; ia file : demo.ia.bin&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; ja file : demo.ja.bin&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; a file : demo.a.bin&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; test code : diag_of_inv.cpp&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Oct 2025 11:27:35 GMT</pubDate>
    <dc:creator>ddd1000</dc:creator>
    <dc:date>2025-10-23T11:27:35Z</dc:date>
    <item>
      <title>the diagonal component of an inverse matrix have negative value</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/the-diagonal-component-of-an-inverse-matrix-have-negative-value/m-p/1723203#M37395</link>
      <description>&lt;P&gt;&amp;nbsp;I am calculating the diagonal components of the inverse matrix using the Intel MKL PARDISO function, and the diagonal components are coming out as negative values. I would like to ask if there is a solution for this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested this with Intel MKL versions 2025.2 and 2025.3.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;attach file : demo.tar.xz&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; ia file : demo.ia.bin&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; ja file : demo.ja.bin&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; a file : demo.a.bin&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; test code : diag_of_inv.cpp&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 11:27:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/the-diagonal-component-of-an-inverse-matrix-have-negative-value/m-p/1723203#M37395</guid>
      <dc:creator>ddd1000</dc:creator>
      <dc:date>2025-10-23T11:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: the diagonal component of an inverse matrix have negative value</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/the-diagonal-component-of-an-inverse-matrix-have-negative-value/m-p/1723759#M37401</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried the reproducer with both oneMKL 2025.2 and 2025.3 on an Intel Xeon (OS: Ubuntu 24.04 LTS), but failed to get any negative values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Output:&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;#total size : 31495&lt;BR /&gt;#negative size : 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you provide more info about the machine and OS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Fengrui&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 00:29:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/the-diagonal-component-of-an-inverse-matrix-have-negative-value/m-p/1723759#M37401</guid>
      <dc:creator>Fengrui</dc:creator>
      <dc:date>2025-10-28T00:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: the diagonal component of an inverse matrix have negative value</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/the-diagonal-component-of-an-inverse-matrix-have-negative-value/m-p/1723887#M37404</link>
      <description>&lt;P&gt;Hi, Fengrui&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The OS and CPU used for the test are as follows: The first is an &lt;STRONG&gt;Intel Core i5-7500 3.40GHz&lt;/STRONG&gt; with &lt;STRONG&gt;Debian Forky&lt;/STRONG&gt;, and the second is an &lt;STRONG&gt;Intel Xeon Gold 6142 CPU 2.60GHz&lt;/STRONG&gt; with &lt;STRONG&gt;RHEL 8.10&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;When performing the test on my CPU and OS, some values (over 1000) in the &lt;STRONG&gt;diagonal of the inverse matrix&lt;/STRONG&gt; are coming out as &lt;STRONG&gt;negative numbers&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 12:17:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/the-diagonal-component-of-an-inverse-matrix-have-negative-value/m-p/1723887#M37404</guid>
      <dc:creator>ddd1000</dc:creator>
      <dc:date>2025-10-28T12:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: the diagonal component of an inverse matrix have negative value</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/the-diagonal-component-of-an-inverse-matrix-have-negative-value/m-p/1723890#M37405</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, Fengrui&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you share a your build scripts(Makefile etc)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My build scripts (MKL 2025.3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;% g++&amp;nbsp;-o diag_of_inv.exe diag_of_inv.cpp -DMKL_ILP64 -m64 -I"${MKLROOT}/include" \&lt;BR /&gt;# -m64 -Wl,--start-group ${MKLROOT}/lib/libmkl_intel_ilp64.a ${MKLROOT}/lib/libmkl_gnu_thread.a ${MKLROOT}/lib/libmkl_core.a -Wl,--end-group -lgomp -lpthread -lm -ldl&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 12:54:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/the-diagonal-component-of-an-inverse-matrix-have-negative-value/m-p/1723890#M37405</guid>
      <dc:creator>ddd1000</dc:creator>
      <dc:date>2025-10-28T12:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: the diagonal component of an inverse matrix have negative value</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/the-diagonal-component-of-an-inverse-matrix-have-negative-value/m-p/1723952#M37407</link>
      <description>&lt;P&gt;I used Intel compiler: icpx&amp;nbsp;-DMKL_ILP64 -qmkl-ilp64=parallel&amp;nbsp;&lt;SPAN&gt;diag_of_inv.cpp&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I also tried your build scripts but still didn't reproduce the results (all values are positive). I will try to find the same machine with the same OS to test.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 22:05:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/the-diagonal-component-of-an-inverse-matrix-have-negative-value/m-p/1723952#M37407</guid>
      <dc:creator>Fengrui</dc:creator>
      <dc:date>2025-10-28T22:05:19Z</dc:date>
    </item>
  </channel>
</rss>

