<?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 Re: Direct Sparse Solver for Time Dependent Problems in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Direct-Sparse-Solver-for-Time-Dependent-Problems/m-p/847541#M6347</link>
    <description>&lt;DIV style="margin:0px;"&gt;Dear Mandrew,&lt;BR /&gt;&lt;BR /&gt;First of all, DSS is the simplified interface to PARDISO, and it doesn't support many of PARDISO functionalities. Namely, PARDISO can work simultaneously with many matrices that have identical sparsity structure (see description of maxfct and mnum PARDISO parameters in MKL manual). Doing this way PARDISO keeps information about symbolic factorization and factors in one and the same handle. Consequently you can factorize all the matrices prior solving process. Note that only one reordering stage is required for the matrices.&lt;BR /&gt;You can also factorize all the matrices before their solving by using many handles (one per matrix). It is applicable to not only PARDISO but also DSS interface. In this way information about sparsity structure is duplicated in the handles, and you have to solve each matrix independently, applying reordering, factorization and solution phases. &lt;BR /&gt;&lt;BR /&gt;With best regards,&lt;BR /&gt;Sergey&lt;/DIV&gt;</description>
    <pubDate>Mon, 04 May 2009 04:35:49 GMT</pubDate>
    <dc:creator>Sergey_P_Intel2</dc:creator>
    <dc:date>2009-05-04T04:35:49Z</dc:date>
    <item>
      <title>Direct Sparse Solver for Time Dependent Problems</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Direct-Sparse-Solver-for-Time-Dependent-Problems/m-p/847540#M6346</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have a time-dependent problem that involves solving N quasi 9-diagonal matrices (top two rows full, with 9 nonzero diagonals) at each time step. I am currently using the direct sparse solver and I was wondering what the best method for calling DSS might be. I am storing all the nonzero elements for all N matrices in the same vector, then looping through the vector:&lt;BR /&gt;&lt;BR /&gt;DO time=1,endtime&lt;BR /&gt; DO j=1,L&lt;BR /&gt;&lt;BR /&gt; error = dss_factor_real(handle,MKL_DSS_DEFAULTS,values(((j-1)*(11*N-20)+1):(j*(11*N-20))) )&lt;BR /&gt; error = dss_solve_real(handle,MKL_DSS_DEFAULTS,rhs,nRhs,A(:,j))&lt;BR /&gt;&lt;BR /&gt; END DO&lt;BR /&gt;END DO&lt;BR /&gt;&lt;BR /&gt;Obviously, I can factor all the matrices prior to time-stepping, but I am not sure how this is stored in "handle." Can anyone give me some input on this issue? Also, if you know of a more efficient solver that would be great too.&lt;BR /&gt;&lt;BR /&gt;Mandrew</description>
      <pubDate>Wed, 29 Apr 2009 15:18:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Direct-Sparse-Solver-for-Time-Dependent-Problems/m-p/847540#M6346</guid>
      <dc:creator>mandrew</dc:creator>
      <dc:date>2009-04-29T15:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Sparse Solver for Time Dependent Problems</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Direct-Sparse-Solver-for-Time-Dependent-Problems/m-p/847541#M6347</link>
      <description>&lt;DIV style="margin:0px;"&gt;Dear Mandrew,&lt;BR /&gt;&lt;BR /&gt;First of all, DSS is the simplified interface to PARDISO, and it doesn't support many of PARDISO functionalities. Namely, PARDISO can work simultaneously with many matrices that have identical sparsity structure (see description of maxfct and mnum PARDISO parameters in MKL manual). Doing this way PARDISO keeps information about symbolic factorization and factors in one and the same handle. Consequently you can factorize all the matrices prior solving process. Note that only one reordering stage is required for the matrices.&lt;BR /&gt;You can also factorize all the matrices before their solving by using many handles (one per matrix). It is applicable to not only PARDISO but also DSS interface. In this way information about sparsity structure is duplicated in the handles, and you have to solve each matrix independently, applying reordering, factorization and solution phases. &lt;BR /&gt;&lt;BR /&gt;With best regards,&lt;BR /&gt;Sergey&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 May 2009 04:35:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Direct-Sparse-Solver-for-Time-Dependent-Problems/m-p/847541#M6347</guid>
      <dc:creator>Sergey_P_Intel2</dc:creator>
      <dc:date>2009-05-04T04:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Sparse Solver for Time Dependent Problems</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Direct-Sparse-Solver-for-Time-Dependent-Problems/m-p/847542#M6348</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Sergey,&lt;BR /&gt;&lt;BR /&gt;Many thanks for the answer - I will read more about PARDISO.&lt;BR /&gt;&lt;BR /&gt;Mandrew&lt;BR /&gt;</description>
      <pubDate>Mon, 04 May 2009 07:00:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Direct-Sparse-Solver-for-Time-Dependent-Problems/m-p/847542#M6348</guid>
      <dc:creator>mandrew</dc:creator>
      <dc:date>2009-05-04T07:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Sparse Solver for Time Dependent Problems</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Direct-Sparse-Solver-for-Time-Dependent-Problems/m-p/847543#M6349</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/275159"&gt;Sergey Pudov (Intel)&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;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;BR /&gt;You can also factorize all the matrices before their solving by using many handles (one per matrix). It is applicable to not only PARDISO but also DSS interface. In this way information about sparsity structure is duplicated in the handles, and you have to solve each matrix independently, applying reordering, factorization and solution phases. &lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;How do I go about storing all the numerical factorizations of the matrices prior to beginning the simulation. In other words I would like to complete phase 1 and phase 2, since this will speed up the simulation. All I can figure is to do the following:&lt;BR /&gt;&lt;BR /&gt;maxfct=L&lt;BR /&gt;phase=12&lt;BR /&gt;&lt;BR /&gt;DO i=1,L&lt;BR /&gt;&lt;BR /&gt; mnum=j&lt;BR /&gt;&lt;BR /&gt; CALL pardiso(pt,maxfct,mnum,mtype,phase,N+1,values(((j-1)*(11*N-20)+1):(j*(11*N-20))),&amp;amp;&lt;BR /&gt; rowIndex,columns,idum,nRhs,iparm,msglvl,ddum,ddum,error)&lt;BR /&gt;&lt;BR /&gt;END DO&lt;BR /&gt;&lt;BR /&gt;Then when I begin the simulation I can do &lt;BR /&gt;&lt;BR /&gt;phase=33&lt;BR /&gt;&lt;BR /&gt;DO i=1,L&lt;BR /&gt;&lt;BR /&gt; mnum=j&lt;BR /&gt; &lt;BR /&gt; CALL pardiso(pt,maxfct,mnum,mtype,phase,N+1,values(((j-1)*(11*N-20)+1):(j*(11*N-20))),&amp;amp;&lt;BR /&gt; rowIndex,columns,idum,nRhs,iparm,msglvl,b,x,error)&lt;BR /&gt; &lt;BR /&gt; END DO&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Will this work, or is there something that I am not understanding?&lt;BR /&gt;&lt;BR /&gt;Mandrew&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 May 2009 01:47:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Direct-Sparse-Solver-for-Time-Dependent-Problems/m-p/847543#M6349</guid>
      <dc:creator>mandrew</dc:creator>
      <dc:date>2009-05-05T01:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Sparse Solver for Time Dependent Problems</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Direct-Sparse-Solver-for-Time-Dependent-Problems/m-p/847544#M6350</link>
      <description>&lt;DIV style="margin:0px;"&gt;Mandrew,&lt;BR /&gt;&lt;BR /&gt;You are not quite right. As I described above, this PARDISO mode with many matrices that have one and the same sparse structure required only one reordering stage (phase=11): for the first matrix of the set. In your example, reordering stage (first part of phase=12) is called for all the matrices. So, please apply phase=12 to the first matrix in the set and phase=22 for the others.&lt;BR /&gt;&lt;BR /&gt;Sergey&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 May 2009 07:45:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Direct-Sparse-Solver-for-Time-Dependent-Problems/m-p/847544#M6350</guid>
      <dc:creator>Sergey_P_Intel2</dc:creator>
      <dc:date>2009-05-05T07:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Sparse Solver for Time Dependent Problems</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Direct-Sparse-Solver-for-Time-Dependent-Problems/m-p/847545#M6351</link>
      <description>&lt;P&gt;Mandrew,&lt;/P&gt;
&lt;P&gt;The problem you reported has been fixed into the latest MKL 10.2 Update 4 version released recently.&lt;/P&gt;
&lt;P&gt;You can Download this version from Intel Registration Center: &lt;&gt;. See announcement about that &lt;A href="https://community.intel.com/showthread.php?t=72205&amp;amp;o=d&amp;amp;s=lr"&gt;here&lt;/A&gt;. Please let us know if the problem is still exist.&lt;/&gt;&lt;/P&gt;
&lt;P&gt;--Gennady&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2010 12:52:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Direct-Sparse-Solver-for-Time-Dependent-Problems/m-p/847545#M6351</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-02-24T12:52:24Z</dc:date>
    </item>
  </channel>
</rss>

