DGELSx: variables A and B unchanged

Post here if you have a question about LAPACK or ScaLAPACK algorithm or data format

DGELSx: variables A and B unchanged

Postby edita87 » Sun Dec 31, 2017 1:23 pm

I am trying to solve a linear least squares problem using LAPACK's specialized routines. Right after DGELS returns, the variables A and B are unchanged but info evaluates to 0. I am using PGI Fortran 7.2-5 with BLAS and LAPACK as released by PGI, on a Dell Precision T7400.

Has anyone else experienced this problem? Is there something I am not doing right? I even tried for a simple 2x2 matrix but the outcome was the same: A and B had the same value as before entering DGELS

طريقة عمل روت للاندرويد

Code: Select all
call DGELS(tr, 2, 2, 1, amat, 2, bvec, 2, ym, -1, infols)

Code: Select all
[alexgc@predeal SWE_NEW]$ ./sensobs
 RHS before
    1.000000000000000         1.000000000000000     
    1.000000000000000        -1.000000000000000     
 LHS before
    1.000000000000000     
    0.000000000000000     
 info (as returned by DGELS) =             0
 RHS after <=> factorization
    1.000000000000000         1.000000000000000     
    1.000000000000000        -1.000000000000000     
 LHS after <=> solution
    1.000000000000000     
    0.000000000000000     
FORTRAN STOP
edita87
 
Posts: 1
Joined: Thu Mar 09, 2017 12:49 pm

Return to Algorithm / Data

Who is online

Users browsing this forum: No registered users and 2 guests