<?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: Get INFO CODE = -1 When Using zfeast_hcsrev in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Get-INFO-CODE-1-When-Using-zfeast-hcsrev/m-p/1623595#M36325</link>
    <description>&lt;P&gt;Hi Wangdong,&lt;/P&gt;
&lt;P&gt;Good to know that you found the root cause in your test code. Thanks for sharing your observation here so that all other community users are aware of it and avoid future misuses.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Ruqiu&lt;/P&gt;</description>
    <pubDate>Fri, 16 Aug 2024 03:32:33 GMT</pubDate>
    <dc:creator>Ruqiu_C_Intel</dc:creator>
    <dc:date>2024-08-16T03:32:33Z</dc:date>
    <item>
      <title>Get INFO CODE = -1 When Using zfeast_hcsrev</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Get-INFO-CODE-1-When-Using-zfeast-hcsrev/m-p/1622247#M36317</link>
      <description>&lt;P&gt;Dear mkl developer:&lt;/P&gt;&lt;P&gt;Hi, I 'm trying to solve eigenvalues using&amp;nbsp;&lt;SPAN&gt;zfeast_hcsrev. I wrote a simple test file and just gave a simple diagonal matrix but I got info code=-1. I compiled with the command "icpx -qmkl=sequential test.cpp"&amp;nbsp; on wsl2 with mkl version " 2023.1.0". And Here is my test file. I have tried to find the problem but&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;failed. Hope you can give me some suggestions&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;#include "mkl.h"

MKL_INT main(void) {

  char uplo = 'F';
  MKL_INT n = 8;
  double emin = 2.0;
  double emax = 5.0;
  MKL_INT m0 = 5;
  MKL_INT info;
  double epsout;
  MKL_INT loop, m;
  double *e = new double[m0];
  MKL_Complex16 *x = new MKL_Complex16[n * m0];
  double *res = new double[m0];

  MKL_INT rowptr[9] = {0, 1, 2, 3, 4, 5, 6, 7, 8};
  MKL_INT colidx[8] = {0, 1, 2, 3, 4, 5, 6, 7};
  MKL_Complex16 data[8] = {{1.0, 0.0}, {1.9, 0.0}, {3.0, 0.0}, {4.0, 0.0},
                           {5.2, 0.0}, {6.0, 0.0}, {7.0, 0.0}, {8.0, 0.0}};
  MKL_INT fpm[128];
  feastinit(fpm);
  fpm[0] = 1;

  zfeast_hcsrev(&amp;amp;uplo, &amp;amp;n, data, rowptr, colidx, fpm, &amp;amp;epsout, &amp;amp;loop, &amp;amp;emin,
                &amp;amp;emax, &amp;amp;m0, e, x, &amp;amp;m, res, &amp;amp;info);

  return 0;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Aug 2024 15:34:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Get-INFO-CODE-1-When-Using-zfeast-hcsrev/m-p/1622247#M36317</guid>
      <dc:creator>dongw</dc:creator>
      <dc:date>2024-08-10T15:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Get INFO CODE = -1 When Using zfeast_hcsrev</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Get-INFO-CODE-1-When-Using-zfeast-hcsrev/m-p/1623127#M36322</link>
      <description>&lt;P&gt;The index of mkl csr matrix start with 1 not 0.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 07:01:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Get-INFO-CODE-1-When-Using-zfeast-hcsrev/m-p/1623127#M36322</guid>
      <dc:creator>dongw</dc:creator>
      <dc:date>2024-08-14T07:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Get INFO CODE = -1 When Using zfeast_hcsrev</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Get-INFO-CODE-1-When-Using-zfeast-hcsrev/m-p/1623595#M36325</link>
      <description>&lt;P&gt;Hi Wangdong,&lt;/P&gt;
&lt;P&gt;Good to know that you found the root cause in your test code. Thanks for sharing your observation here so that all other community users are aware of it and avoid future misuses.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Ruqiu&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 03:32:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Get-INFO-CODE-1-When-Using-zfeast-hcsrev/m-p/1623595#M36325</guid>
      <dc:creator>Ruqiu_C_Intel</dc:creator>
      <dc:date>2024-08-16T03:32:33Z</dc:date>
    </item>
  </channel>
</rss>

