Skip to content
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

tests fail on AArch64, Fedora 33 #287

Open
LutzWeischerFujitsu opened this issue Feb 9, 2021 · 6 comments
Open

tests fail on AArch64, Fedora 33 #287

LutzWeischerFujitsu opened this issue Feb 9, 2021 · 6 comments

Comments

@LutzWeischerFujitsu
Copy link

[jw@cn06 build]$ make VERBOSE=1 -j1 test
Running tests...
/usr/bin/ctest --force-new-ctest-process
Test project /data/jw/viennacl/build
Start 1: matrix_product_float-cpu
1/73 Test #1: matrix_product_float-cpu ......... Passed 140.42 sec
Start 2: matrix_product_double-cpu
2/73 Test #2: matrix_product_double-cpu ........ Passed 149.03 sec
Start 3: blas3_solve-cpu
3/73 Test #3: blas3_solve-cpu .................. Passed 102.89 sec
Start 4: fft_1d-cpu
4/73 Test #4: fft_1d-cpu ....................... Passed 0.69 sec
Start 5: fft_2d-cpu
5/73 Test #5: fft_2d-cpu ....................... Passed 0.03 sec
Start 6: iterators-cpu
6/73 Test #6: iterators-cpu .................... Passed 0.01 sec
Start 7: global_variables-cpu
7/73 Test #7: global_variables-cpu ............. Passed 0.01 sec
Start 8: nmf-cpu
8/73 Test #8: nmf-cpu .......................... Passed 1129.34 sec
Start 9: matrix_convert-cpu
9/73 Test #9: matrix_convert-cpu ............... Passed 71.58 sec
Start 10: matrix_vector-cpu
10/73 Test #10: matrix_vector-cpu ................ Passed 4.66 sec
Start 11: matrix_vector_int-cpu
11/73 Test #11: matrix_vector_int-cpu ............ Passed 3.14 sec
Start 12: matrix_row_float-cpu
12/73 Test #12: matrix_row_float-cpu ............. Passed 27.32 sec
Start 13: matrix_row_double-cpu
13/73 Test #13: matrix_row_double-cpu ............ Passed 34.22 sec
Start 14: matrix_row_int-cpu
14/73 Test #14: matrix_row_int-cpu ............... Passed 11.74 sec
Start 15: matrix_col_float-cpu
15/73 Test #15: matrix_col_float-cpu ............. Passed 26.97 sec
Start 16: matrix_col_double-cpu
16/73 Test #16: matrix_col_double-cpu ............ Passed 33.70 sec
Start 17: matrix_col_int-cpu
17/73 Test #17: matrix_col_int-cpu ............... Passed 11.76 sec
Start 18: scalar-cpu
18/73 Test #18: scalar-cpu ....................... Passed 0.01 sec
Start 19: scheduler_matrix-cpu
19/73 Test #19: scheduler_matrix-cpu ............. Passed 46.75 sec
Start 20: scheduler_matrix_matrix-cpu
20/73 Test #20: scheduler_matrix_matrix-cpu ...... Passed 36.62 sec
Start 21: self_assign-cpu
21/73 Test #21: self_assign-cpu .................. Passed 14.42 sec
Start 22: qr_method-cpu
22/73 Test #22: qr_method-cpu .................... Passed 0.20 sec
Start 23: qr_method_func-cpu
23/73 Test #23: qr_method_func-cpu ............... Passed 0.04 sec
Start 24: scan-cpu
24/73 Test #24: scan-cpu ......................... Passed 0.13 sec
Start 25: scheduler_matrix_vector-cpu
25/73 Test #25: scheduler_matrix_vector-cpu ...... Passed 1.50 sec
Start 26: scheduler_sparse-cpu
26/73 Test #26: scheduler_sparse-cpu ............. Passed 27.41 sec
Start 27: scheduler_vector-cpu
27/73 Test #27: scheduler_vector-cpu ............. Passed 4.99 sec
Start 28: sparse-cpu
28/73 Test #28: sparse-cpu ....................... Passed 30.76 sec
Start 29: sparse_prod-cpu
29/73 Test #29: sparse_prod-cpu .................. Passed 1.89 sec
Start 30: tql-cpu
30/73 Test #30: tql-cpu .......................... Passed 1.63 sec
Start 31: vector_convert-cpu
31/73 Test #31: vector_convert-cpu ............... Passed 0.53 sec
Start 32: vector_float_double-cpu
32/73 Test #32: vector_float_double-cpu .......... Passed 22.65 sec
Start 33: vector_int-cpu
33/73 Test #33: vector_int-cpu ................... Passed 2.22 sec
Start 34: vector_uint-cpu
34/73 Test #34: vector_uint-cpu .................. Passed 1.08 sec
Start 35: vector_multi_inner_prod-cpu
35/73 Test #35: vector_multi_inner_prod-cpu ...... Passed 0.24 sec
Start 36: spmdm-cpu
36/73 Test #36: spmdm-cpu ........................ Passed 150.21 sec
Start 37: bisect-opencl
37/73 Test #37: bisect-opencl ....................Child abortedException: 0.34 sec
Start 38: matrix_product_float-opencl
38/73 Test #38: matrix_product_float-opencl ......Child aborted
Exception: 2.51 sec
Start 39: matrix_product_double-opencl
39/73 Test #39: matrix_product_double-opencl .....Child abortedException: 0.35 sec
Start 40: blas3_solve-opencl
40/73 Test #40: blas3_solve-opencl ...............Child aborted
Exception: 0.36 sec
Start 41: fft_1d-opencl
41/73 Test #41: fft_1d-opencl ....................Child abortedException: 0.34 sec
Start 42: fft_2d-opencl
42/73 Test #42: fft_2d-opencl ....................Child aborted
Exception: 0.34 sec
Start 43: iterators-opencl
43/73 Test #43: iterators-opencl .................Child abortedException: 0.34 sec
Start 44: global_variables-opencl
44/73 Test #44: global_variables-opencl ..........Child aborted
Exception: 0.33 sec
Start 45: matrix_convert-opencl
45/73 Test #45: matrix_convert-opencl ............Child abortedException: 0.41 sec
Start 46: matrix_vector-opencl
46/73 Test #46: matrix_vector-opencl .............Child aborted
Exception: 0.37 sec
Start 47: matrix_vector_int-opencl
47/73 Test #47: matrix_vector_int-opencl .........Child abortedException: 0.35 sec
Start 48: matrix_row_float-opencl
48/73 Test #48: matrix_row_float-opencl ..........Child aborted
Exception: 0.37 sec
Start 49: matrix_row_double-opencl
49/73 Test #49: matrix_row_double-opencl .........Child abortedException: 0.34 sec
Start 50: matrix_row_int-opencl
50/73 Test #50: matrix_row_int-opencl ............Child aborted
Exception: 0.37 sec
Start 51: matrix_col_float-opencl
51/73 Test #51: matrix_col_float-opencl ..........Child abortedException: 0.37 sec
Start 52: matrix_col_double-opencl
52/73 Test #52: matrix_col_double-opencl .........Child aborted
Exception: 0.37 sec
Start 53: matrix_col_int-opencl
53/73 Test #53: matrix_col_int-opencl ............Child abortedException: 0.36 sec
Start 54: nmf-opencl
54/73 Test #54: nmf-opencl .......................Child aborted
Exception: 0.35 sec
Start 55: qr_method-opencl
55/73 Test #55: qr_method-opencl .................Child abortedException: 0.36 sec
Start 56: qr_method_func-opencl
56/73 Test #56: qr_method_func-opencl ............Child aborted
Exception: 0.35 sec
Start 57: scan-opencl
57/73 Test #57: scan-opencl ......................Child abortedException: 0.34 sec
Start 58: scalar-opencl
58/73 Test #58: scalar-opencl ....................Child aborted
Exception: 0.32 sec
Start 59: self_assign-opencl
59/73 Test #59: self_assign-opencl ...............Child abortedException: 0.35 sec
Start 60: sparse-opencl
60/73 Test #60: sparse-opencl ....................Child aborted
Exception: 0.36 sec
Start 61: sparse_prod-opencl
61/73 Test #61: sparse_prod-opencl ...............Child abortedException: 0.40 sec
Start 62: structured-matrices-opencl
62/73 Test #62: structured-matrices-opencl .......Child aborted
Exception: 0.35 sec
Start 63: svd-opencl
63/73 Test #63: svd-opencl .......................Child abortedException: 0.35 sec
Start 64: tql-opencl
64/73 Test #64: tql-opencl .......................Child aborted
Exception: 0.34 sec
Start 65: vector_convert-opencl
65/73 Test #65: vector_convert-opencl ............Child abortedException: 0.35 sec
Start 66: vector_float_double-opencl
66/73 Test #66: vector_float_double-opencl .......Child aborted
Exception: 0.36 sec
Start 67: vector_int-opencl
67/73 Test #67: vector_int-opencl ................Child abortedException: 0.34 sec
Start 68: vector_uint-opencl
68/73 Test #68: vector_uint-opencl ...............Child aborted
Exception: 0.35 sec
Start 69: vector_multi_inner_prod-opencl
69/73 Test #69: vector_multi_inner_prod-opencl ...Child abortedException: 0.34 sec
Start 70: spmdm-opencl
70/73 Test #70: spmdm-opencl .....................Child aborted
Exception: 6.03 sec
Start 71: libviennacl-blas1
71/73 Test #71: libviennacl-blas1 ................Child abortedException: 0.35 sec
Start 72: libviennacl-blas2
72/73 Test #72: libviennacl-blas2 ................Child aborted
Exception: 0.34 sec
Start 73: libviennacl-blas3
73/73 Test #73: libviennacl-blas3 ................Child aborted***Exception: 0.97 sec

