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

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

[Octave-bug-tracker] [bug #53912] make check hangs system


From: Rik
Subject: [Octave-bug-tracker] [bug #53912] make check hangs system
Date: Tue, 15 May 2018 14:37:59 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #5, bug #53912 (project octave):

Separately, I just came across this as well.  Just running 'test gmres' gives
a failure for me


octave:2> test gmres
***** test
 dim = 100;
 A = spdiags ([[1./(2:2:2*(dim-1)) 0]; 1./(1:2:2*dim-1); ...
 [0 1./(2:2:2*(dim-1))]]', -1:1, dim, dim);
 A = A'*A;
 b = rand (dim, 1);
 [x, resvec] = gmres (@(x) A*x, b, dim, 1e-10, dim,...
                      @(x) x./diag (A), [], []);
 assert (x, A\b, 1e-9*norm (x, Inf));
 [x, flag] = gmres (@(x) A*x, b, dim, 1e-10, 1e6,...
                    @(x) diag (diag (A)) \ x, [], []);
 assert (x, A\b, 1e-9*norm (x, Inf));
 [x, flag] = gmres (@(x) A*x, b, dim, 1e-10, 1e6,...
                    @(x) x ./ diag (A), [], []);
 assert (x, A\b, 1e-7*norm (x, Inf));
!!!!! test failed
out of memory or dimension too large for Octave's index type


I used hg bisect to locate the same cset as Mike as the source of the
problem.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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