Author Topic: [SOLVED] octave bug  (Read 300 times)

Offline hikikomori

  • New Friend
  • *
  • Posts: 3
[SOLVED] octave bug
« on: August 26, 2010, 07:43:27 AM »
I have found a bug in octave on PCLinuxOS, it is probably badly compiled or so, not sure...

Someone have same problem:

http://octave.1599824.n4.nabble.com/Command-plot-not-working-Get-invalid-handle-error-from-get-td1671758.html

commands

x=(1:11)-6;
y=x.^2 + 2;
plot(x,y)

produce this error:

error: get: invalid handle (= 1.79769e+308)
error: called from:
error:   /usr/share/octave/3.2.2/m/plot/__plt_get_axis_arg__.m at line 57, colu
mn 9
error:   /usr/share/octave/3.2.2/m/plot/plot.m at line 178, column 18


the page says


This is your problem.  Most likely the LAPACK and/or BLAS libraries
you are using have been miscompiled.  You should look for updated
LAPACK/BLAS libraries.  If they are not available, or if they don't
fix the problem, then complain to whoever packages LAPACK and BLAS for
your system.

Octave uses a function from LAPACK to determine the floating point
format for your system, and to get values for the machine precision.
If those things are wrong, Octave will not function correctly.  In
later versions of Octave, this warning has been turned into a fatal
error.
« Last Edit: September 09, 2010, 03:28:34 AM by hikikomori »

Offline hikikomori

  • New Friend
  • *
  • Posts: 3
Re: octave bug
« Reply #1 on: August 26, 2010, 07:46:37 AM »
The bug is serious, because many high school and university students use octave. Octave is KILLER APP for students, really important. I also managed to compile qtoctave and it works well, but plotting does not work because of this error in octave in this distro.

Offline hikikomori

  • New Friend
  • *
  • Posts: 3
Re: octave bug
« Reply #2 on: September 09, 2010, 03:23:53 AM »
It seems to work now, thanks. Even qtoctave appeared in a repo, wow ;D