1
Open TURNS examples README file
2
===============================
4
This directory contains many examples that may help you learning how to use Open TURNS either in C++ or in Python.
7
- a 'Makefile.in' makefile
8
- various C++ files, named t_XXX.cxx where XXX stands for the purpose of the test
9
- various similar Python files, named t_XXX.py
13
If you want to build and test them, you have to:
15
1. change to your own private directory. This many require that you first create a new one and then change to it.
17
2. call the 'configure' script from your private directory like this:
19
$ <example_prefix>/configure
21
where <example_prefix> is the path to the 'configure' script. This script will build the Makefile need by the next stage.
23
3. compile the tests in the usual way:
28
The scripts are built and you can test them:
32
where XXX is the name of the test you want to run.
34
But you may need to set LD_LIBRARY_PATH so the Open TURNS library (libOT.so) can be found:
36
$ LD_LIBRARY_PATH=<openturns_prefix>/lib/openturns ./t_XXX
39
The Open TURNS core team.