octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #34461] Error in svds test with 3.4.3-rc0


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #34461] Error in svds test with 3.4.3-rc0
Date: Mon, 03 Oct 2011 00:23:37 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20100101 Firefox/7.0

Follow-up Comment #2, bug #34461 (project octave):

On one x86_64 fc15 system I get:

octave:2> assert (s, ones (6, 1), 2*eps); 
octave:3>
Reducing tolerance to eps:
octave:5> assert (s, ones (6, 1), eps); 
error: assert (s,ones (6, 1),eps) expected
   1
   1
   1
   1
   1
   1
but got
   1.0000
   1.0000
   1.0000
   1.0000
   1.0000
   1.0000
maximum absolute error 4.44089e-16 exceeds tolerance 2.22045e-16
error: called from:
error:   /usr/share/octave/3.4.2/m/testfun/assert.m at line 237, column 5
============================================
But on another I get, as reported:
octave:1> s = svds (speye (10));
octave:2> assert (s, ones (6, 1), 2*eps);
error: assert (s,ones (6, 1),2 * eps) expected
   1
   1
   1
   1
   1
   1
but got
   1.00000
   1.00000
   1.00000
   1.00000
   1.00000
   1.00000
maximum absolute error 8.88178e-16 exceeds tolerance 4.44089e-16
But then, if I do yum remove atlas-devel
I get:
octave:1> s = svds (speye (10));
octave:2> assert (s, ones (6, 1), 2*eps);
error: assert (s,ones (6, 1),2 * eps) expected
   1
   1
   1
   1
   1
   1
but got
   1.0000
   1.0000
   1.0000
   1.0000
   1.0000
   1.0000
maximum absolute error 1.77636e-15 exceeds tolerance 4.44089e-16
error: called from:
error:   /usr/share/octave/3.4.2/m/testfun/assert.m at line 237, column 5
octave:2> 
==================================
I removed atls-devel because I noticed that it was not
installed on the machine that works.  But, I did not expect
the change above.  I did notice that atlas-devel installs
libs in /usr/lib64/atlas:
/usr/lib64/atlas/libatlas.so
/usr/lib64/atlas/libcblas.so
/usr/lib64/atlas/libclapack.so
/usr/lib64/atlas/libf77blas.so
/usr/lib64/atlas/liblapack.so
/usr/lib64/atlas/libptcblas.so
/usr/lib64/atlas/libptf77blas.so
==========================================
This does not appear to make a difference, but something
about removing atlas-devel has changed the result.

Michael


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34461>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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