help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On entry to DLASDA parameter number 2 had an illegal value


From: John W. Eaton
Subject: On entry to DLASDA parameter number 2 had an illegal value
Date: Sun, 25 Jul 2010 18:10:10 -0400

On 25-Jul-2010, lo wrote:

| on running the following under octave 3.3.51 on a Linux Suse 11.2
| 
| A = [ 0.50374   0.61402   0.43301; 0.60290   0.78609   0.43301 ]
| B = [ -1.0531; -1.0531 ]
| X = A\B; % solve A X = B
| 
| 
| I get:
| 
|  ** On entry to DLASDA parameter number  2 had an illegal value
| A =
| 
|    0.50374   0.61402   0.43301
|    0.60290   0.78609   0.43301
| 
| B =
| 
|   -1.0531
|   -1.0531
| 
| error: test: exception encountered in Fortran subroutine dgelsd_

I see the following with the current development sources:

  octave:1> A = [ 0.50374   0.61402   0.43301; 0.60290   0.78609   0.43301 ]
  A =

     0.50374   0.61402   0.43301
     0.60290   0.78609   0.43301

  octave:2> B = [ -1.0531; -1.0531 ]
  B =

    -1.0531
    -1.0531

  octave:3> X = A\B; % solve A X = B
  octave:4> X
  X =

    -0.57985
     0.33415
    -2.23132


So it looks like the problem is either already solved or somehow
related to the versions of the lapack and blas libraries you have.

I recommend that you try building from the current Mercurial sources
if you are interested in using the most recent Octave.  The 3.3.51
snapshot is somewhat old now.  If you still see the failure after
building with the current sources, then please submit a bug report and
include information about what lapack and blas libraries you are
using.

jwe






reply via email to

[Prev in Thread] Current Thread [Next in Thread]