Menu

#257 ATLAS make build fails for ODROID (ARMv8 A53)

Stable
open
build (1)
7
2016-08-22
2016-08-22
TJ Johnson
No

The make build step fails with the following error:

BEGIN STAGE 2-3-1: BUILDING BLOCK MATMUL TUNE at 13:17
The best matmul kernel was CASES/ATL_mm4x4x2_1_pref.c, NB=48, written by R. Clint Whaley
Performance: 1998.31MFLOPS (99.12 percent of of detected clock rate)
(Gen case got 1924.18MFLOPS)
make -f Makefile INSTALL_LOG/zNCNB pre=z 2>&1 | ./xatlas_tee INSTALL_LOG/sL3TUNE.LOGMake.top:15: recipe for target 'build' failed
make[1]: Leaving directory '/home/odroid/P3/opt_libs/ATLAS3.10.3/BLDdir_odroid'
Makefile:536: recipe for target 'build' failed

From what I can tell, this most likely occurs because of an earlier failure within the make build process also related to zNCNB, but which allowed the process to continue anyway:

RUNNING EXTERNAL SEARCHES, PRE='z', NB=48:
Makefile:225: recipe for target 'res/zNCNB' failed
make[3]: *** [res/zNCNB] Aborted (core dumped)
make[3]: Leaving directory '/home/odroid/P3/opt_libs/ATLAS3.10.3/BLDdir_odroid/tune/blas/gemm'
Makefile:331: recipe for target '/home/odroid/P3/opt_libs/ATLAS3.10.3/BLDdir_odroid/tune/blas/gemm/res/zNCNB' failed
make[2]: *** [/home/odroid/P3/opt_libs/ATLAS3.10.3/BLDdir_odroid/tune/blas/gemm/res/zNCNB] Error 2

I found the presumed recipie in ATLAS3.10.3/BLDdir_odroid/tune/blas/gemm/Makefile:

res/$(pre)NCNB : xmmsearch xemit_mm
./xmmsearch -p $(pre)

While running the recipe from the makefile doesn't produce any errors, running the command itself produces this:

3094 of /home/odroid/P3/opt_libs/ATLAS3.10.3/BLDdir_odroid/..//tune/blas/gemm/mmcuncpsearch.c
pre=z, loopO=JIK, ta=N tb=N, mb=48, nb=48, kb=48, lda=0, ldb=48, ldc=48
mu=4, nu=4, ku=1, muladd=1, lat=7 ====> mflop=1199.595000
pre=z, loopO=JIK, ta=N tb=N, mb=48, nb=48, kb=48, lda=0, ldb=48, ldc=48
mu=4, nu=4, ku=1, muladd=1, lat=7 ====> mflop=1199.595000
pre=z, loopO=JIK, ta=N tb=N, mb=44, nb=44, kb=44, lda=0, ldb=44, ldc=44
mu=4, nu=4, ku=1, muladd=1, lat=7 ====> mflop=1239.229000
pre=z, loopO=JIK, ta=N tb=N, mb=40, nb=40, kb=40, lda=0, ldb=40, ldc=40
mu=4, nu=4, ku=1, muladd=1, lat=7 ====> mflop=1259.715000
pre=z, loopO=JIK, ta=N tb=N, mb=36, nb=36, kb=36, lda=0, ldb=36, ldc=36
mu=4, nu=4, ku=1, muladd=1, lat=7 ====> mflop=1266.226000
pre=z, loopO=JIK, ta=N tb=N, mb=32, nb=32, kb=32, lda=0, ldb=32, ldc=32
mu=4, nu=4, ku=1, muladd=1, lat=7 ====> mflop=1273.844000
pre=z, loopO=JIK, ta=N tb=N, mb=28, nb=28, kb=28, lda=0, ldb=28, ldc=28
mu=4, nu=4, ku=1, muladd=1, lat=7 ====> mflop=1270.002000
pre=z, loopO=JIK, ta=N tb=N, mb=24, nb=24, kb=24, lda=0, ldb=24, ldc=24
mu=4, nu=4, ku=1, muladd=1, lat=7 ====> mflop=1243.920000
pre=z, loopO=JIK, ta=N tb=N, mb=20, nb=20, kb=20, lda=0, ldb=20, ldc=20
mu=4, nu=4, ku=1, muladd=1, lat=7 ====> mflop=1160.896000
Segmentation fault (core dumped)
xmmsearch: /home/odroid/P3/opt_libs/ATLAS3.10.3/BLDdir_odroid/..//tune/blas/gemm/mmsearch.c:202: DoAllSearches: Assertion `!system(ln)' failed.
Aborted (core dumped)

And, in either case, the make build step remains the same. Anyone have any insight in this?

1 Attachments

Discussion


Log in to post a comment.

MongoDB Logo MongoDB