49% tests passed, 37 tests failed out of 73

Total Test time (real) = 2112.38 sec

The following tests FAILED:
37 - bisect-opencl (Child aborted)
38 - matrix_product_float-opencl (Child aborted)
39 - matrix_product_double-opencl (Child aborted)
40 - blas3_solve-opencl (Child aborted)
41 - fft_1d-opencl (Child aborted)
42 - fft_2d-opencl (Child aborted)
43 - iterators-opencl (Child aborted)
44 - global_variables-opencl (Child aborted)
45 - matrix_convert-opencl (Child aborted)
46 - matrix_vector-opencl (Child aborted)
47 - matrix_vector_int-opencl (Child aborted)
48 - matrix_row_float-opencl (Child aborted)
49 - matrix_row_double-opencl (Child aborted)
50 - matrix_row_int-opencl (Child aborted)
51 - matrix_col_float-opencl (Child aborted)
52 - matrix_col_double-opencl (Child aborted)
53 - matrix_col_int-opencl (Child aborted)
54 - nmf-opencl (Child aborted)
55 - qr_method-opencl (Child aborted)
56 - qr_method_func-opencl (Child aborted)
57 - scan-opencl (Child aborted)
58 - scalar-opencl (Child aborted)
59 - self_assign-opencl (Child aborted)
60 - sparse-opencl (Child aborted)
61 - sparse_prod-opencl (Child aborted)
62 - structured-matrices-opencl (Child aborted)
63 - svd-opencl (Child aborted)
64 - tql-opencl (Child aborted)
65 - vector_convert-opencl (Child aborted)
66 - vector_float_double-opencl (Child aborted)
67 - vector_int-opencl (Child aborted)
68 - vector_uint-opencl (Child aborted)
69 - vector_multi_inner_prod-opencl (Child aborted)
70 - spmdm-opencl (Child aborted)
71 - libviennacl-blas1 (Child aborted)
72 - libviennacl-blas2 (Child aborted)
73 - libviennacl-blas3 (Child aborted)
Errors while running CTest
make: *** [Makefile:129: test] Error 8
[jw@cn06 build]$

@karlrupp
Copy link
Collaborator

karlrupp commented Feb 9, 2021

It looks like you don't have an OpenCL SDK properly installed on the machine, because all the CPU tests pass and all the OpenCL tests fail. Can you please verify that OpenCL is installed correctly? If you don't want to use OpenCL, please disable OpenCL by setting ENABLE_OPENCL to false in the CMake configuration.

@LutzWeischerFujitsu
Copy link
Author

cmake ENABLE_OPENCL=false .. didn't help.

I also tried installing from source OpenCL (POCL) with cmake .., but that didn't help either.

@karlrupp
Copy link
Collaborator

Can you please elaborate on didn't help? If configured this way, all the failed OpenCL tests you mentioned above are no longer run, so you shouldn't get any errors.

@LutzWeischerFujitsu
Copy link
Author

@karlrupp
Copy link
Collaborator

Thanks! Please use cmake .. -DENALBE_OPENCL=false, otherwise ENABLE_OPENCL is interpreted as an environment variable, not a configuration option for CMAKE.

@LutzWeischerFujitsu
Copy link
Author

Works now. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants