Skip to content

Tutorial

Konstantinos Parasyris edited this page Nov 29, 2019 · 23 revisions

In this page we present a tutorial of FTI.

= Installation == Preparation

  1. Create FTI directory
mkdir FTI
cd FTI
  1. Create Installation Directory
mkdir install-fti
  1. Set enviromental variable to installation path
FTI_INSTALL_DIR=$PWD/install-fti
  1. Download FTI.
git clone https://github.com/leobago/fti 
  1. Change into base directory
cd fti
  1. Set Enviroment Variable to FTI root
FTI_ROOT=$PWD

== Configure and Install

  1. Create build directory and change into it
mkdir build
cd build
  1. Build FTI
cmake -DCMAKE_INSTALL_PREFIX:PATH=$(FTI_INSTALL_DIR) -DENABLE_TUTORIAL=1 ..
make
make install

The flag -DENABLE_TUTORIAL=1 besides building FTI, will also build the tutorial files

Executables, tutorial source code, and fti library files

The library is installed at the $FTI_INSTALL_DIR the source code of the FTI library is in ${FTI_ROOT}/src and the source code of the tutorial is under ${FTI_ROOT}/tutorial.