-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Invalid read of size 4 in ctrmm_iutncopy_SANDYBRIDGE #1770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could be related indeed, and your backtrace suggests you are using an old version (0.2.18) that still had this bug. Would it be possible for you to try a more recent version ? The fix was committed on the develop branch in october 2017 and the first release to have it would be 0.3.0. |
On Fri, 21 Sep 2018, Martin Kroeker wrote:
Could be related indeed, and your backtrace suggests you are using an
old version (0.2.18) that still had this bug. Would it be possible for
you to try a more recent version ? The fix was committed on the develop
branch in october 2017 and the first release to have it would be 0.3.0.
I am using OpenBLAS from Ubuntu 16.04. Glad to know that there is possibly
a fix.
Unfortunately I get linker errors when trying OpenBLAS-0.3.3:
//usr/lib/libblas.so.3: Nicht definierter Verweis auf `cgemm_thread_ct'
//usr/lib/libblas.so.3: Nicht definierter Verweis auf `dgemm_thread_tn'
//usr/lib/libblas.so.3: Nicht definierter Verweis auf `csyrk_thread_UT'
//usr/lib/libblas.so.3: Nicht definierter Verweis auf `ssymm_thread_LL'
//usr/lib/libblas.so.3: Nicht definierter Verweis auf `zgemm3m_thread_rr'
...
It seems I have still not convinced the build system to use /opt/openblas
instead of the system's default installation of OpenBLAS
(/usr/lib/libblas.so.3).
|
https://github.com/xianyi/OpenBLAS/wiki/faq#debianlts |
@amigalemming if you use hmatrix you have to disable openblas usage, so that it uses system blas. Probably uninstaling libopenblas0 forces its hand.... |
On Sat, 22 Sep 2018, Andrew wrote:
@amigalemming if you use hmatrix you have to disable openblas usage, so
that it uses system blas. Probably uninstaling libopenblas0 forces its
hand....
I am working on new Haskell bindings for LAPACK that support all matrix
types provided by LAPACK. As far as I know, hmatrix would never call
ctrmm. If I deinstall openblas would Ubuntu then fall back to unoptimized
BLAS routines? I tried to install ATLAS but also got linker errors.
|
Those are openblas internal symbols that appear missing. They should not be called directly. Yes, you will use ld that knows only about functions in (netlib) libblas.so , then at runtime libblas.so.3 will be libopenblas.so EDIT: those private symbols are not maintained, even less guaranteed, between versions. it could happen (and happens often) that broken parallel function gets disabled for few releases, or broken serial function gets replaced whith parallele version in one thread. |
On Sat, 22 Sep 2018, Andrew wrote:
Yes, you will use ld that knows only about functions in (netlib) libblas.so , then at runtime libblas.so.3 will
be libopenblas.so
As a result any further consumer will be free to use netlib/atlas/mkl/openblas/cublas/clblas etc
I have now started a new attempt with openblas-0.3.5 and I managed to
integrate the built library into the Debian alternatives system and it
seems to work. The linker errors disappeared and the crashes did so as
well.
|
I've got hard to reproduce crashes when calling
ctrmm
with 2x2 matrices on sandybridge. Valgrind says:strmm
,dtrmm
,ztrmm
seem not to be affected.Maybe related to #601?
The text was updated successfully, but these errors were encountered: