~ubuntu-branches/ubuntu/maverick/openturns/maverick

« back to all changes in this revision

Viewing changes to lib/m4/examples/README

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme
  • Date: 2008-11-18 06:32:22 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20081118063222-pa0qncclrerrqkg2
Tags: 0.12.2-1
* New upstream release
* Bug fix: "New upstream release available (0.12.2)", thanks to Jerome
  Robert (Closes: #506005).
* Applied patch by J. Robert.
* debian/control: build-depends on libxml2

Show diffs side-by-side

added added

removed removed

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