rbc
rbc copied to clipboard
omniscidb built with llvm9 leads to load-time UDF test failures
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)