Skip to content

ValueError: LAPACK root finding dlasd4 failed to fine the last singular value #1

@lucgiffon

Description

@lucgiffon

Hello, I'm currently trying to run your code. I think I succesfully passed the instalation steps but when I am trying to test the specific function of update_svd, I get the following error which I am not able to understand:

Traceback (most recent call last):
  File "/home/luc/tests/svd_update/alexgrigupdate/test_svd_update.py", line 764, in <module>
    test_update_svd(10000,500, 6000, 500)
  File "/home/luc/tests/svd_update/alexgrigupdate/test_svd_update.py", line 495, in test_update_svd
    (uu,su,vu) = update_SVD( um, sm, vm, new_col, a_col_col=True)
  File "/home/luc/tests/svd_update/alexgrigupdate/svd_update.py", line 969, in update_SVD
    U1, new_sigmas, V1 = _SVD_upd_diag(S, m_vec, new_col=True)
  File "/home/luc/tests/svd_update/alexgrigupdate/svd_update.py", line 802, in _SVD_upd_diag
    ret =  find_roots(sigmas, m_vec, method=method)
  File "/home/luc/tests/svd_update/alexgrigupdate/svd_update.py", line 486, in find_roots
    raise ValueError("LAPACK root finding dlasd4 failed to fine the last singular value")
ValueError: LAPACK root finding dlasd4 failed to fine the last singular value

Do you have any idea of what is going on here?

Step to reproduce:

Follow the installation steps
Change all print and xrange into print() and range to make it works with python3
Comment the whole block under if __name__ == __main__ in test_svd_update.py
Uncomment the line 764: test_update_svd(10000,500, 6000, 500)
Run python3 on the file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions