<?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: DPOTRI problems on AMD in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DPOTRI-problems-on-AMD/m-p/1752986#M37620</link>
    <description>&lt;P&gt;I mistakenly linked the spec for the Intel® Xeon® Platinum 8570 Processor, not the 8573C.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But the Azure pages (links given below), show the following:&lt;/P&gt;&lt;TABLE width="368px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="164px"&gt;Size Name&lt;/TD&gt;&lt;TD width="99px"&gt;vCPUs (Qty.)&lt;/TD&gt;&lt;TD width="105px"&gt;Memory (GB)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="164px"&gt;Standard_E96ads_v6&lt;/TD&gt;&lt;TD width="99px"&gt;96&lt;/TD&gt;&lt;TD width="105px"&gt;672&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="164px"&gt;Standard_E96s_v6&lt;/TD&gt;&lt;TD width="99px"&gt;96&lt;/TD&gt;&lt;TD width="105px"&gt;768&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;The machines differ in the local and remote storage they have available.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Sources:&lt;BR /&gt;-&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/memory-optimized/esv6-series?tabs=sizebasic" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/memory-optimized/esv6-series?tabs=sizebasic&lt;/A&gt;&lt;BR /&gt;-&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/memory-optimized/eadsv6-series?tabs=sizebasic" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/memory-optimized/eadsv6-series?tabs=sizebasic&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jul 2026 21:39:15 GMT</pubDate>
    <dc:creator>ivanp</dc:creator>
    <dc:date>2026-07-02T21:39:15Z</dc:date>
    <item>
      <title>DPOTRI problems on AMD</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DPOTRI-problems-on-AMD/m-p/1752458#M37614</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran a larger linear algebra workflow which also calls various blas and lapack function including potrf, trsm, potri, syrk, symm and gemm. The arrays involved can be up to 150,000 x 150,000.&lt;/P&gt;&lt;P&gt;I have observed that the workflow's processing time substantially increases when executed at an AMD cpu, up to the point that the workflow had to be interrupted. Investigating the issue I found that potri is the culprit, where MKL is not even returning. Observing the core usage while potri is called it is multi-core but substantially fluctuates between using all cores and only one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the setup:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;compiled with Intel Clang++ with arguments:&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;-march=x86-64-v4&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;-std=c++20&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;-fPIE&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;-std=gnu++20&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;-ferror-limit=4 -O2&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;-qopenmp&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;-fp-model=precise&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;all libraries are statically linked (including MKL, pthread and libiomp5)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;System libraries are linked dynamically:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;linux-vdso.so.1 (0x00000673cc8ff000)
libm.so.6 =&amp;gt; /lib/x86_64-linux-gnu/libm.so.6 (0x00000673cc807000)
libmvec.so.1 =&amp;gt; /lib/x86_64-linux-gnu/libmvec.so.1 (0x00000673c0707000)
libgcc_s.so.1 =&amp;gt; /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00000673c06d9000)
libc.so.6 =&amp;gt; /lib/x86_64-linux-gnu/libc.so.6 (0x00000673c0400000)
/lib64/ld-linux-x86-64.so.2 (0x00000673cc901000)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;software is executed on an Azure instance running Ubuntu 24.04 using environment variable settings&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ulimit -s unlimited
export OMP_NUM_THREADS=48
export MKL_NUM_THREADS=48
export OMP_DYNAMIC=FALSE
export OMP_MAX_ACTIVE_LEVELS=2147483647
export OMP_PLACES=cores
export OMP_PROC_BIND=true&lt;/LI-CODE&gt;&lt;P&gt;On a E96s v6 instance with an&amp;nbsp;INTEL(R) XEON(R) PLATINUM 8573C processor the software behaves normally.&lt;/P&gt;&lt;P&gt;On a&amp;nbsp;E96ads_v6 instance with an AMD&amp;nbsp;EPYC™ 9004 processor the software hangs in the MKL potri routine.&lt;/P&gt;&lt;P&gt;Note that all other MKL routines (potrf, trsm etc) have not shown the above problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2026 13:49:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DPOTRI-problems-on-AMD/m-p/1752458#M37614</guid>
      <dc:creator>may_ka</dc:creator>
      <dc:date>2026-06-26T13:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: DPOTRI problems on AMD</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DPOTRI-problems-on-AMD/m-p/1752492#M37615</link>
      <description>&lt;P&gt;The processing fro dpotri on a &lt;SPAN&gt;1146878&lt;/SPAN&gt;&amp;nbsp;x &lt;SPAN&gt;1146878&lt;/SPAN&gt;&amp;nbsp;matrix:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%"&gt;INTEL(R) XEON(R) PLATINUM 8573C, 48 cores&lt;/TD&gt;&lt;TD width="50%"&gt;3198 seconds&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;AMD EPYC™ 9004, 48 cores&lt;/TD&gt;&lt;TD width="50%"&gt;21141 seconds&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is an increase by factor 6.6.&lt;/P&gt;&lt;P&gt;The above numbers also apply for compiling using clang++ and linking against llvm omp.&lt;/P&gt;&lt;P&gt;The MKL version used is&amp;nbsp;&lt;SPAN&gt;2026.0.0.198.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2026 22:16:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DPOTRI-problems-on-AMD/m-p/1752492#M37615</guid>
      <dc:creator>may_ka</dc:creator>
      <dc:date>2026-06-26T22:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: DPOTRI problems on AMD</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DPOTRI-problems-on-AMD/m-p/1752983#M37619</link>
      <description>&lt;P&gt;A quick calculations shows the size of this matrix is almost a 10 TB:&lt;/P&gt;&lt;LI-CODE lang="none"&gt;&amp;gt;&amp;gt;&amp;gt; 1146878**2 * 8 / 1024**3
