Difference between revisions of "Brytlyt Testing"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== Installation == Nvidia-docker will be needed to run our GPU software, link with installation instructions: https://github.com/NVIDIA/nvidia-docker/tree/1.0 I prepared 2 i...")
 
Line 3: Line 3:
 
Nvidia-docker will be needed to run our GPU software, link with installation instructions: https://github.com/NVIDIA/nvidia-docker/tree/1.0
 
Nvidia-docker will be needed to run our GPU software, link with installation instructions: https://github.com/NVIDIA/nvidia-docker/tree/1.0
  
I prepared 2 images, one with BrytlytDB cluster set for 1 gpu and another one with cluster for 2 GPU's:
+
I prepared 2 images, one with BrytlytDB cluster set for 1 gpu and another one with cluster for 2 GPU's. '''Note that you need a docker account with read access to the brytlyt repo to pull these images'''
 
<syntaxhighlight>
 
<syntaxhighlight>
 
nvidia-docker pull brytlytdb/test:1xp100
 
nvidia-docker pull brytlytdb/test:1xp100

Revision as of 11:43, 26 February 2018

Installation

Nvidia-docker will be needed to run our GPU software, link with installation instructions: https://github.com/NVIDIA/nvidia-docker/tree/1.0

I prepared 2 images, one with BrytlytDB cluster set for 1 gpu and another one with cluster for 2 GPU's. Note that you need a docker account with read access to the brytlyt repo to pull these images

nvidia-docker pull brytlytdb/test:1xp100
#and respectively:
nvidia-docker pull brytlytdb/test:2xp100

To launch BrytlytDB in the background run this 2 commands:

nvidia-docker run -di -p 5432:5432 --name=brytlyt brytlytdb/test:1xp100
nvidia-docker exec -di brytlyt /root/brytlyt start

They will start the container with BrytlytDB cluster in the background with port 5432 open, so that it can be accessed by any Postgres interface. To launch Postgres terminal from the container use:

nvidia-docker exec -ti brytlyt /usr/local/brytlyt/bin/psql brytlyt brytlyt

Here is a link to our database documentation and instruction on how to create tables that utilises GPU's, https://www.brytlyt.com/documentation/data-definition-ddl/tables/

Testing