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

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

[Octave-bug-tracker] [bug #39000] Can't override BLAS XERBLA handler on


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #39000] Can't override BLAS XERBLA handler on Windows
Date: Tue, 21 Nov 2017 13:04:19 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #35, bug #39000 (project octave):

The real problem is that we don't seem to have a way to override the call to
xerbla on windows systems.

Well, we do, at least for our own builds.  We can modify any BLAS libraries
that we build so that they don't have their own xerbla routine, or so that it
can call a function we supply.

This doesn't fix the problem for everyone, or for people who want to replace
the blas library with their own.  Unless they also do the same.

I thought we just had to worry about bad values passed to the BLAS or LAPACK
functions that we call directly, but that's not the case.  So I don't see how
it's possible to check all the calls that we make so that there is no possible
way that a bad BLAS or LAPACK call can happen INTERNALLY to BLAS or LAPACK. 
We can't possibly know all the code paths that could happen.

I think I can fix our Windows build so that the reference BLAS and OpenBLAS do
the right thing and also document the issue.  That would be good enough for
me.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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