Skip to content
This repository has been archived by the owner on Oct 15, 2019. It is now read-only.

Install Minerva

Minjie Wang edited this page May 21, 2015 · 12 revisions

Install Minerva

Requirements and Dependencies

OS

Minerva is built and tested on Ubuntu 14.04.1 LTS, although it should also work on any *nix system, as long as you have the correct libraries installed.

Build

First please copy configure.in.example as configure.in. The core Minerva library only depends on

  • CUDA 6.5
  • cuDNN v2

, which should be specified by CUDA_ROOT and CUDNN_ROOT. After specifying the two variables, simply call

./build.sh

It will produce libminerva.so in release/lib folder.

More on build

Build C++ MNIST example

Specify BUILD_CXX_APPS=1 in configure.in. Then run ./build.sh. You could find binary mnist_mlp and mnist_cnn in release/apps folder. Follow this tutorial on how to run the example.

Build Owl module (python interface)

Specify BUILD_OWL=1 in configure.in. Then ./build.sh. It needs following three additional dependencies:

  • python-dev
  • numpy
  • cython

You could easily install them by package manager (apt-get on ubuntu) or tools like pip. You could test out whether owl module has been successfully built by (in main directory):

source owl_environ.sh
./run_owl_shell.sh

More build configurations could be found in configure.in.example.

Clone this wiki locally