Skip to content

Latest commit

 

History

History
70 lines (48 loc) · 1.77 KB

INSTALL.md

File metadata and controls

70 lines (48 loc) · 1.77 KB

INSTALL

To install Merlin, cd merlin and run the below steps:

  • Install some basic tools in Merlin
bash tools/compile_tools.sh
  • Install python dependencies
pip install -r requirements.txt

More advanced instructions

  1. go to tools/ and follow INSTALL instructions there.
  2. Merlin is coded in python and need third-party python libraries such as:

numpy, scipy, matplotlib, lxml

  • Usually shipped with your python packages
  • Available in Ubuntu packages

theano

bandmat

For running on NVIDIA GPU, you will need also CUDA

and you might want also CUDNN [optionnal]

Computational efficiency

  • Computationnal efficiency is obviously greatly improved using GPU.
  • It is also improved using the latest versions of theano and numpy.

Some Linux Instructions

For Ubuntu:

sudo apt-get install python-numpy python-scipy python-dev python-pip python-nose g++ libopenblas-dev git libc6-dev-i386 glibc-devel.i686 csh

For Fedora:

sudo yum install python-numpy python-scipy python-dev python-pip python-nose g++ libopenblas-dev git libc6-dev-i386 glibc-devel.i686 csh python-lxml libxslt-devel

Common libraries for both Ubuntu and Fedora:

sudo env "PATH=$PATH" pip install Theano
sudo env "PATH=$PATH" pip install matplotlib
sudo env "PATH=$PATH" pip install bandmat
sudo env "PATH=$PATH" pip install lxml

For all stand-alone machines:

  • If you are not a sudo user, this post may help you install Merlin.