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