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