<?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 I do not get to solve a system using sparse matrices  in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806084#M3417</link>
    <description>Hi,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Of course, term "almost singular" is not exact.. It's better to call this matrix ill-conditioned. So, determinant is not important here.. it doesn't correlate with the condition number that's the main factor of solution stability.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Let's assume:&lt;/DIV&gt;&lt;DIV&gt;X_rel -relative error of solution&lt;/DIV&gt;&lt;DIV&gt;Cond(A) - matrix condition number&lt;/DIV&gt;&lt;DIV&gt;B_rel - relative error of right-hand side.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Following statement is true:&lt;/DIV&gt;&lt;DIV&gt;X_rel &amp;lt;= Cond(A)*B_rel, or moving to machine arithmetics:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;X_rel &amp;lt;= Cond(A)*eps, where eps is the smallest number representing by double precision type and rougly it's equal to 1e-16 (as mantissa of double precision type has 53 bits and 2^-53 ~= 1e-16). So, having Cond(A)=1e+15 we can write:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;X_rel &amp;lt;= 1.0e+15 * 1.0e-16, or&lt;/DIV&gt;&lt;DIV&gt;X_rel &amp;lt;= 1.0e-1&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;So, only 1 significant decimal digit is guaranteed to be correct in the relative error of solution of this matrix.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Konstantin&lt;/DIV&gt;</description>
    <pubDate>Wed, 09 Feb 2011 11:44:54 GMT</pubDate>
    <dc:creator>Konstantin_A_Intel</dc:creator>
    <dc:date>2011-02-09T11:44:54Z</dc:date>
    <item>
      <title>I do not get to solve a system using sparse matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806081#M3414</link>
      <description>I'm trying to solve a sparse system matrices using mkl_dss.But I have not given them get the right solution, in contrast with getrs getrf and if I succeed.&lt;BR /&gt;In the file PROGRAMA07021011PIVOTGAUSS.f90 I'm usinggetrfand getrs.In the file PROGRAMA07022011SPARSE.f90 I'm resolved by sparse matrices.The sparse file, once run&lt;BR /&gt;generates five files val.dat, col.dat, rowindex.dat, ld.dat and sp.txt.SP.txt file is the matrix Ax = b, A system.ld.txt is the vector b.While val.dat are non-zero values of A,&lt;BR /&gt;rowIndex col.dat your column and row index.I have found these three on hand, and appear well.&lt;BR /&gt;The solution is given in the file solutionsparse.dat and are huge numbers.The solution of the file PROGRAMA07021011PIVOTGAUSS.f90 (apparently correct) iscalled solutiongauss.dat.&lt;BR /&gt;I tried to solve the system with matlab, inverting the matrix A and multiplying by solutiongauss.dat by match.&lt;BR /&gt;Does anyone know why I get these results?&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;Compile files with this line:&lt;BR /&gt;&lt;BR /&gt;ifort-openmp-O3-o $ MKLINCLUDE PROGRAMA07022011SPARSE-I-L $ MKLPATH PROGRAMA07022011SPARSE.f90-lmkl_lapack95-Wl, - start-group $ MKLPATH / libmkl_intel.a $ MKLPATH / libmkl_intel_thread.a $ MKLPATH / libmkl_core.a-Wl,- end-group-lpthread-liomp5&lt;BR /&gt;&lt;BR /&gt;and with:&lt;BR /&gt;&lt;BR /&gt;ifort-openmp-O3-o $ MKLINCLUDE PROGRAMA07022011PIVOTGAUSS-I-L $ MKLPATH PROGRAMA07022011PIVOTGAUSS.f90-lmkl_lapack95-Wl, - start-group $ MKLPATH / libmkl_intel.a $ MKLPATH / libmkl_intel_thread.a $ MKLPATH / libmkl_core.a-Wl,- end-group-lpthread-liomp5&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Feb 2011 19:45:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806081#M3414</guid>
      <dc:creator>felipin85</dc:creator>
      <dc:date>2011-02-07T19:45:39Z</dc:date>
    </item>
    <item>
      <title>I do not get to solve a system using sparse matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806082#M3415</link>
      <description>Hi,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Your matrix is almost singular:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;Singular values:&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;max=  52.7334033722656    min= 3.009615796461843E-014&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Condition number =  1.752163961734249E+015&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Theoretically, solving such matrices in double precision cannot produce stable results.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Results,&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Konstantin&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 08 Feb 2011 05:42:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806082#M3415</guid>
      <dc:creator>Konstantin_A_Intel</dc:creator>
      <dc:date>2011-02-08T05:42:21Z</dc:date>
    </item>
    <item>
      <title>I do not get to solve a system using sparse matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806083#M3416</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=93785" class="basic" href="https://community.intel.com/en-us/profile/93785/"&gt;Konstantin Arturov (Intel)&lt;/A&gt;&lt;/DIV&gt;
                &lt;DIV style="background-color: #e5e5e5; padding: 5px; border: 1px inset; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;Hi,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Your matrix is almost singular:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;Singular values:&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;max=  52.7334033722656    min= 3.009615796461843E-014&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Condition number =  1.752163961734249E+015&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Theoretically, solving such matrices in double precision cannot produce stable results.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Results,&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Konstantin&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;Thanks for your response Konstantin! But, I studied of matrix A (file SP.txt) and I think that this matrix don't singular because its determinat isn't zero, is 4.9330e+03. &lt;BR /&gt;Moreover, in the archives of triangulation would have a bug, right?&lt;BR /&gt;Thanks for your help&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Feb 2011 10:33:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806083#M3416</guid>
      <dc:creator>felipin85</dc:creator>
      <dc:date>2011-02-09T10:33:32Z</dc:date>
    </item>
    <item>
      <title>I do not get to solve a system using sparse matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806084#M3417</link>
      <description>Hi,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Of course, term "almost singular" is not exact.. It's better to call this matrix ill-conditioned. So, determinant is not important here.. it doesn't correlate with the condition number that's the main factor of solution stability.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Let's assume:&lt;/DIV&gt;&lt;DIV&gt;X_rel -relative error of solution&lt;/DIV&gt;&lt;DIV&gt;Cond(A) - matrix condition number&lt;/DIV&gt;&lt;DIV&gt;B_rel - relative error of right-hand side.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Following statement is true:&lt;/DIV&gt;&lt;DIV&gt;X_rel &amp;lt;= Cond(A)*B_rel, or moving to machine arithmetics:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;X_rel &amp;lt;= Cond(A)*eps, where eps is the smallest number representing by double precision type and rougly it's equal to 1e-16 (as mantissa of double precision type has 53 bits and 2^-53 ~= 1e-16). So, having Cond(A)=1e+15 we can write:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;X_rel &amp;lt;= 1.0e+15 * 1.0e-16, or&lt;/DIV&gt;&lt;DIV&gt;X_rel &amp;lt;= 1.0e-1&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;So, only 1 significant decimal digit is guaranteed to be correct in the relative error of solution of this matrix.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Konstantin&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Feb 2011 11:44:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806084#M3417</guid>
      <dc:creator>Konstantin_A_Intel</dc:creator>
      <dc:date>2011-02-09T11:44:54Z</dc:date>
    </item>
    <item>
      <title>I do not get to solve a system using sparse matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806085#M3418</link>
      <description>Ok, Konstantin, now I'm understand for you. Well, I'm changed double precision for simple precision (kind=4), but I have a problem with dss_solve_real, because the subroutine dss_solve_real forces using double precision in input vectors. &lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;PROGRAMA09022011.f90(654): error #6633: The type of the actual argument differs from the type of the dummy argument. &lt;X&gt;&lt;BR /&gt;if (dss_solve_real( hDSS, MKL_DSS_FORWARD_SOLVE, P, 1, X) &amp;amp; &lt;BR /&gt;-------------------------------------------------------^&lt;BR /&gt;PROGRAMA09022011.f90(661): error #6633: The type of the actual argument differs from the type of the dummy argument. &lt;P&gt;&lt;BR /&gt;if (dss_solve_real( hDSS, MKL_DSS_BACKWARD_SOLVE, P, 1, X ) &amp;amp; &lt;BR /&gt;--------------------------------------------------^&lt;BR /&gt;PROGRAMA09022011.f90(661): error #6633: The type of the actual argument differs from the type of the dummy argument. &lt;X&gt;&lt;BR /&gt;if (dss_solve_real( hDSS, MKL_DSS_BACKWARD_SOLVE, P, 1, X ) &amp;amp; &lt;BR /&gt;--------------------------------------------------------^&lt;BR /&gt;PROGRAMA09022011.f90(668): error #6633: The type of the actual argument differs from the type of the dummy argument. &lt;/X&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if (dss_solve_real( hDSS, MKL_DSS_DEFAULTS, P, 1, X ) &amp;amp; &lt;BR /&gt;--------------------------------------------^&lt;BR /&gt;PROGRAMA09022011.f90(668): error #6633: The type of the actual argument differs from the type of the dummy argument. &lt;X&gt;&lt;BR /&gt;if (dss_solve_real( hDSS, MKL_DSS_DEFAULTS, P, 1, X ) &amp;amp; &lt;BR /&gt;--------------------------------------------------^&lt;BR /&gt;compilation aborted for PROGRAMA09022011.f90 (code 1)&lt;BR /&gt;&lt;BR /&gt;&lt;/X&gt;&lt;/P&gt;&lt;/X&gt;&lt;/I&gt;&lt;B&gt;Any idea how to calculate my system sparse matrix?&lt;/B&gt;&lt;BR /&gt;Thanks, for your help.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 09 Feb 2011 12:46:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806085#M3418</guid>
      <dc:creator>felipin85</dc:creator>
      <dc:date>2011-02-09T12:46:28Z</dc:date>
    </item>
    <item>
      <title>I do not get to solve a system using sparse matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806086#M3419</link>
      <description>I'm afraid that with single precision you have much less chances to obtain correct solution as this type has only 23 binary digits for mantissa (comparing to double precision having 53 bits). Do you really have any reason to use single precision computations?&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Konstantin&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Feb 2011 17:56:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806086#M3419</guid>
      <dc:creator>Konstantin_A_Intel</dc:creator>
      <dc:date>2011-02-09T17:56:15Z</dc:date>
    </item>
    <item>
      <title>I do not get to solve a system using sparse matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806087#M3420</link>
      <description>No, I haven't reason to use single precision. I'm using single precision because I I understood that it would improve the system resolution. &lt;BR /&gt;The program will have to solve very large sparse systems, from a finite difference scheme. For this case, I can resolution with getrfand getrs, but when I grow up I'll have to calculate the system with sparse.&lt;BR /&gt;In theory, Is it normal that the system of good results using getfrf (and getrs) and bad results using sparse?&lt;BR /&gt;On Other hand, How matrix ill-conditioned test them? For viewing the finite difference schemes should have a good ill-conditioned?&lt;BR /&gt;&lt;BR /&gt;Sorry for the inconvenience&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards!</description>
      <pubDate>Wed, 09 Feb 2011 18:11:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806087#M3420</guid>
      <dc:creator>felipin85</dc:creator>
      <dc:date>2011-02-09T18:11:34Z</dc:date>
    </item>
    <item>
      <title>I do not get to solve a system using sparse matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806088#M3421</link>
      <description>Hi Felipin85,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I'm sorry for the late response. It seems I have an answer why youdid get completely different solution with PARDISO/DSS and LAPACK. The problem is that you wrote a matrix in the file SP.txt in the following way:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;   WRITE(52,52)(P(j),j=1,total)&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;   52 FORMAT (10000F10.3)&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;That means that you lost all significant digits to the left of floating point except 3 ones. That changed the matrix so that its condition number became ~36000 instead of 1e+15 in the initial matrix. That "modified" matrix was passed to dgetf and dgetrs that resulted in good solution (but it was a solution of another matrix). On the other hand, data passed to sparse solver was correct: array Val.dat contains numbers with many significant digits.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;So, if you replace line&lt;/DIV&gt;&lt;SPAN style="font-family: verdana, sans-serif;"&gt;&lt;DIV style="font-family: verdana, sans-serif; padding: 0px; margin: 0px;" id="_mcePaste"&gt;   WRITE(52,52)(P(j),j=1,total)&lt;/DIV&gt;&lt;DIV style="font-family: verdana, sans-serif; padding: 0px; margin: 0px;" id="_mcePaste"&gt;in PROGRAMA07022011PIVOTGAUSS.f90 with more correct&lt;/DIV&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: verdana, sans-serif;"&gt;&lt;DIV style="font-family: verdana, sans-serif; padding: 0px; margin: 0px;" id="_mcePaste"&gt;   WRITE(52,*)(P(j),j=1,total)&lt;/DIV&gt;&lt;DIV style="font-family: verdana, sans-serif; padding: 0px; margin: 0px;" id="_mcePaste"&gt;you will get about the same solution with big numbers as DSS produced.&lt;/DIV&gt;&lt;DIV style="font-family: verdana, sans-serif; padding: 0px; margin: 0px;" id="_mcePaste"&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Konstantin&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 11 Feb 2011 08:40:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806088#M3421</guid>
      <dc:creator>Konstantin_A_Intel</dc:creator>
      <dc:date>2011-02-11T08:40:25Z</dc:date>
    </item>
    <item>
      <title>I do not get to solve a system using sparse matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806089#M3422</link>
      <description>Thanks Konstantin. I wondered why not give the same solution.But, I was born a doubt, the solutions with WRITE(52,52)(P(j),j=1,total) is well. I would impose three decimal places, for example, 10,430 or something similar. Then understand that are added to the right values, and therefore not "converge", but I know that the results is correct with the values of matrix sp.txt.&lt;BR /&gt; How I can get dss values, as I do with the file SP.txt (write (52.52)?&lt;BR /&gt;&lt;BR /&gt;Thanks, and I'm sorry for the inconvenience&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Fri, 11 Feb 2011 10:26:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806089#M3422</guid>
      <dc:creator>felipin85</dc:creator>
      <dc:date>2011-02-11T10:26:26Z</dc:date>
    </item>
    <item>
      <title>I do not get to solve a system using sparse matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806090#M3423</link>
      <description>The simplest way is tochange you SPARSE routineas follows (I marked modified/added lines with&lt;DIV&gt;&lt;SPAN style="font-family: verdana, sans-serif;"&gt;!---------------------------&lt;/SPAN&gt;):&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;OPEN(4,FILE='Col.dat')&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;OPEN(3,FILE='Val.dat')&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;OPEN(2,FILE='RowIndex.dat')&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;DO i=1,NVALUES&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;write(4,*)(COL(i))&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;write(3,52)(VAL(i))     !---------------------------&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;END DO&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;52 FORMAT (10000F10.3)  !---------------------------&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;DO i=1,total&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;write(*,*)(P(i))&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;END DO&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;DO i=1,total+1&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;write(2,*)(rowindex(i))&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;END DO&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;close(4)&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;close(3)&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;close(2)&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;OPEN(3,FILE='Val.dat')!---------------------------&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;DO i=1,NVALUES    !---------------------------&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;read(3,*)(VAL(i))    !---------------------------&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;END DO           !---------------------------&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;close(3)&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I hope it will help you to resolve your problems!&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Best regards,&lt;/DIV&gt;&lt;DIV&gt;Konstantin&lt;/DIV&gt;</description>
      <pubDate>Fri, 11 Feb 2011 10:57:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806090#M3423</guid>
      <dc:creator>Konstantin_A_Intel</dc:creator>
      <dc:date>2011-02-11T10:57:06Z</dc:date>
    </item>
    <item>
      <title>I do not get to solve a system using sparse matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806091#M3424</link>
      <description>As we say in my land: MUCHAS GRACIAS! (very thanks).I will try to solve the case, the only bad thing is having to read the files, because I did that to verify that the entry was good. Should come as vectors in the subroutine.&lt;BR /&gt;&lt;BR /&gt;Anyway, thank you very much Konstantine&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Feb 2011 11:15:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/I-do-not-get-to-solve-a-system-using-sparse-matrices/m-p/806091#M3424</guid>
      <dc:creator>felipin85</dc:creator>
      <dc:date>2011-02-11T11:15:08Z</dc:date>
    </item>
  </channel>
</rss>

