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

omniscidb built with llvm9 leads to load-time UDF test failures #395

Open
pearu opened this issue Jan 17, 2022 · 0 comments
Open

omniscidb built with llvm9 leads to load-time UDF test failures #395

pearu opened this issue Jan 17, 2022 · 0 comments
Labels
bug Something isn't working heavydb Related to heavydb server

Comments

@pearu
Copy link
Contributor

pearu commented Jan 17, 2022

Issue:

$ pytest -sv rbc/tests/
<snip>
========================================================================================= short test summary info =========================================================================================
FAILED rbc/tests/test_omnisci_device_selection.py::test_device_selection_single[lt-udf-any] - AssertionError: assert 'gpu' == 'cpu'
FAILED rbc/tests/test_omnisci_device_selection.py::test_device_selection_pair[rt-lt-udf/udf-any/any] - AssertionError: assert ('any', 'gpu') == ('any', 'cpu')
FAILED rbc/tests/test_omnisci_device_selection.py::test_device_selection_pair[ct-lt-udf/udf-any/any] - AssertionError: assert ('gpu', 'gpu') == ('gpu', 'cpu')
FAILED rbc/tests/test_omnisci_device_selection.py::test_device_selection_pair[lt-rt-udf/udf-any/any] - AssertionError: assert ('gpu', 'any') == ('cpu', 'any')
FAILED rbc/tests/test_omnisci_device_selection.py::test_device_selection_pair[lt-rt-udf/udf-any/gpu] - AssertionError: assert ('gpu', 'gpu') == ('cpu', 'gpu')
FAILED rbc/tests/test_omnisci_device_selection.py::test_device_selection_pair[lt-rt-udf/udf-any/both] - AssertionError: assert ('gpu', 'gpu') == ('cpu', 'gpu')
FAILED rbc/tests/test_omnisci_device_selection.py::test_device_selection_pair[lt-ct-udf/udf-any/any] - AssertionError: assert ('gpu', 'gpu') == ('cpu', 'gpu')
FAILED rbc/tests/test_omnisci_device_selection.py::test_device_selection_pair[lt-ct-udf/udf-any/gpu] - AssertionError: assert ('gpu', 'gpu') == ('cpu', 'gpu')
FAILED rbc/tests/test_omnisci_device_selection.py::test_device_selection_pair[lt-ct-udf/udf-any/both] - AssertionError: assert ('gpu', 'gpu') == ('cpu', 'gpu')
FAILED rbc/tests/test_omnisci_device_selection.py::test_device_selection_pair[lt-lt-udf/udf-any/any] - AssertionError: assert ('gpu', 'gpu') == ('cpu', 'cpu')
FAILED rbc/tests/test_omnisci_device_selection.py::test_device_selection_pair[lt-lt-udf/udf-any/gpu] - AssertionError: assert ('gpu', 'gpu') == ('cpu', 'gpu')
FAILED rbc/tests/test_omnisci_device_selection.py::test_device_selection_pair[lt-lt-udf/udf-any/both] - AssertionError: assert ('gpu', 'gpu') == ('cpu', 'gpu')
=========================================================== 12 failed, 1639 passed, 106 skipped, 13 xfailed, 241 warnings in 13

The server start (bin/omnisci_server --enable-runtime-udf --enable-dev-table-functions --udf ../Tests/Udf/device_selection_samples.cpp --log-channels PTX,IR --log-severity-clog=WARNING --num-executors=4) reports:

error: cannot find libdevice for sm_75. Provide path to different CUDA installation via --cuda-path, or pass -nocudalib to build without linking with libdevice.

An omniscdb server built with llvm 11 does not have this issue:

================================================================ 1651 passed, 106 skipped, 13 xfailed, 241 warnings in 1288.95s (0:21:28)
@pearu pearu added bug Something isn't working heavydb Related to heavydb server labels Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working heavydb Related to heavydb server
Projects
None yet
Development

No branches or pull requests

1 participant