Users:HowToUseCarat/InstallationLinux

From Carat++ Public Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
This page shows how Carat++ can be compiled under a Linux environment.
 
This page shows how Carat++ can be compiled under a Linux environment.
 +
The guide was tested with the following software versions:
 +
# Ubuntu 16.04 LTS
 +
# gcc 5.4.0
 +
# git 2.7.4
 +
# CMake 3.5.1
 +
# Boost 1.63.0
 +
# MKL ????
  
 
== Linux Version ==
 
== Linux Version ==
Line 38: Line 45:
 
</pre>
 
</pre>
  
== Create directory for build and libraries ==  
+
== Create directory for build and libraries ==
 +
 
Navigate to the carat root directory, previously downloaded:
 
Navigate to the carat root directory, previously downloaded:
 
<pre>
 
<pre>
Line 47: Line 55:
 
mkdir libs
 
mkdir libs
 
</pre>
 
</pre>
 +
 +
== CMake ==
 +
Install the latest CMake version
 +
<pre>
 +
sudo apt-get install cmake
 +
</pre>
 +
It is recommended to use a tool (in this guide ccmake is used) or to set all the compiler flags defined in the CMakeLists.txt:
 +
<pre>
 +
sudo apt-get install ccmake
 +
</pre>
 +
 +
== Boost ==
 +
Get the latest boost library from www.boost.org.

Revision as of 09:38, 11 January 2017

This page shows how Carat++ can be compiled under a Linux environment. The guide was tested with the following software versions:

  1. Ubuntu 16.04 LTS
  2. gcc 5.4.0
  3. git 2.7.4
  4. CMake 3.5.1
  5. Boost 1.63.0
  6. MKL ????

Contents

Linux Version

In this installation guide Ubuntu 16.04 LTS is used.

Carat++ installation was tested also under the following Linux distributions:

  1. Ubuntu 16.04 LTS
  2. Ubunut 14.04 LTS
  3. TODO please add more if you tested it there

Compiler

The compiler used in this guide is gcc 5.4.0.

Git

Git is used as version control system. It is needed to download the Carat++ source code. Check which version is installed:

git --version

If it is not installed yet, install the latest version:

sudo apt-get install git

Get the source code

To get the Carat++ source code navigate to the directory where you want to store the code, e.g.:

~/software

Download the code with git. You need to log in wit your LDAP login:

git clone [USERNAME]@129.187.141.105:/repos/carat.git

Create directory for build and libraries

Navigate to the carat root directory, previously downloaded:

mkdir build

Create a directory "build" and a directory "libs":

mkdir libs

CMake

Install the latest CMake version

sudo apt-get install cmake

It is recommended to use a tool (in this guide ccmake is used) or to set all the compiler flags defined in the CMakeLists.txt:

sudo apt-get install ccmake

Boost

Get the latest boost library from www.boost.org.





Whos here now:   Members 0   Guests 0   Bots & Crawlers 1
 
Personal tools
Content for Developers