This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100% tests passed, 0 tests failed out of 14 | |
Label Time Summary: | |
sanity = 736.19 sec (14 tests) | |
Total Test time (real) = 736.20 sec | |
[100%] Built target sanity_tests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build OmniSci | |
mkdir /omniscidb/build && cd /omniscidb/build | |
cmake -DCMAKE_BUILD_TYPE=debug .. | |
make -j 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# check that nvidia-smi and nvcc present | |
root@f8939f380786:/# nvidia-smi | |
Fri Jan 18 17:22:08 2019 | |
+-----------------------------------------------------------------------------+ | |
| NVIDIA-SMI 415.27 Driver Version: 415.27 CUDA Version: 10.0 | | |
|-------------------------------+----------------------+----------------------+ | |
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | |
|===============================+======================+======================| | |
| 0 GeForce GTX 108... Off | 00000000:01:00.0 Off | N/A | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install nvidia-docker2 https://github.com/NVIDIA/nvidia-docker | |
# run image interactively | |
docker run -it --runtime=nvidia --rm nvidia/cuda:9.2-devel-ubuntu16.04 bash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100% tests passed, 0 tests failed out of 14 | |
Label Time Summary: | |
sanity = 358.99 sec (14 tests) | |
Total Test time (real) = 359.00 sec | |
[100%] Built target sanity_tests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#run from omniscidb/build directory | |
make sanity_tests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build OmniSci | |
mkdir /omniscidb/build && cd /omniscidb/build | |
cmake -DCMAKE_BUILD_TYPE=debug -DENABLE_CUDA=off .. | |
make -j 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# clone mapd-core and run dependency script | |
git clone https://github.com/omnisci/omniscidb.git | |
bash /omniscidb/scripts/mapd-deps-ubuntu1604.sh | |
source /usr/local/mapd-deps/mapd-deps.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# update image | |
apt update && apt upgrade -y | |
# sudo only needed because its used inside of dependency install script | |
# software-properties-common allows for add-apt-repository | |
# git needed for cloning mapd-core repo | |
apt install git sudo software-properties-common -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run image interactively | |
docker run -it amd64/ubuntu:16.04 bash |