<?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: Running MKL zgelss subroutine with AMD cpu, the code get stuck for matrices of certain orders in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-MKL-zgelss-subroutine-with-AMD-cpu-the-code-get-stuck/m-p/1641828#M36610</link>
    <description>&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there have been similar problems in 2 threads "below". The temporary solution there was to replace the mkl_def.2.dll by an older version from last year. Intel is aware of this issue and is working on a fix, AFAIK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Jörn&lt;/P&gt;</description>
    <pubDate>Thu, 07 Nov 2024 16:01:56 GMT</pubDate>
    <dc:creator>Jörn</dc:creator>
    <dc:date>2024-11-07T16:01:56Z</dc:date>
    <item>
      <title>Running MKL zgelss subroutine with AMD cpu, the code get stuck for matrices of certain orders</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-MKL-zgelss-subroutine-with-AMD-cpu-the-code-get-stuck/m-p/1641102#M36598</link>
      <description>&lt;P&gt;Hello all. A simple test code runs under Visual Studio Fortran 2019, linked with MKL library :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;program test&lt;BR /&gt;use lapack95&lt;BR /&gt;implicit none&lt;BR /&gt;integer*4::ii,jj,kk,info,Srank,lwork,n&lt;BR /&gt;real*8,allocatable::rwork(:)&lt;BR /&gt;complex*16,allocatable::work(:)&lt;BR /&gt;real*8,allocatable::S(:)&lt;BR /&gt;complex*16,allocatable::A(:,:),b(:),c(:)&lt;BR /&gt;n=31&lt;BR /&gt;allocate(A(n,n),b(n))&lt;BR /&gt;kk=0&lt;BR /&gt;do ii=1,n&lt;BR /&gt;b(ii)=0&lt;BR /&gt;do jj=1,n&lt;BR /&gt;kk=kk+1&lt;BR /&gt;A(ii,jj)=kk&lt;BR /&gt;b(ii)=b(ii)+A(ii,jj)&lt;BR /&gt;end do&lt;BR /&gt;end do&lt;BR /&gt;allocate(work(2*n**2),S(n),rwork(5*n))&lt;BR /&gt;call zgelss(n,n,1,A,n,b,n,S,1.0d-15,Srank,work,-1,rwork,info)&lt;BR /&gt;print *,info&lt;BR /&gt;lwork=int(real(work(1)))&lt;BR /&gt;deallocate(work)&lt;BR /&gt;allocate(work(2*n*n))&lt;BR /&gt;call zgelss(n,n,1,A,n,b,n,S,1.0d-15,Srank,work,lwork,rwork,info)&lt;BR /&gt;deallocate(work)&lt;BR /&gt;print *,b&lt;BR /&gt;pause&lt;BR /&gt;end program test&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i run this code on Intel CPUs (13900K and 14700K), everything works well.&lt;/P&gt;&lt;P&gt;However, when running it on AMD CPUs (7900x, 8945h), for some values of n, such as n &amp;lt;= 30 or n = 34,50,51,52, the results show slight differences compared to those from Intel CPU.&lt;/P&gt;&lt;P&gt;For other values of n, like n = 31,32,33,35, the code gets stuck in the zgelss subroutine and fails to return a value.&lt;/P&gt;&lt;P&gt;Is this due to differences in CPU architecture? In fact, the matrix problems i need to solve are more ill-conditioned than above. Using an Intel CPU with the MKL library helps me obtain correct results, but using an AMD CPU, as described above, leads to zgelss not returning value and stuck. Even when linking with other lapack95 library, the "stuck problem" no longer exists, but the result is not what i wanted (probably due to the ill-conditioned problem) . Are there any solutions to this issue? Thx!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 15:54:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-MKL-zgelss-subroutine-with-AMD-cpu-the-code-get-stuck/m-p/1641102#M36598</guid>
      <dc:creator>Kevin0616</dc:creator>
      <dc:date>2024-11-04T15:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Running MKL zgelss subroutine with AMD cpu, the code get stuck for matrices of certain orders</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-MKL-zgelss-subroutine-with-AMD-cpu-the-code-get-stuck/m-p/1641828#M36610</link>
      <description>&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there have been similar problems in 2 threads "below". The temporary solution there was to replace the mkl_def.2.dll by an older version from last year. Intel is aware of this issue and is working on a fix, AFAIK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Jörn&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 16:01:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-MKL-zgelss-subroutine-with-AMD-cpu-the-code-get-stuck/m-p/1641828#M36610</guid>
      <dc:creator>Jörn</dc:creator>
      <dc:date>2024-11-07T16:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Running MKL zgelss subroutine with AMD cpu, the code get stuck for matrices of certain orders</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-MKL-zgelss-subroutine-with-AMD-cpu-the-code-get-stuck/m-p/1643148#M36638</link>
      <description>&lt;P&gt;The fixed on AMD issue will be available in the future release.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 06:16:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-MKL-zgelss-subroutine-with-AMD-cpu-the-code-get-stuck/m-p/1643148#M36638</guid>
      <dc:creator>Ruqiu_C_Intel</dc:creator>
      <dc:date>2024-11-14T06:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Running MKL zgelss subroutine with AMD cpu, the code get stuck for matrices of certain orders</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-MKL-zgelss-subroutine-with-AMD-cpu-the-code-get-stuck/m-p/1688338#M37127</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This issue affects oneMKL versions 2024.2.1, 2024.2.2, and 2025.0. The fix is available in oneMKL 2025.0.1 and later releases. Users need to build their applications with the new release to apply the fix. Additionally, a patch release for 2024, version 2024.2.3, includes this fix. This old patch is available for priority support customers and can be downloaded from the Intel Registration Center.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 03:34:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-MKL-zgelss-subroutine-with-AMD-cpu-the-code-get-stuck/m-p/1688338#M37127</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2025-05-08T03:34:18Z</dc:date>
    </item>
  </channel>
</rss>

