Salome HOME
Merge V9_dev branch into master
[tools/yacsgen.git] / Examples / ast1 / README.txt
1 A Code_Aster component dynamically loadable
2 ===============================================
3
4 To build this example, modify the files ../context.py, ../makefile.inc, fcompo/Makefile, myaster/Makefile
5 to take into account your configuration.
6
7 1- your prerequisite file 
8 2- your KERNEL_ROOT_DIR
9 3- your Code_Aster installation
10 4- your FORTRAN compiler
11
12 Then set the environment (including PYTHONPATH for YACSGEN, ../.. from here)::
13
14   source <your prerequisite file>
15
16 Build the fcompo library ::
17
18   cd fcompo
19   make
20
21 Build the Code_Aster library ::
22
23   cd myaster
24   make
25
26 process components.py ::
27
28   python components.py
29
30 You should get a SALOME module in source form (astmod_SRC), its installation (install) and
31 a SALOME application (appli) composed of modules KERNEL, GUI, YACS and the new module astmod.
32
33 To run a coupling:
34
35  1. start SALOME in background : ./appli/runAppli -t
36  2. start a SALOME session : ./appli/runSession
37  3. start YACS coupler with coupling file : driver coupling.xml
38  4. examine output files in /tmp
39  5. shutdown SALOME : shutdowSalome.py
40  6. exit session : CTRL-D (or exit)