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

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

[Octave-bug-tracker] [bug #59206] crash during matrix multiplication (Wi


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #59206] crash during matrix multiplication (Win only)
Date: Tue, 27 Oct 2020 12:57:39 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36 Edg/86.0.622.51

Update of bug #59206 (project octave):

                  Status:               Confirmed => Patch Submitted        

    _______________________________________________________

Follow-up Comment #27:

I used the attached patch to cross-compile version 0.3.12 of OpenBLAS with the
additional settings for TARGET and NUM_THREADS.
With that patch, TARGET will be set to "KATMAI" when we are building for
Windows 32bit. Otherwise, it will be set to "PRESCOTT". This assumes that all
other targets (incl. native Linux) are 64bit. I don't know if this assumption
is save enough.
It will set NUM_THREADS to 24 (which I thought was reasonably high).

One hunk from a patch we have in MXE Octave (referring to xerbla) no longer
applies. I just removed that hunk and compilation went smoothly. I'm not sure
if this is ok or if we need an alternative change.

Anyway, on Windows, I used the "BLAS Switcher" to select OpenBLAS. Running
`version -blas` confirmed that OpenBLAS was used.
With that, I ran the test suite.
I had some local changes in Octave. Because of those, some tests failed. But
these test failures seem unrelated.
Also the code from comment #7 didn't crash Octave. (But it never did when MXE
Octave was compiled on the same machine.)
So, I guess OpenBLAS works correctly for me with this change.

(file #50139)
    _______________________________________________________

Additional Item Attachment:

File name: bug59206_openblas_0.3.12.patch Size:3 KB
   
<https://file.savannah.gnu.org/file/bug59206_openblas_0.3.12.patch?file_id=50139>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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