Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Compiling OmniSciDB for CentOS 7 with GPU support
# 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
You can’t perform that action at this time.