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

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

[Octave-bug-tracker] [bug #58926] Octave gives wrong results with intel-


From: Archisman Panigrahi
Subject: [Octave-bug-tracker] [bug #58926] Octave gives wrong results with intel-mkl when diagonalizing large matrices
Date: Tue, 11 Aug 2020 02:04:00 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0

Follow-up Comment #8, bug #58926 (project octave):


[comment #6 comment #6:]
> @OP: That is enough information to localize that the bug is not within
Octave, since openblas gives the correct answer.
> 
> If you type
> 
> export MKL_THREADING_LAYER=gnu
> 
> at the bash prompt before invoking Octave, does the error go away? If so,
that would confirm that the error is between IOMP and GOMP. The MKL was given
a Gnu compatibility mode to solve that problem.
> 
I confirm that this workaround works. 

However, users who are using MKL with Octave should be somehow notified about
this bug. This issue only pops up when the size of matrices is sufficiently
big, and this may go unnoticed (having using Octave for several years, I
always believe its results, and so would most other users). I only noticed the
issue after plotting a graph of something, which seemed to be wrong.

This issue and its workaround should be mentioned in the Octave Wiki. Right
now, it is can only be found in some Debian bug reports (not mentioned in
MKL's website at all, and I could not find it anywhere else in the web), so it
is hard to find. And users normally would not double check results produced by
Octave.

I feel the severity of this bug should be increased from Normal to Very High
(it is not exactly a Octave bug, but it ends up affecting  Octave severely.
Scilab remains unaffected by this issue. Also, I don't know whether I am
allowed to do change the severity of the bug myself. I could not find how to
do it.), and this bug report should not be closed until this issue is
mentioned in the Octave Wiki.

> If that workaround works, add the "export" line to your .bashrc file and
Octave will work with MKL without surprises.

Yes, this works.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58926>

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




reply via email to

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