Skip to content

test failures on ppc64 #2433

Closed
Closed

Description

@sharkcz

Commit 18bcc36 introduced a new test and since then a build with TARGET=POWER6 fails on ppc64 (big endian). There are follow-up fixes for Power, but they seems to fix only little-endian.

./openblas_utest
TEST 1/27 amax:samax [OK]
TEST 2/27 ismax:negative_step_2 [FAIL]
  ERR: test_ismin.c:88  expected 9, got 50
TEST 3/27 ismax:positive_step_2 [OK]
TEST 4/27 ismin:negative_step_2 [FAIL]
  ERR: test_ismin.c:62  expected 9, got 1
TEST 5/27 ismin:positive_step_2 [OK]
TEST 6/27 drotmg:drotmg_D1_big_D2_big_flag_zero [OK]
TEST 7/27 drotmg:rotmg_D1eqD2_X1eqX2 [OK]
TEST 8/27 drotmg:rotmg_issue1452 [OK]
TEST 9/27 drotmg:rotmg [OK]
TEST 10/27 axpy:caxpy_inc_0 [OK]
TEST 11/27 axpy:saxpy_inc_0 [OK]
TEST 12/27 axpy:zaxpy_inc_0 [OK]
TEST 13/27 axpy:daxpy_inc_0 [OK]
TEST 14/27 zdotu:zdotu_offset_1 [OK]
TEST 15/27 zdotu:zdotu_n_1 [OK]
TEST 16/27 dsdot:dsdot_n_1 [OK]
TEST 17/27 swap:cswap_inc_0 [OK]
TEST 18/27 swap:sswap_inc_0 [OK]
TEST 19/27 swap:zswap_inc_0 [OK]
TEST 20/27 swap:dswap_inc_0 [OK]
TEST 21/27 rot:csrot_inc_0 [OK]
TEST 22/27 rot:srot_inc_0 [OK]
TEST 23/27 rot:zdrot_inc_0 [OK]
TEST 24/27 rot:drot_inc_0 [OK]
TEST 25/27 potrf:smoketest_trivial [OK]
TEST 26/27 potrf:bug_695 [OK]
TEST 27/27 kernel_regress:skx_avx [OK]
RESULTS: 27 tests (25 ok, 2 failed, 0 skipped) ran in 37 ms
make[1]: *** [Makefile:45: run_test] Error 2

Activity

  1. sharkcz commented on Feb 19, 2020

    @sharkcz
    ContributorAuthor

    and for the record, TARGET=POWER8 fails on ppc64 with

    ../kernel/power/icamax_power8.S: Assembler messages:
    ../kernel/power/icamax_power8.S:14: Error: symbol `icamax_k' is already defined
    ../kernel/power/icamax_power8.S:18: Error: .localentry expression for `icamax_k' does not evaluate to a constant
    /tmp/ccKZt4px.s: Error: .size expression for icamax_k does not evaluate to a constant
    make[1]: *** [Makefile.L1:597: icamax_k.o] Chyba 1
    

    our CI runs with TARGET=POWER6 for ppc64 (as shown above)

  2. martin-frbg commented on Feb 19, 2020

    @martin-frbg
    Collaborator

    I am aware of the POWER6 (and POWER9) problem uncovered by 18bcc36 on the develop branch, should be fixable similar to #2427 . Do you see the ppc64 POWER8 failure on develop as well, I would expect it to build from icamax.c again on big-endian systems post #2411 but have not gotten around to reapplying for OpenPower access

  3. martin-frbg commented on Feb 19, 2020

    @martin-frbg
    Collaborator

    Gah. Endianness was never getting defined on the Makefile level, making all the happy little ifdefs in the KERNEL files rather pointless :(

  4. sharkcz commented on Feb 19, 2020

    @sharkcz
    ContributorAuthor

    @martin-frbg, let me know if you need access to ppc64/ppc64le or s390x hw, I can easily provide those.

  5. martin-frbg commented on Feb 19, 2020

    @martin-frbg
    Collaborator

    Thank you - I am now back in the unicamp openpower site (feels a bit silly to do this work on the other side of the world but their setup looks to be the most versatile). PR to follow soon, currently rerunning lapack-test on big-endian power8 with the fixes.

  6. sharkcz commented on Feb 25, 2020

    @sharkcz
    ContributorAuthor

    for the record - all builds in our CI are passing again

  7. martin-frbg commented on Feb 25, 2020

    @martin-frbg
    Collaborator

    Yes, everything except big-endian Power9 (which is not really expected to work right now) should work again. With gcc 8 I still see a lapack-test failure in the CHS part of the testsuite across all power8/power9 that is gone with gcc9. (On the other hand, gcc9 with big-endian Power8 gets a lot of complex tests aborted with argument errors unless I drop the optimization levels to O0. This is probably what pkubaj noted in #2299.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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