Salome HOME
CCAR: add two examples with Code_Aster : ast1 and ast2
[tools/yacsgen.git] / Examples / ast2 / README.txt
1 A Code_Aster standalone component (in executable form)
2 ===========================================================
3
4 To build this example, modify the files components.py, fcompo/Makefile, myaster/config.txt, 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
11 Then set the environment (including PYTHONPATH for YACGEN, ../.. from here and execute components.py ::
12
13   source <your prerequisite file>
14
15 process components.py ::
16
17   python components.py
18
19 You should get a SALOME module in source form (pycompos_SRC), its installation (install) and
20 a SALOME application (appli) composed of modules KERNEL, GUI, YACS and pycompos.
21
22 Build the fcompo library ::
23
24   cd fcompo
25   make
26
27 Build the Code_Aster library ::
28
29   cd myaster
30   make
31
32 To run a coupling:
33
34  1. start SALOME in background : ./appli/runAppli -t
35  2. start a SALOME session : ./appli/runSession
36  3. start YACS coupler with coupling file : driver coupling.xml
37  4. examine output files in /tmp
38  5. shutdown SALOME : shutdowSalome.py
39  6. exit session : CTRL-D (or exit)