Brytlyt Testing

From Define Wiki
Revision as of 11:40, 26 February 2018 by K mouza (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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:

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