Building Anakin from Source

We've built and tested Anakin on CentOS 7.3. The other operating systems installation are coming soon.

Installation overview

Installing on CentOS

1. System requirements

  • make 3.82+
  • cmake 2.8.12+
  • gcc 4.8.2+
  • g++ 4.8.2+

2. Building Anakin for CPU-only

Not support yet.

3. Building Anakin with NVIDIA GPU Support

  • 3.1. Install dependences

  • 3.1.1 protobuf 3.4.0
    Download source from https://github.com/google/protobuf/releases/tag/v3.4.0

    tar -xzf protobuf-3.4.0.tar.gz
    $ cd protobuf-3.4.0
    $ ./autogen.sh
    $ ./configure
    $ make
    $ make check
    $ make install

    Check

    $ protoc --version

    Any problems for protobuf installation, Please see here

  • 3.1.2 CUDA Tookit

     # CUDNN
     export CUDNN_ROOT=/usr/local/cudnn_v7 # the path where your cuDNN installed.
     export LD_LIBRARY_PATH=${CUDNN_ROOT}/lib64:$LD_LIBRARY_PATH
     export CPLUS_INCLUDE_PATH=${CUDNN_ROOT}/include:$CPLUS_INCLUDE_PATH
    
      Don't forget to source your bashrc
    
  • 3.2. Compile Anakin

    $ git clone https:/xxxxx
    $ cd anakin
    $ mkdir build
    $ cd build
    $ cmake ..
    $ make

4. Building Anakin with AMD GPU Support

Coming soon..

Installing on Ubuntu

Coming soon..

Installing on ARM

Coming soon..

Verifying installation