<?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 Hello, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Issue-with-mkl-sparse-z-export-csr/m-p/1124988#M25186</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've notice that the code has been updated. Do you still see the problem?&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Kirill&lt;/P&gt;</description>
    <pubDate>Fri, 25 Oct 2019 04:38:09 GMT</pubDate>
    <dc:creator>Kirill_V_Intel</dc:creator>
    <dc:date>2019-10-25T04:38:09Z</dc:date>
    <item>
      <title>Issue with mkl_sparse_z_export_csr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Issue-with-mkl-sparse-z-export-csr/m-p/1124986#M25184</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I use &lt;EM&gt;mkl_sparse_z_export_csr &lt;/EM&gt;to export a CSR handle from internal representation. I double checked the exported values and they are all correct. However, when I use the following code to convert "Values" to conjugate of "Values" everything becomes zero (even the real part which I didn't touch)! Any idea what is going wrong? I am using latest version of Intel MKL 2019. Thank you for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="brush:cpp; class-name:dark;"&gt;sparse_matrix_t C_CSR_Handle = NULL

/* First, I use mkl_sparse_spmm() function to multiply two matrices and save the results in C_CSR_Handle */
mkl_sparse_spmm(SPARSE_OPERATION_NON_TRANSPOSE, A_CSR_Handle, B_CSR_Handle, &amp;amp;C_CSR_Handle)

sparse_index_base_t indexing = 0;
MKL_INT rows, cols;
MKL_INT *JA= NULL, *PointerE = NULL, *IA= NULL;
MKL_Complex16 *Values= NULL;

sparse_index_base_t indexing1 = 0;
MKL_INT rows1, cols1; 
MKL_INT *JA1= NULL, *PointerE1 = NULL, *IA1= NULL; 
MKL_Complex16 *Values1= NULL;

mkl_sparse_z_export_csr(C_CSR_Handle, &amp;amp;indexing, &amp;amp;rows, &amp;amp;cols, &amp;amp;JA, &amp;amp;PointerE, &amp;amp;IA, &amp;amp;Values);
mkl_sparse_z_export_csr(C_CSR_Handle, &amp;amp;indexing1, &amp;amp;rows1, &amp;amp;cols1, &amp;amp;JA1, &amp;amp;PointerE1, &amp;amp;IA1, &amp;amp;Values1);

for (i = 0; i &amp;lt; JA[rows]; i++) {
   printf("values(%i) = %f , %f \n", i, Values&lt;I&gt;.real, Values&lt;I&gt;.imag); // print values before making any changes
   Values&lt;I&gt;.imag = Values&lt;I&gt;.imag*(-1); 
   Values1&lt;I&gt;.imag = Values1&lt;I&gt;.imag*(-1); 
   printf("values(%i) = %f , %f \n", i, Values&lt;I&gt;.real, Values&lt;I&gt;.imag); // print values after modification
}

&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 14:22:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Issue-with-mkl-sparse-z-export-csr/m-p/1124986#M25184</guid>
      <dc:creator>Ahmadi__Afshin</dc:creator>
      <dc:date>2019-10-17T14:22:38Z</dc:date>
    </item>
    <item>
      <title>It seems that exporting the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Issue-with-mkl-sparse-z-export-csr/m-p/1124987#M25185</link>
      <description>&lt;P&gt;It seems that exporting the same CSR handle twice had caused this problem.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 15:37:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Issue-with-mkl-sparse-z-export-csr/m-p/1124987#M25185</guid>
      <dc:creator>Ahmadi__Afshin</dc:creator>
      <dc:date>2019-10-17T15:37:48Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Issue-with-mkl-sparse-z-export-csr/m-p/1124988#M25186</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've notice that the code has been updated. Do you still see the problem?&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Kirill&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 04:38:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Issue-with-mkl-sparse-z-export-csr/m-p/1124988#M25186</guid>
      <dc:creator>Kirill_V_Intel</dc:creator>
      <dc:date>2019-10-25T04:38:09Z</dc:date>
    </item>
  </channel>
</rss>

