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

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

[Octave-bug-tracker] [bug #54179] sparse/eigs.m test failure on macOS


From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #54179] sparse/eigs.m test failure on macOS
Date: Sun, 24 Jun 2018 17:56:05 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Follow-up Comment #3, bug #54179 (project octave):

Not sure if I'm using DYLD_INSERT_LIBRARIES right, but using it to pull in
OpenBLAS appears to have no effect:


$ OPENBLAS=$(brew --prefix openblas)
$
DYLD_INSERT_LIBRARIES=$OPENBLAS/lib/libblas.dylib:$OPENBLAS/lib/liblapack.dylib:$OPENBLAS/lib/libopenblas.dylib
octave
GNU Octave, version 4.4.0
...
Octave was configured for "x86_64-apple-darwin17.6.0".
...

octave:1> test eigs
***** testif HAVE_ARPACK
 A = toeplitz ([0, 1, zeros(1, 8)], [0, -1, zeros(1, 8)]);
 A = kron (A, eye (10)) + kron (eye (10), A);
 opts.v0 = (1:100)';
 opts.maxit = 5;
 warning ("off", "Octave:eigs:UnconvergedEigenvalues", "local");
 d = eigs (A, 4, "lm", opts);
 assert (d(3:4), [NaN+1i*NaN; NaN+1i*NaN]);
!!!!! test failed
ASSERT errors for:  assert (d (3:4),[NaN + 1i * NaN; NaN + 1i * NaN])

  Location  |  Observed  |  Expected  |  Reason
    (1)      -3.4694e-18+3.6015i   NaN+NaNi     'NaN' mismatch
    (2)      -3.4694e-18-3.6015i   NaN+NaNi     'NaN' mismatch
octave:2>


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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