9799.965820342302&lt;/LI-CODE&gt;&lt;P&gt;According to &lt;A href="https://www.intel.com/content/www/us/en/products/sku/237264/intel-xeon-platinum-8570-processor-300m-cache-2-10-ghz/specifications.html" target="_self"&gt;this page&lt;/A&gt;, the Intel Xeon can address 4 TB of memory. And according to &lt;A href="https://docs.amd.com/api/khub/documents/zynTogiENLgLxWEd4075vQ/content" target="_self"&gt;this sheet&lt;/A&gt;, the AMD EPYC could have up to 6 TB.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Could swapping to disk be the issue?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2026 21:15:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DPOTRI-problems-on-AMD/m-p/1752983#M37619</guid>
      <dc:creator>ivanp</dc:creator>
      <dc:date>2026-07-02T21:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: DPOTRI problems on AMD</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DPOTRI-problems-on-AMD/m-p/1752986#M37620</link>
      <description>&lt;P&gt;I mistakenly linked the spec for the Intel® Xeon® Platinum 8570 Processor, not the 8573C.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But the Azure pages (links given below), show the following:&lt;/P&gt;&lt;TABLE width="368px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="164px"&gt;Size Name&lt;/TD&gt;&lt;TD width="99px"&gt;vCPUs (Qty.)&lt;/TD&gt;&lt;TD width="105px"&gt;Memory (GB)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="164px"&gt;Standard_E96ads_v6&lt;/TD&gt;&lt;TD width="99px"&gt;96&lt;/TD&gt;&lt;TD width="105px"&gt;672&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="164px"&gt;Standard_E96s_v6&lt;/TD&gt;&lt;TD width="99px"&gt;96&lt;/TD&gt;&lt;TD width="105px"&gt;768&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;The machines differ in the local and remote storage they have available.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Sources:&lt;BR /&gt;-&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/memory-optimized/esv6-series?tabs=sizebasic" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/memory-optimized/esv6-series?tabs=sizebasic&lt;/A&gt;&lt;BR /&gt;-&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/memory-optimized/eadsv6-series?tabs=sizebasic" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/memory-optimized/eadsv6-series?tabs=sizebasic&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2026 21:39:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DPOTRI-problems-on-AMD/m-p/1752986#M37620</guid>
      <dc:creator>ivanp</dc:creator>
      <dc:date>2026-07-02T21:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: DPOTRI problems on AMD</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DPOTRI-problems-on-AMD/m-p/1753037#M37621</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/253075"&gt;@ivanp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the actual number is 146878. Sorry for the confusion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could solve the problem. A large range in diagonal elements with resulting borderline floating point numbers causes the issue. For some reason Intel handles the problem without overhead, contrarily to AMD.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2026 15:16:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DPOTRI-problems-on-AMD/m-p/1753037#M37621</guid>
      <dc:creator>may_ka</dc:creator>
      <dc:date>2026-07-03T15:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: DPOTRI problems on AMD</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DPOTRI-problems-on-AMD/m-p/1753041#M37622</link>
      <description>&lt;P&gt;No worries. At 161 GB that should fit.&lt;BR /&gt;&lt;BR /&gt;I have read &lt;A href="https://fortran-lang.discourse.group/t/performance-drop-when-using-intel-oneapi-with-standard-sematics-option/9944/8?u=ivanpribec" target="_self"&gt;elsewhere&lt;/A&gt; that denormalized numbers and gradual underflows can cause processing slowdowns.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2026 15:21:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DPOTRI-problems-on-AMD/m-p/1753041#M37622</guid>
      <dc:creator>ivanp</dc:creator>
      <dc:date>2026-07-03T15:21:52Z</dc:date>
    </item>
  </channel>
</rss>

