/usr/lib/openturns/examples/README is in openturns-examples 0.15-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | Open TURNS examples README file
===============================
This directory contains many examples that may help you learning how to use Open TURNS either in C++ or in Python.
You should find here:
- a 'configure' script
- a 'Makefile.in' makefile
- various C++ files, named t_XXX.cxx where XXX stands for the purpose of the test
- various similar Python files, named t_XXX.py
If you want to build and test them, you have to:
1. change to your own private directory. This many require that you first create a new one and then change to it.
2. call the 'configure' script from your private directory like this:
$ <example_prefix>/configure
where <example_prefix> is the path to the 'configure' script. This script will build the Makefile need by the next stage.
3. compile the tests in the usual way:
$ make
Here you are !
The scripts are built and you can test them:
$ ./t_XXX
where XXX is the name of the test you want to run.
But you may need to set LD_LIBRARY_PATH so the Open TURNS library (libOT.so) can be found:
$ LD_LIBRARY_PATH=<openturns_prefix>/lib/openturns ./t_XXX
Enjoy.
The Open TURNS core team.
|