Created
June 19, 2019 13:27
-
-
Save randyzwitch/9191e6218e47c5a81915937841ac7ca3 to your computer and use it in GitHub Desktop.
Compiling OmniSciDB for CentOS 7 with GPU support
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 --runtime=nvidia --rm nvidia/cuda:10.0-devel-centos7 bash | |
# update image | |
yum update -y && yum install git sudo -y | |
# clone project and download/install dependencies | |
git clone https://github.com/omnisci/omniscidb.git | |
bash /omniscidb/scripts/mapd-deps-prebuilt.sh | |
# load dependencies | |
source /etc/profile.d/modules.sh | |
module load cuda mapd-deps | |
# build project | |
mkdir -p /omniscidb/build && cd /omniscidb/build/ | |
cmake -DCMAKE_BUILD_TYPE=debug -DPREFER_STATIC_LIBS=on .. | |
make -j 4 | |
# run tests | |
make sanity_tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment