<?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 Hi, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fortran-mkl-csr-sparse-matrix-storage-integer-size-of-row-column/m-p/1137350#M26129</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the same problem. Basically the row indices&amp;nbsp;are in a&amp;nbsp;64-bit array (A_idx_ptr) and the column indices are&amp;nbsp;in a 32-bit array (A_nnz_idx).&amp;nbsp;&lt;/P&gt;&lt;P&gt;mkl_scsrmm (&amp;amp;transa, &amp;amp;M , &amp;amp;N, &amp;amp;K, &amp;amp;alpha , matdescra, A_nonzeros, A_nnz_idx, A_idx_ptr, A_idx_ptr+1, B, &amp;amp;N, &amp;amp;beta , C, &amp;amp;N);&lt;/P&gt;&lt;P&gt;How did you call the above function?&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2020 19:21:34 GMT</pubDate>
    <dc:creator>Xuhao_C_</dc:creator>
    <dc:date>2020-04-28T19:21:34Z</dc:date>
    <item>
      <title>fortran mkl csr sparse matrix storage, integer size of row/column index vectors for very large arrays</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fortran-mkl-csr-sparse-matrix-storage-integer-size-of-row-column/m-p/1137348#M26127</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;I ran into trouble with the single precision integer size (I think it is 32bit) of the row index vector of&amp;nbsp; mkl csr arrays. I create squared sparse arrays with +56,000,000 rows and columns and +3,000,000,000 elements. The column index vector is still ok because largest numbers are equal to the column dimension. However, the row index vector makes trouble with entries equal to the length of the column index vector which cannot be held by a single precision integer. I could use a larger integer kind number (double precision integer, 64 bit) but then I am in trouble with all mkl routines dealing with csr matrices (e.g. dcsrmm). That is because these routine have a fortran 77 interfaces and as outlined in the mkl manual, the expect index vectors of kind single precision. I can imagine that one could set the default integer to 64 bit when installing the mkl, but I am not sure whether that is possible. Any Ideas??&lt;/P&gt;

&lt;P&gt;Thanks a lot&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Oct 2017 11:40:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fortran-mkl-csr-sparse-matrix-storage-integer-size-of-row-column/m-p/1137348#M26127</guid>
      <dc:creator>may_ka</dc:creator>
      <dc:date>2017-10-07T11:40:23Z</dc:date>
    </item>
    <item>
      <title>I found that "ilp64" is my</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fortran-mkl-csr-sparse-matrix-storage-integer-size-of-row-column/m-p/1137349#M26128</link>
      <description>&lt;P&gt;I found that "ilp64" is my friend.&lt;/P&gt;

&lt;P&gt;Seems to be solved.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Oct 2017 11:43:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fortran-mkl-csr-sparse-matrix-storage-integer-size-of-row-column/m-p/1137349#M26128</guid>
      <dc:creator>may_ka</dc:creator>
      <dc:date>2017-10-07T11:43:53Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fortran-mkl-csr-sparse-matrix-storage-integer-size-of-row-column/m-p/1137350#M26129</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the same problem. Basically the row indices&amp;nbsp;are in a&amp;nbsp;64-bit array (A_idx_ptr) and the column indices are&amp;nbsp;in a 32-bit array (A_nnz_idx).&amp;nbsp;&lt;/P&gt;&lt;P&gt;mkl_scsrmm (&amp;amp;transa, &amp;amp;M , &amp;amp;N, &amp;amp;K, &amp;amp;alpha , matdescra, A_nonzeros, A_nnz_idx, A_idx_ptr, A_idx_ptr+1, B, &amp;amp;N, &amp;amp;beta , C, &amp;amp;N);&lt;/P&gt;&lt;P&gt;How did you call the above function?&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 19:21:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fortran-mkl-csr-sparse-matrix-storage-integer-size-of-row-column/m-p/1137350#M26129</guid>
      <dc:creator>Xuhao_C_</dc:creator>
      <dc:date>2020-04-28T19:21:34Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fortran-mkl-csr-sparse-matrix-storage-integer-size-of-row-column/m-p/1137351#M26130</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you just have to link you application against the version of mkl where the default integer is 64 bit. Checkout the mkl link adviser to get the link line correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 22:19:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fortran-mkl-csr-sparse-matrix-storage-integer-size-of-row-column/m-p/1137351#M26130</guid>
      <dc:creator>may_ka</dc:creator>
      <dc:date>2020-04-28T22:19:34Z</dc:date>
    </item>
    <item>
      <title>Hi, Currently we do not</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fortran-mkl-csr-sparse-matrix-storage-integer-size-of-row-column/m-p/1137352#M26131</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;Currently we do not support mixing of different integer types for column and row indices&amp;nbsp;in&amp;nbsp;Sparse BLAS.&lt;BR /&gt;If&amp;nbsp;you need long integers, you will have to convert column indices and use ILP64 interface of MKL.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Maria&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Xuhao C. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the same problem. Basically the row indices&amp;nbsp;are in a&amp;nbsp;64-bit array (A_idx_ptr) and the column indices are&amp;nbsp;in a 32-bit array (A_nnz_idx).&amp;nbsp;&lt;/P&gt;&lt;P&gt;mkl_scsrmm (&amp;amp;transa, &amp;amp;M , &amp;amp;N, &amp;amp;K, &amp;amp;alpha , matdescra, A_nonzeros, A_nnz_idx, A_idx_ptr, A_idx_ptr+1, B, &amp;amp;N, &amp;amp;beta , C, &amp;amp;N);&lt;/P&gt;&lt;P&gt;How did you call the above function?&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 23:03:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fortran-mkl-csr-sparse-matrix-storage-integer-size-of-row-column/m-p/1137352#M26131</guid>
      <dc:creator>MariaZh</dc:creator>
      <dc:date>2020-04-28T23:03:20Z</dc:date>
    </item>
    <item>
      <title>So you convert column indices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fortran-mkl-csr-sparse-matrix-storage-integer-size-of-row-column/m-p/1137353#M26132</link>
      <description>&lt;P&gt;So you convert column indices into 64-bit before pass it to the&amp;nbsp;function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;may.ka wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you just have to link you application against the version of mkl where the default integer is 64 bit. Checkout the mkl link adviser to get the link line correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 00:59:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fortran-mkl-csr-sparse-matrix-storage-integer-size-of-row-column/m-p/1137353#M26132</guid>
      <dc:creator>Xuhao_C_</dc:creator>
      <dc:date>2020-04-29T00:59:21Z</dc:date>
    </item>
    <item>
      <title>I see. So either both 32-bit</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fortran-mkl-csr-sparse-matrix-storage-integer-size-of-row-column/m-p/1137354#M26133</link>
      <description>&lt;P&gt;I see. So&amp;nbsp;either both 32-bit or both 64-bit. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Zhukova, Maria (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;Currently we do not support mixing of different integer types for column and row indices&amp;nbsp;in&amp;nbsp;Sparse BLAS.&lt;BR /&gt;If&amp;nbsp;you need long integers, you will have to convert column indices and use ILP64 interface of MKL.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Maria&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Quote:&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;EM&gt;Xuhao C.&lt;/EM&gt; wrote:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the same problem. Basically the row indices&amp;nbsp;are in a&amp;nbsp;64-bit array (A_idx_ptr) and the column indices are&amp;nbsp;in a 32-bit array (A_nnz_idx).&amp;nbsp;&lt;/P&gt;&lt;P&gt;mkl_scsrmm (&amp;amp;transa, &amp;amp;M , &amp;amp;N, &amp;amp;K, &amp;amp;alpha , matdescra, A_nonzeros, A_nnz_idx, A_idx_ptr, A_idx_ptr+1, B, &amp;amp;N, &amp;amp;beta , C, &amp;amp;N);&lt;/P&gt;&lt;P&gt;How did you call the above function?&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 01:00:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fortran-mkl-csr-sparse-matrix-storage-integer-size-of-row-column/m-p/1137354#M26133</guid>
      <dc:creator>Xuhao_C_</dc:creator>
      <dc:date>2020-04-29T01:00:40Z</dc:date>
    </item>
    <item>
      <title>BTW, does csrmm support multi</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fortran-mkl-csr-sparse-matrix-storage-integer-size-of-row-column/m-p/1137355#M26134</link>
      <description>&lt;P&gt;BTW, does csrmm support multi-threading? Say if I export MKL_NUM_THREADS=32 on a 32-core CPU,&amp;nbsp;&amp;nbsp;will it get speedup compared to sequential setting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Zhukova, Maria (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;Currently we do not support mixing of different integer types for column and row indices&amp;nbsp;in&amp;nbsp;Sparse BLAS.&lt;BR /&gt;If&amp;nbsp;you need long integers, you will have to convert column indices and use ILP64 interface of MKL.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Maria&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Quote:&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;EM&gt;Xuhao C.&lt;/EM&gt; wrote:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the same problem. Basically the row indices&amp;nbsp;are in a&amp;nbsp;64-bit array (A_idx_ptr) and the column indices are&amp;nbsp;in a 32-bit array (A_nnz_idx).&amp;nbsp;&lt;/P&gt;&lt;P&gt;mkl_scsrmm (&amp;amp;transa, &amp;amp;M , &amp;amp;N, &amp;amp;K, &amp;amp;alpha , matdescra, A_nonzeros, A_nnz_idx, A_idx_ptr, A_idx_ptr+1, B, &amp;amp;N, &amp;amp;beta , C, &amp;amp;N);&lt;/P&gt;&lt;P&gt;How did you call the above function?&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 21:44:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fortran-mkl-csr-sparse-matrix-storage-integer-size-of-row-column/m-p/1137355#M26134</guid>
      <dc:creator>Xuhao_C_</dc:creator>
      <dc:date>2020-04-29T21:44:48Z</dc:date>
    </item>
    <item>
      <title>this routine should be</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fortran-mkl-csr-sparse-matrix-storage-integer-size-of-row-column/m-p/1137356#M26135</link>
      <description>&lt;P&gt;this routine&amp;nbsp;should be threaded, but&amp;nbsp;the performance of csrmm functionality significantly depends on matrix size, sparsity, and portrait. Please note, this routine is deprecated. You may try to call Inspector-Executed counterpart (mkl_sparse_s_mm) of this routine from the latest version of mkl.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 12:27:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fortran-mkl-csr-sparse-matrix-storage-integer-size-of-row-column/m-p/1137356#M26135</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-04-30T12:27:50Z</dc:date>
    </item>
  </channel>
</rss>

