Skip to content

cblas_ddot different results #2953

Closed
Closed
@miro-janosik

Description

@miro-janosik

Good afternoon

my problem shares the error with #1168 - I also get error "Cholesky decomposition failed. Maybe matrix is not positive definite" when loading matrix with Kaldi.

My problem is that I have code compiled for Windows 10 (where it works), for CentOS 7 (where it works too), and after compiling it for Ubuntu 20 machine there it fails with this error, while loading the same matrix data. From what I see the operation call cblas_Xdot() returns different result for the same data .

What would be a best way to track down the problem please? I am trying to use the same version on all platforms (it is xianyi-OpenBLAS-eebc189-0-3-5 ) and I tried to build it with just a 'make' or 'make USE_THREAD=1 DYNAMIC_ARCH=1'.

When I run the tests I can see that cblas_ddot passed ... though, also when loading the matrices in Kaldi it works in first 30 matrices and fails on 31st.

I have a sample text output from the Cholesky decomposition - one run on windows, another on the linux, where it is clearly visible (in a diff tool like Meld or WinDiff) where results start to differ and Cholesky fails. It can be seen at http://bin.mypage.sk/FILES/localCholesky.zip

cheers and thanks for hints, Miro

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions