Salome HOME
Merge from V6_main 01/04/2013
[tools/yacsgen.git] / Examples / paco1 / README.txt
1 A C++ component dynamically loadable
2 =========================================
3
4 To build this example, modify the components.py file
5 to take into account your configuration.
6
7 1- your prerequisite file 
8 2- your KERNEL_ROOT_DIR
9 3- your PaCO++ installed
10
11 Then set the environment (including PYTHONPATH for YACGEN, ../.. from here and execute components.py ::
12
13   source <your prerequisite file>
14   python components.py
15
16 You should get a SALOME module in source form (cppcompos_SRC), its installation (install) and
17 a SALOME application (appli) composed of modules KERNEL, GUI, YACS and cppcompos.
18
19 To run a coupling:
20
21  1. start SALOME in background : ./appli/runAppli -t
22  2. start a SALOME session : ./appli/runSession
23  3. start YACS coupler with coupling file : driver coupling.xml
24  4. examine output files in /tmp
25  5. shutdown SALOME : shutdowSalome.py
26  6. exit session : CTRL-D (or exit)