Skip to content

please update test sdrvrf3.f #3648

Closed
@juntangc

Description

@juntangc

The test fails on both x86 and graviton processors:

git clone https://github.com/xianyi/OpenBLAS
cd OpenBLAS; make clean; make -j48; make lapack-test
/home/ubuntu/OpenBLAS/lapack-netlib/TESTING/LIN/xlintstrfs < /home/ubuntu/OpenBLAS/lapack-netlib/TESTING/stest_rfp.in

one test case fail on c5, c6g, c7g
c5: Failure in STFSM, CFORM='T', SIDE='L', UPLO='U', TRANS='T', DIAG='N', M= 50, N = 50, test= 36.444
c6g: Failure in STFSM, CFORM='T', SIDE='L', UPLO='U', TRANS='T', DIAG='N', M= 50, N = 50, test= 33.319
c7g: Failure in STFSM, CFORM='T', SIDE='L', UPLO='U', TRANS='T', DIAG='N', M= 50, N = 50, test= 33.319

The test compare the resulting matrices from STRSM (reference) and STFSM to determine the correctness of STFSM function. The test assume that STRSM generate correct results, but in reality the function has numeric errors (when comparing to double precision result). Attached table shows the comparison of STFSM, STRSM, DTFSM, and DTRSM and there is no evidence showing STFSM result being wrong.

Attached is also the patch used to generated the table.

Please update the test.

sdrvrf3.zip

sim_555_openBlas_correctness_v0.xlsx

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