Skip to content

Install

Luis Remis edited this page Feb 22, 2018 · 21 revisions

Dependencies

sudo apt-get install scons
sudo apt-get install libjsoncpp-dev
sudo apt-get install automake libtool curl make g++ unzip libgtest-dev
sudo apt-get install cmake wget zlib1g-dev libbz2-dev libssl-dev liblz4-dev
sudo apt-get install libtiff5-dev libjasper-dev libgtk-3-dev

// Also, install one of the following for MPI
sudo apt-get install libopenmpi-dev
sudo apt-get install mpich

External Libraries

protobuf

Google protobufs are used for serialize/deserialize messages. Default install location is /usr/local.

git clone https://github.com/google/protobuf.git
cd protobuf/
./autogen.sh
./configure
make && make check
sudo make install
sudo ldconfg

gtest (Google Test)

Used for the unit tests included in the test folder.

sudo apt-get install cmake
sudo apt-get install libgtest-dev

Unfortunately this doesn't actually install gtest; you need to do the following steps to get it to work correctly:

cd /usr/src/gtest/
sudo cmake CMakeLists.txt
sudo make
sudo cp *.a /usr/lib

valijson

This is a headers-only library, no compilation/installation necessary

git clone https://github.com/tristanpenman/valijson.git
cd valijson
cp include/* /usr/local/include

Persistent Memory Graph Database (PMGD)

Visual Compute Library

Requirement for Python Client

sudo apt-get install pip
pip install protobuf

Add VDMS Python module to PYPATH:
export PYTHONPATH="${PYTHONPATH}:<path_to_vdms>/python/vdms"
# Example:
export PYTHONPATH="${PYTHONPATH}:/opt/intel/vdms/python/vdms"

Compilation

git clone https://github.com/intellabs/vdms
// Or download a release.

cd vdms
scons [FLAGS]
Flag Explanation
--no-server Compiles client libraries (C++/Python) only. (will not compile neither server not tests)
--timing Compiles server with chronos for internal timing.
-jX Compiles in parallel, using X cores
INTEL_PATH=path Path to the root folder containing pmgd and vcl. Default is "./" which is pmgd and vcl inside VDMS-VDMS. Example: scons INTEL_PATH=/opt/intel/
Clone this wiki locally