-
Notifications
You must be signed in to change notification settings - Fork 441
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
Failing tests for truncated QR routine in coverage build #956
Comments
@ACSimon33 In my environment, I have reproduced these failures even not for coverage build. Looks like root-cause is uninitialized variable
in normal case. That's why final check for thresh
is always true, which lead to every test failure. Somewhere above we should set
|
@dklyuchinskiy Nice catch! Should I create a MR or do you want to do that? |
@ACSimon33 I will be glad, if you create MR and check fix with coverage build. I did not work with it before. Also, I am confused with some other places inside test.
But after that we check the condition
Indexes point to sub-diagonal elements of A (or R). Is it equal to the documentation?
Please correct me, if I am wrong. |
@dklyuchinskiy I think the indices are actually pointing to the diagonal since Fortran is 1-indexed. So, for example if I agree that we should use |
This bug is currently in the process of fixing. This is a test number 4 which currently does not affect the correctness of the routine code/results. The test should check (with some care) if ABS values of the diagonal elements are non-increasing. @ACSimon33 could you please provide:
Thank you. |
Hi @scr2016, I can reproduce the old errors tomorrow if you think that it’s still necessary. |
@ACSimon33. The complete test error output and the environment information
would help to check the issue thoroughly.
Thank you in advance.
…On Fri, Dec 15, 2023 at 12:59 PM Simon Lukas Märtens < ***@***.***> wrote:
Hi @scr2016 <https://github.com/scr2016>,
please have a look at the PR which is linked in this issue. The problem
was just an un initialized RESULT vector as far as I can tell. At least it
fixed the issue on my side and all tests are passing now.
I can reproduce the old errors tomorrow if you think that it’s still
necessary.
—
Reply to this email directly, view it on GitHub
<#956 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHYAZEJREFTINLOIHDCUSDYJS24LAVCNFSM6AAAAABAC53LV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJYGQ4DAMBRGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@ACSimon33 Yeap, thank you for explanation! You are right! My fault :) |
@scr2016 Here are the complete test results: I compiled with GCC 13.2 on CentOS Linux 7 (Core). The issues only appear in the coverage build for me:
|
@scr2016 I tried with some more GCC version (4.8.5, 5.5.0, 6.5.0, 7.5.0, 8.4.0, 9.3.0, 10.3.0, 12.2.0, 13.2.0). The issue only exists for GCC >= 7.5.0. |
Description
Our coverage build was broken after the upgrade to 3.12.0 which led me to the bug in the lapack_testing.py script (see #954). After fixing that bug it was revealed that there are some tests which only fail in the coverage build:
These tests are all related to the truncated QR routines:
It is always the 4th test which fails for all kinds of matrices. Weirdly, the
COMPLEX16
routines don't have that issue and if I build without LAPACKE theCOMPLEX
tests are also fine. To reproduce this issue just build with-DCMAKE_BUILD_TYPE=coverage
.Hi @scr2016, I guess you know the most about these routines. Do you have any ideas about what might go wrong here?
The text was updated successfully, but these errors were encountered: