<?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 thanks gennady for your in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sparse-matrix-vector-products/m-p/951069#M15218</link>
    <description>&lt;P&gt;thanks gennady for your prompt reply. i looked through the example you had mentioned. HOwever i still cannot understand how to find out the number of non-zeroes in the bsr matrix and assign the right about of space for the column and the values matrix.&lt;/P&gt;
&lt;P&gt;you have mentioned that my cope snip is incomplete. do you suggest sending a standalone working code?&lt;/P&gt;
&lt;P&gt;my intention was to find out if my calculation of the sizes of the matrices was ok or not because i get segmentation faults when i use this function with the arrays specified in the code snip.&lt;/P&gt;
&lt;P&gt;kindly suggest/advise on how to choose the number of non-zeros in the bsr matrix or if you have any advice about how to debug this problem.&lt;/P&gt;
&lt;P&gt;thanks and regards&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 23 Feb 2013 10:10:31 GMT</pubDate>
    <dc:creator>itabhiyanta</dc:creator>
    <dc:date>2013-02-23T10:10:31Z</dc:date>
    <item>
      <title>sparse matrix vector products</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sparse-matrix-vector-products/m-p/951067#M15216</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I hope you are doing good. I am using INtel MKl 10.3 2011_sp1.12.361. I want to try out all the marix formats the nkl librayr provides for the matrices i have.&lt;/P&gt;
&lt;P&gt;I have been able to use COO and CSR but i have troubles using the BSR format. It seems while specifiying the size of the column and value arrays for BSR i must know the number of non-zero blocks. I do not know how to calculate that. Is there a function for this. I am pasting here what i do and it generates segfaults.&lt;/P&gt;
&lt;P&gt;job[0]=0; job[1]=1; job[2]=1; job[4]=0; job[5]=3; mblk=2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; mb = (rowlenA + mblk-1)/mblk;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; nb = (collenA + mblk-1)/mblk;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ldabsr=mblk*mblk;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; absrvals=(double*) initVector(mb*nb*mblk*mblk, MYDOUBLE);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; absrcols=(int*)initVector(mb*nb,MYINT);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; absrrows=(int*)initVector(rowlenA+1,MYINT);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; mkl_dcsrbsr (job, &amp;amp;rowlenA, &amp;amp;mblk, &amp;amp;ldabsr, a0csrvals, a0csrcols, a0rwcsr,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;absrvals, absrcols, absrrows, &amp;amp;info);&lt;/P&gt;
&lt;P&gt;Please not that rowlenA and collenA are actual row and column lengths for the matrix A. initvector is just a wrapper for malloc on the CPU. Kindly suggest what i am not doing correctly.&lt;/P&gt;
&lt;P&gt;thanks for your attention and time in reading my question.&lt;/P&gt;
&lt;P&gt;with best regards&lt;/P&gt;
&lt;P&gt;rohit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2013 09:28:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sparse-matrix-vector-products/m-p/951067#M15216</guid>
      <dc:creator>itabhiyanta</dc:creator>
      <dc:date>2013-02-21T09:28:05Z</dc:date>
    </item>
    <item>
      <title>the code snip is not complete</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sparse-matrix-vector-products/m-p/951068#M15217</link>
      <description>&lt;P&gt;the code snip is not complete, may be the sparse format converters C example which you can find into ..\examples\spblasc\source\dconverters.c &amp;nbsp;will helps you?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2013 13:55:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sparse-matrix-vector-products/m-p/951068#M15217</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2013-02-21T13:55:32Z</dc:date>
    </item>
    <item>
      <title>thanks gennady for your</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sparse-matrix-vector-products/m-p/951069#M15218</link>
      <description>&lt;P&gt;thanks gennady for your prompt reply. i looked through the example you had mentioned. HOwever i still cannot understand how to find out the number of non-zeroes in the bsr matrix and assign the right about of space for the column and the values matrix.&lt;/P&gt;
&lt;P&gt;you have mentioned that my cope snip is incomplete. do you suggest sending a standalone working code?&lt;/P&gt;
&lt;P&gt;my intention was to find out if my calculation of the sizes of the matrices was ok or not because i get segmentation faults when i use this function with the arrays specified in the code snip.&lt;/P&gt;
&lt;P&gt;kindly suggest/advise on how to choose the number of non-zeros in the bsr matrix or if you have any advice about how to debug this problem.&lt;/P&gt;
&lt;P&gt;thanks and regards&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Feb 2013 10:10:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sparse-matrix-vector-products/m-p/951069#M15218</guid>
      <dc:creator>itabhiyanta</dc:creator>
      <dc:date>2013-02-23T10:10:31Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...my intention was to find</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sparse-matrix-vector-products/m-p/951070#M15219</link>
      <description>&amp;gt;&amp;gt;...my intention was to find out if my calculation of the sizes of the matrices was ok or not because &lt;STRONG&gt;i get segmentation faults&lt;/STRONG&gt; when
&amp;gt;&amp;gt;i use this function with the arrays specified in the code snip.

Please provide a complete test case because it looks like a different problem.</description>
      <pubDate>Mon, 25 Feb 2013 13:41:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sparse-matrix-vector-products/m-p/951070#M15219</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-02-25T13:41:00Z</dc:date>
    </item>
  </channel>
</rss>

