<?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 matrix-vector multiplication stored in skyline format in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matrix-vector-multiplication-stored-in-skyline-format/m-p/802829#M3211</link>
    <description>Is there any subroutine in fortran90 which multiply a matrix &lt;B&gt;A &lt;/B&gt;by a vector &lt;B&gt;x&lt;/B&gt;
 where Matrix &lt;B&gt;A&lt;/B&gt; is stored in symmetric skyline format?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 08 Jun 2010 21:37:18 GMT</pubDate>
    <dc:creator>mariospapa</dc:creator>
    <dc:date>2010-06-08T21:37:18Z</dc:date>
    <item>
      <title>matrix-vector multiplication stored in skyline format</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matrix-vector-multiplication-stored-in-skyline-format/m-p/802829#M3211</link>
      <description>Is there any subroutine in fortran90 which multiply a matrix &lt;B&gt;A &lt;/B&gt;by a vector &lt;B&gt;x&lt;/B&gt;
 where Matrix &lt;B&gt;A&lt;/B&gt; is stored in symmetric skyline format?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jun 2010 21:37:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matrix-vector-multiplication-stored-in-skyline-format/m-p/802829#M3211</guid>
      <dc:creator>mariospapa</dc:creator>
      <dc:date>2010-06-08T21:37:18Z</dc:date>
    </item>
    <item>
      <title>matrix-vector multiplication stored in skyline format</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matrix-vector-multiplication-stored-in-skyline-format/m-p/802830#M3212</link>
      <description>look atmkl_sskymv(....) -- which computes matrix - vector product for a sparse matrix in the skyline storage 
