Hanjun-Dai / sequence2vec

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sequence2vec

Prerequisites

Tested under Ubuntu 14.04

Download and install cuda from https://developer.nvidia.com/cuda-toolkit
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_8.0.44-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1404_8.0.44-1_amd64.deb
sudo apt-get update
sudo apt-get install cuda

in .bashrc, add the following path (suppose you installed to the default path)

export CUDA_HOME=/usr/local/cuda
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
Download and install intel mkl

in .bashrc, add the following path

source {path_to_your_intel_root/name_of_parallel_tool_box}/bin/psxevars.sh
export MKL_ROOT={path_to_your_intel_root}/mkl
Install cppformat (now called fmtlib)
check https://github.com/fmtlib/fmt for help

Build

make
Run Kd prediction
modify the configs in local_run.sh
./local_run.sh

About


Languages

Language:C++ 76.8%Language:Cuda 18.9%Language:C 3.4%Language:Shell 0.4%Language:Makefile 0.3%Language:MATLAB 0.2%