<?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 Iterative solvers are most in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fast-Small-Dense-Matrix-Solver/m-p/964084#M95327</link>
    <description>&lt;P&gt;Iterative solvers are most likely to be used where there is high sparsity within the band so that banded or full matrix solvers are inefficient.&amp;nbsp;&amp;nbsp; Fully 3 dimensional field problems (finite element etc.) are likely to produce such sparse structure, while 2D or nearly 2D problems may be well handled by banded or skyline storage direct solvers.&amp;nbsp; As you are considering MKL, this is probably more topical on that forum.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Mar 2013 01:35:25 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2013-03-07T01:35:25Z</dc:date>
    <item>
      <title>Fast Small Dense Matrix Solver</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fast-Small-Dense-Matrix-Solver/m-p/964083#M95326</link>
      <description>&lt;P&gt;I have a general square dense matrix A (not symmetric) which is formed by A=P&lt;SUP&gt;T&lt;/SUP&gt;BP where B was in a compressed storage scheme and P is a rectangular matrix. The size of A ranges from 10x10 to 500x500, where B can be 150,000x150,000 and is sparse.&lt;/P&gt;
&lt;P&gt;What would be the best way to solve for x given b (system of linear equations) that result from&lt;/P&gt;
&lt;P&gt;Ax=b&amp;nbsp; =&amp;gt;&amp;nbsp; x=A&lt;SUP&gt;-1&lt;/SUP&gt;b&lt;/P&gt;
&lt;P&gt;Right now I am just using LAPACK DGESV that is linked to MKL (so assume I am using their solver). Is there any benifit to going to a interative solver or any recomendations as to how to best solve this system of equations as fast as possible.&lt;/P&gt;
&lt;P&gt;Thanks for any comments&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2013 21:29:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fast-Small-Dense-Matrix-Solver/m-p/964083#M95326</guid>
      <dc:creator>ScottBoyce</dc:creator>
      <dc:date>2013-03-06T21:29:55Z</dc:date>
    </item>
    <item>
      <title>Iterative solvers are most</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fast-Small-Dense-Matrix-Solver/m-p/964084#M95327</link>
      <description>&lt;P&gt;Iterative solvers are most likely to be used where there is high sparsity within the band so that banded or full matrix solvers are inefficient.&amp;nbsp;&amp;nbsp; Fully 3 dimensional field problems (finite element etc.) are likely to produce such sparse structure, while 2D or nearly 2D problems may be well handled by banded or skyline storage direct solvers.&amp;nbsp; As you are considering MKL, this is probably more topical on that forum.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2013 01:35:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fast-Small-Dense-Matrix-Solver/m-p/964084#M95327</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-03-07T01:35:25Z</dc:date>
    </item>
    <item>
      <title>I am linking to the math</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fast-Small-Dense-Matrix-Solver/m-p/964085#M95328</link>
      <description>&lt;P&gt;I am linking to the math kernel library and solving the system of equations by calling DGESV() .&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2013 02:21:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fast-Small-Dense-Matrix-Solver/m-p/964085#M95328</guid>
      <dc:creator>ScottBoyce</dc:creator>
      <dc:date>2013-03-07T02:21:37Z</dc:date>
    </item>
    <item>
      <title>Scott,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fast-Small-Dense-Matrix-Solver/m-p/964086#M95329</link>
      <description>&lt;P&gt;Scott,&lt;/P&gt;
&lt;P&gt;As A is dense and non-symmetric ( B non-symmetric also?), I would expect that a direct, rather than itterative solver would be more robust. You might also want to check how "well-conditioned" the solution is. The solution might require a more general&amp;nbsp;direct solver with row pivoting if this becomes an issue. I would calculate b - A.x to check the solution accuracy, or even b - P&lt;SUP&gt;T&lt;/SUP&gt;BPx if this can be managed better.&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2013 04:13:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fast-Small-Dense-Matrix-Solver/m-p/964086#M95329</guid>
      <dc:creator>John_Campbell</dc:creator>
      <dc:date>2013-03-07T04:13:57Z</dc:date>
    </item>
    <item>
      <title>Yes, B is non-symmetric and P</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fast-Small-Dense-Matrix-Solver/m-p/964087#M95330</link>
      <description>&lt;P&gt;Yes, B is non-symmetric and P is orthonormal rectangular matrix. The solution is very stable with no near zero eigenvalues. LAPACK DGESV solves Ax=b through LU decomposition with partial pivoting and row interchanges.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2013 04:19:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fast-Small-Dense-Matrix-Solver/m-p/964087#M95330</guid>
      <dc:creator>ScottBoyce</dc:creator>
      <dc:date>2013-03-07T04:19:05Z</dc:date>
    </item>
    <item>
      <title>I have a generic question.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fast-Small-Dense-Matrix-Solver/m-p/964088#M95331</link>
      <description>I have a generic question.

&amp;gt;&amp;gt;...The size of &lt;STRONG&gt;A&lt;/STRONG&gt; ... &lt;STRONG&gt;500x500&lt;/STRONG&gt;, where &lt;STRONG&gt;B&lt;/STRONG&gt; can be &lt;STRONG&gt;150,000x150,000&lt;/STRONG&gt;...

How long does it take to solve it on your computer?  Thanks in advance.</description>
      <pubDate>Thu, 07 Mar 2013 14:11:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fast-Small-Dense-Matrix-Solver/m-p/964088#M95331</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-03-07T14:11:23Z</dc:date>
    </item>
    <item>
      <title>It only takes a few seconds,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fast-Small-Dense-Matrix-Solver/m-p/964089#M95332</link>
      <description>&lt;P&gt;It only takes a few seconds, but for each solution of A creates a new version of B and which is then matrix multiplied by P to build a new version of A which then needs a new solution. I like to speed up, even by a fraction of a second, solving the system of equations. There also is of course a slow down do to the A=P&lt;SUP&gt;T&lt;/SUP&gt;BP, but I am unsure if there is anything faster than using DGEMM.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2013 15:58:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fast-Small-Dense-Matrix-Solver/m-p/964089#M95332</guid>
      <dc:creator>ScottBoyce</dc:creator>
      <dc:date>2013-03-07T15:58:34Z</dc:date>
    </item>
    <item>
      <title>Scott,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fast-Small-Dense-Matrix-Solver/m-p/964090#M95333</link>
      <description>&lt;P&gt;Scott,&lt;/P&gt;
&lt;P&gt;You should record the times for the different stages of the calculation to determine where the effort should be placed.&lt;BR /&gt;If the calculation : &amp;nbsp;A=P&lt;SUP&gt;T&lt;/SUP&gt;BP is a significant time, then utilising the sparsity of B might be significant.&lt;BR /&gt;In a&amp;nbsp;large finite element formation, the calculation of force in&amp;nbsp;f = K.x can be carried out much quicker if K is considered as f = Sum (K_element.x) when the element K matrices are easily (quickly)&amp;nbsp;available.&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2013 05:33:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fast-Small-Dense-Matrix-Solver/m-p/964090#M95333</guid>
      <dc:creator>John_Campbell</dc:creator>
      <dc:date>2013-03-11T05:33:37Z</dc:date>
    </item>
  </channel>
</rss>

