Users:HowToUseCarat/InstallationLinux

From Carat++ Public Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "This page shows how Carat++ can be compiled under a Linux environment. == Linux Version == In this installation guide Ubuntu 16.04 LTS is used. Carat++ installation was teste...")
 
Line 26: Line 26:
 
</pre>
 
</pre>
  
 +
== Get the source code ==
  
In this section we are going to go through the process of compiling a basic version of Kratos Multiphysics under linux environments. Specifically, we explain how to compile in Ubuntu 14.04 LTS, with the latest checked libraries. A basic knowledge of Linux is assumed ( execute commands, create directories, etc...)
+
To get the Carat++ source code navigate to the directory where you want to store the code, e.g.:
 +
<pre>
 +
~/software
 +
</pre>
 +
 
 +
Download the code with git. You need to log in wit your LDAP login:
 +
<pre>
 +
git clone [USERNAME]@129.187.141.105:/repos/carat.git
 +
</pre>
 +
 
 +
== Create directory for build and libraries ==
 +
Navigate to the carat root directory, previously downloaded:
 +
<pre>
 +
mkdir build
 +
</pre>
 +
Create a directory "build" and a directory "libs":
 +
<pre>
 +
mkdir libs
 +
</pre>

Revision as of 09:29, 11 January 2017

This page shows how Carat++ can be compiled under a Linux environment.

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




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