OpenBLAS: TARGET=C910V zblat2 test timeout

Test on milk-v

OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 ./sblat2 < ./sblat2.dat
f77 -march=rv64gcv0p7_zfh_xtheadc -mabi=lp64d -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -frecursive  -fno-tree-vectorize -Wl,-z,relro -o cblat3 cblat3.o ../libopenblas_riscv64_genericp-r0.3.23.a -lm -lpthread -lgfortran -lm -lpthread -lgfortran -L/usr/lib/gcc/riscv64-linux-gnu/10 -L/lib/riscv64-linux-gnu -L/usr/lib/riscv64-linux-gnu  -lc
rm -f ?BLAT3.SUMM
OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 ./sblat3 < ./sblat3.dat
OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 ./dblat3 < ./dblat3.dat
OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 ./cblat3 < ./cblat3.dat
OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 ./zblat3 < ./zblat3.dat
rm -f ?BLAT3.SUMM
OPENBLAS_NUM_THREADS=2 ./sblat3 < ./sblat3.dat
OPENBLAS_NUM_THREADS=2 ./dblat3 < ./dblat3.dat
OPENBLAS_NUM_THREADS=2 ./cblat3 < ./cblat3.dat
OPENBLAS_NUM_THREADS=2 ./zblat3 < ./zblat3.dat
E: Build killed with signal TERM after 150 minutes of inactivity
--------------------------------------------------------------------------------

full log: (in Debian) openblas_test_timeout.build.log

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16 (7 by maintainers)

Most upvoted comments

and -O1 also works… I’m now trying with -O1 for the LAPACK (fortran) parts only

Attach gdb to process and at least get backtrace:

$ script
$ gdb
gdb> attach <pid>
gdb> t a a bt
gdb> detach
gdb> quit
$ ^D
(gdb) bt
#0  sdot_k (n=n@entry=0, x=x@entry=0x3ff4967d78, inc_x=inc_x@entry=1, y=y@entry=0x3ff4963140, inc_y=inc_y@entry=1)
    at /usr/lib/gcc/riscv64-linux-gnu/10/include/riscv_vector.h:954
#1  0x0000002addb94072 in ssbmv_U (n=n@entry=1, k=k@entry=0, alpha=alpha@entry=1, a=a@entry=0x3ff4967d78, lda=lda@entry=2,
    x=x@entry=0x3ff4963140, incx=incx@entry=1, y=y@entry=0x3ff4963550, incy=incy@entry=1, buffer=buffer@entry=0x3f8d1c4000)
    at sbmv_k.c:77
#2  0x0000002addb92fd4 in ssbmv_ (UPLO=UPLO@entry=0x3ff49626e0 "U9\226\364?", N=N@entry=0x3ff4962454, K=K@entry=0x3ff4962440,
    ALPHA=<optimized out>, a=a@entry=0x3ff4967d78, LDA=LDA@entry=0x3ff4962448, x=x@entry=0x3ff4963140, INCX=<optimized out>,
    BETA=0x3ff4962428, y=y@entry=0x3ff4963550, INCY=0x3ff496243c) at sbmv.c:206
#3  0x0000002addb8c81e in schk2 (sname=..., eps=1.1920929e-07, thresh=16, nout=6, ntra=-1, trace=.FALSE., rewi=.FALSE., fatal=.FALSE.,
    nidim=7, idim=..., nkb=4, kb=..., nalf=3, alf=..., nbet=3, bet=..., ninc=4, inc=..., nmax=65, incmax=2, a=..., aa=..., as=...,
    x=..., xx=..., xs=..., y=..., yy=..., ys=..., yt=..., g=..., _sname=_sname@entry=6) at sblat2.f:955
#4  0x0000002addb919ba in sblat2 () at sblat2.f:350
#5  0x0000002addb8790a in main (argc=<optimized out>, argv=<optimized out>) at sblat2.f:429
#6  0x0000003f8f20aad6 in __gconv_transform_internal_ascii (step=0x2addb87888 <__memset_chk@plt+8>, data=0xffffffffffffffd1,
    inptrp=<optimized out>, inend=<optimized out>, outbufstart=<optimized out>, irreversible=0x26a62951766, do_flush=<optimized out>,
    consume_incomplete=<optimized out>) at ../iconv/skeleton.c:501
Backtrace stopped: frame did not save the PC