format.&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Jun 2010 03:40:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matrix-vector-multiplication-stored-in-skyline-format/m-p/802830#M3212</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-06-09T03:40:24Z</dc:date>
    </item>
    <item>
      <title>matrix-vector multiplication stored in skyline format</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matrix-vector-multiplication-stored-in-skyline-format/m-p/802831#M3213</link>
      <description>This is what I was looking for! But with one problem, in the documentation of MKL for the &lt;B&gt;&lt;A target="_blank" href="http://j.imagehost.org/view/0706/cmatrix"&gt;matrix C&lt;/A&gt;&lt;/B&gt; (see the link) the storage scheme for the upper triangle of matrix C is:&lt;BR /&gt;&lt;CODE class="code"&gt;&lt;VAR class="varname"&gt;&lt;BR /&gt;values&lt;/VAR&gt; = ( 1   -1   5   -3   0   4   6   7  4   0   -5 )&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE class="code"&gt;&lt;VAR class="varname"&gt;pointers&lt;/VAR&gt; = ( 1   2   4   7   9   12 )&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;But I store the matrix C in skyline format (upper triangle) like this: &lt;CODE class="code"&gt;&lt;VAR class="varname"&gt;&lt;BR /&gt;values&lt;/VAR&gt; = ( 1   5   -1   4   0   -3   7   6   -5   0   4 )&lt;BR /&gt;&lt;/CODE&gt;&lt;CODE class="code"&gt;&lt;VAR class="varname"&gt;pointers&lt;/VAR&gt; = ( 1   2   4   7   9   12 )&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;I beggin always from the diagonal and store all the elements below the skyline. Can I change this in order to be compatible with &lt;B&gt;mkl_sskymv &lt;/B&gt;assignments?&lt;BR /&gt;&lt;BR /&gt;And one more question, how I can link MKL libraries in my solution? I use VS2008 with IVF Compiler 11.0. Which are the modifications that i should make to includes and lib paths?&lt;BR /&gt;&lt;BR /&gt;Thank you for helping me Gennady!&lt;CODE class="code"&gt;&lt;/CODE&gt;</description>
      <pubDate>Wed, 09 Jun 2010 08:30:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matrix-vector-multiplication-stored-in-skyline-format/m-p/802831#M3213</guid>
      <dc:creator>mariospapa</dc:creator>
      <dc:date>2010-06-09T08:30:48Z</dc:date>
    </item>
    <item>
      <title>matrix-vector multiplication stored in skyline format</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matrix-vector-multiplication-stored-in-skyline-format/m-p/802832#M3214</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=478357" class="basic" href="https://community.intel.com/en-us/profile/478357/"&gt;mariospapa&lt;/A&gt;&lt;/DIV&gt;
                &lt;DIV style="background-color: #e5e5e5; padding: 5px; border: 1px; border-style: inset; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;This is what I was looking for! But with one problem, in the documentation of MKL for the &lt;B&gt;&lt;A target="_blank" href="http://j.imagehost.org/view/0706/cmatrix"&gt;matrix C&lt;/A&gt;&lt;/B&gt; (see the link) the storage scheme for the upper triangle of matrix C is:&lt;BR /&gt;&lt;CODE class="code"&gt;&lt;VAR class="varname"&gt;&lt;BR /&gt;values&lt;/VAR&gt; = ( 1   -1   5   -3   0   4   6   7  4   0   -5 )&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE class="code"&gt;&lt;VAR class="varname"&gt;pointers&lt;/VAR&gt; = ( 1   2   4   7   9   12 )&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;But I store the matrix C in skyline format (upper triangle) like this: &lt;CODE class="code"&gt;&lt;VAR class="varname"&gt;&lt;BR /&gt;values&lt;/VAR&gt; = ( 1   5   -1   4   0   -3   7   6   -5   0   4 )&lt;BR /&gt;&lt;/CODE&gt;&lt;CODE class="code"&gt;&lt;VAR class="varname"&gt;pointers&lt;/VAR&gt; = ( 1   2   4   7   9   12 )&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;I beggin always from the diagonal and store all the elements below the skyline. Can I change this in order to be compatible with &lt;B&gt;mkl_sskymv &lt;/B&gt;assignments?&lt;BR /&gt;&lt;BR /&gt;And one more question, how I can link MKL libraries in my solution? I use VS2008 with IVF Compiler 11.0. Which are the modifications that i should make to includes and lib paths?&lt;BR /&gt;&lt;BR /&gt;Thank you for helping me Gennady!&lt;CODE class="code"&gt;&lt;/CODE&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, I don't think that you can change the order of non-zero elements like you did - it will not compatible with skyline's format.&lt;/P&gt;&lt;P&gt;for linking with IVF under VS2008 - please look at th &lt;A href="http://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-for-windows-build-intel-mkl-program-with-intel-fortran-in-microsoft-visual-studio/"&gt;"Configuring Intel Fortran in MVSC to build Intel MKL Applications"&lt;/A&gt; article.&lt;/P&gt;&lt;P&gt;--Gennady&lt;/P&gt;&lt;H1&gt;&lt;/H1&gt;</description>
      <pubDate>Wed, 09 Jun 2010 11:05:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matrix-vector-multiplication-stored-in-skyline-format/m-p/802832#M3214</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-06-09T11:05:15Z</dc:date>
    </item>
    <item>
      <title>matrix-vector multiplication stored in skyline format</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matrix-vector-multiplication-stored-in-skyline-format/m-p/802833#M3215</link>
      <description>I managed to link mkl libraries into an intel visual fortran project and use &lt;B&gt;mkl_dskymv &lt;/B&gt;in the following code.&lt;B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/B&gt;&lt;I&gt;----------------------------------------------------------------------&lt;BR /&gt;Real(8) :: A(3), b(2), X(2), y(2)&lt;BR /&gt;Integer :: IA(3)&lt;BR /&gt;&lt;BR /&gt;Data A / 4.d0, 1.d0, 3.d0 /&lt;BR /&gt;Data IA / 1, 2, 3 /&lt;BR /&gt;Data b / 1.d0, 2.d0 /&lt;BR /&gt;Data M / 0.250d0, 0.333d0 /&lt;BR /&gt;&lt;BR /&gt;Call mkl_dskymv('N', 2 ,2 ,1.0d0, 'SUN', A, IA, b, 0.d0, y)&lt;BR /&gt;Print *, y&lt;BR /&gt;&lt;/I&gt;&lt;I&gt;----------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;for symmetric matrix &lt;A&gt; stored in skyline format (upper triangle):&lt;BR /&gt;&lt;BR /&gt;Multiplication &lt;/A&gt;&lt;A&gt;*{b} = {y} must give {y} = [ 6.00 ] where &lt;BR /&gt; [ 7.00 ]&lt;BR /&gt;&lt;BR /&gt;&lt;/A&gt;&lt;A&gt; = [ 4 1] and {b} =[ 1 ]&lt;BR /&gt; [ 1 3] [ 2 ]&lt;BR /&gt;&lt;BR /&gt;But the above subroutine gives: {y} = [ 4.00 ]&lt;BR /&gt; [ 2.00 ]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is there any mistake in the arguments?&lt;BR /&gt;&lt;/A&gt;</description>
      <pubDate>Wed, 09 Jun 2010 21:15:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matrix-vector-multiplication-stored-in-skyline-format/m-p/802833#M3215</guid>
      <dc:creator>mariospapa</dc:creator>
      <dc:date>2010-06-09T21:15:27Z</dc:date>
    </item>
    <item>
      <title>matrix-vector multiplication stored in skyline format</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matrix-vector-multiplication-stored-in-skyline-format/m-p/802834#M3216</link>
      <description>I found my mistake: IA must be&lt;BR /&gt;IA = [ 1 2 4]&lt;BR /&gt;&lt;BR /&gt;now works fine!</description>
      <pubDate>Wed, 09 Jun 2010 21:57:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matrix-vector-multiplication-stored-in-skyline-format/m-p/802834#M3216</guid>
      <dc:creator>mariospapa</dc:creator>
      <dc:date>2010-06-09T21:57:11Z</dc:date>
    </item>
  </channel>
</rss>

