Skip to content

Latest commit

 

History

History
75 lines (52 loc) · 2.15 KB

INSTALL.md

File metadata and controls

75 lines (52 loc) · 2.15 KB

Installation

Please ensure that CERE's dependencies are installed on your system:

Then run the following command inside CERE directory:

   $ ./autogen.sh
   $ ./configure --without-dragonegg
   $ make
   $ make install

In that case you will not be able to compile Fortran programs, since llvm 3.8 does not support Fortran code.

If needed, LLVM path, and gcc path can be configured with the following options:

   $ ./configure --with-llvm=<path to llvm install directory> \
                 --without-dragonegg \
                 CC=<path to gcc>

Once installation is over, we recommend that you run the test suite to ensure CERE works as expected on your system:

   $ make check

For example on an Ubuntu x86_64 14.04 release, you should use the following install procedure:

   $ wget http://llvm.org/releases/3.8.0/clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
       tar -xf clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
       export PATH=$PWD/clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-14.04/bin/:$PATH
       export LIBRARY_PATH=$PWD/clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-14.04/lib/:$LIBRARY_PATH
       export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

   $ sudo apt-get install autoconf automake build-essential libtool ruby-ronn \
       python python-matplotlib python-jinja2 python-pygraphviz python-pydot python-sklearn python-numpy \
       python-networkx python-pip google-perftools libgoogle-perftools-dev numactl dc libiomp-dev

   $ sudo ln -s /usr/lib/libiomp5.so /usr/lib/libomp.so

   $ sudo pip install pulp

   $ cd cere/
   $ ./autogen.sh
   $ ./configure --without-dragonegg
   $ make && make install
   $ make check