Skip to content

Instantly share code, notes, and snippets.

Randy Zwitch randyzwitch

Block or report user

Report or block randyzwitch

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@randyzwitch
randyzwitch / servers-blue-devils.json
Created Jun 5, 2019
OmniSci Solid Colormap with #0736a4 added
View servers-blue-devils.json
[
{
"customStyles": {
"colors": {
"solid": [
"#ea5545",
"#f46a9b",
"#ef9b20",
"#ede15b",
"#bdcf32",
View servers-solid-colormap.json
[
{
"customStyles": {
"colors": {
"solid": [
"#ea5545",
"#f46a9b",
"#ef9b20",
"#ede15b",
"#bdcf32",
@randyzwitch
randyzwitch / servers.json
Created May 31, 2019
Example servers.json file for custom colormaps in OmniSci Immerse
View servers.json
[
{
"customStyles": {
"colors": {
"solid": [
"#ea5545",
"#f46a9b",
"#ef9b20",
"#ede15b",
"#bdcf32",
View omniscidb-centos7-cpu-sanity-tests.sh
24: [ OK ] UDFCompilerTest.UdfQuery (1658 ms)
24: [----------] 3 tests from UDFCompilerTest (2012 ms total)
24:
24: [----------] Global test environment tear-down
24: [==========] 3 tests from 1 test case ran. (3412 ms total)
24: [ PASSED ] 3 tests.
18/18 Test #24: UdfTest .......................... Passed 3.56 sec
100% tests passed, 0 tests failed out of 18
@randyzwitch
randyzwitch / omniscidb-centos7-cpu.sh
Created May 30, 2019
Compiling OmniSciDB on CentOS 7 for CPU-only
View omniscidb-centos7-cpu.sh
# run image interactively
docker run -it centos bash
# update image
yum update -y && yum install git sudo -y
# clone repo and install build dependencies
git clone https://github.com/omnisci/omniscidb.git
bash /omniscidb/scripts/mapd-deps-prebuilt.sh
@randyzwitch
randyzwitch / omnisci_on_ubuntu18.04_gpu.sh
Last active May 16, 2019
Compiling OmniSci Core on Ubuntu 18.04 LTS with GPU support
View omnisci_on_ubuntu18.04_gpu.sh
# run image interactively
docker run -it --runtime=nvidia --rm nvidia/cuda:10.1-devel-ubuntu18.04 bash
# 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
@randyzwitch
randyzwitch / sanity-tests-1804.sh
Created Feb 8, 2019
Sanity Tests OmniSci Core
View sanity-tests-1804.sh
20: [----------] Global test environment tear-down
20: [==========] 2 tests from 1 test case ran. (0 ms total)
20: [ PASSED ] 2 tests.
16/16 Test #20: DateTimeUtilsTest ................ Passed 0.01 sec
100% tests passed, 0 tests failed out of 16
Label Time Summary:
sanity = 263.15 sec*proc (16 tests)
@randyzwitch
randyzwitch / ubuntu-1804.sh
Last active May 15, 2019
OmniSci Core CPU in Ubuntu 18.04 LTS Docker container
View ubuntu-1804.sh
# run image interactively
docker run -it amd64/ubuntu:18.04 bash
# 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
@randyzwitch
randyzwitch / run-tests-gpu.sh
Created Jan 18, 2019
Sanity test for OmniSci Core GPU compiling
View run-tests-gpu.sh
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
@randyzwitch
randyzwitch / compile-omnisci-gpu.sh
Last active May 15, 2019
Compile OmniSci with GPU support
View compile-omnisci-gpu.sh
# build OmniSci
mkdir /omniscidb/build && cd /omniscidb/build
cmake -DCMAKE_BUILD_TYPE=debug ..
make -j 4
You can’t perform that action at this time.