Salome HOME
4f2a18d32b0a1e225bca1c8ca79a55f59763a31a
[tools/simanio.git] / scripts / README
1 How to get and build SALOME-SIMAN code
2
3 1. Take SALOME-SIMAN code from CVS repository for SIMAN.
4 and the following modules "KERNEL GUI GEOM MED SMESH PYHELLO" like this
5
6 cvs -d :pserver:<user_name>@cvs.opencascade.com:/home/server/cvs/SIMAN checkout SIMANIO_SRC
7 cvs -d :pserver:<user_name>@cvs.opencascade.com:/home/server/cvs/KERNEL checkout -r <branch name> KERNEL_SRC
8 cvs -d :pserver:<user_name>@cvs.opencascade.com:/home/server/cvs/GUI checkout -r <branch name> GUI_SRC
9 cvs -d :pserver:<user_name>@cvs.opencascade.com:/home/server/cvs/GEOM checkout -r <branch name> GEOM_SRC
10 cvs -d :pserver:<user_name>@cvs.opencascade.com:/home/server/cvs/MED checkout -r <branch name> MED_SRC
11 cvs -d :pserver:<user_name>@cvs.opencascade.com:/home/server/cvs/SMESH checkout -r <branch name> SMESH_SRC
12 cvs -d :pserver:<user_name>@cvs.opencascade.com:/home/server/cvs/EXAMPLES checkout -r <branch name> PYHELLO1_SRC
13 (rename the directory PYHELLO1_SRC to PYHELLO_SRC)
14
15 where <branch name> is :
16 "BR_siman_phase1" if you are based on SALOME 6.5.0
17 "V7_siman" if you are based on SALOME 7.X
18
19 2. Copy the required WSO2 Web Services product : copy the folder wso2-wsf-cpp-2.1.0 (including source and binary build for correspondent target platforms) from SALOME-SIMAN binary delivery to the current build directory.
20 You can also build this product using provided product sources and documentation.
21
22 3. Copy the required scripts from SIMANIO_SRC/scripts directory to root directory (../..) and adjust them as necessary
23 build.sh - SALOME build script
24 env_build.sh - SALOME build environment
25 env_products.sh - SALOME run environment
26 env_build_mandiva-2010-64.sh - SALOME build environment for Mandriva 2010-64
27 env_products_mandriva-2010-64.sh - SALOME run environment for Mandriva 2010-64
28 README - this file
29 env_siman.sh - SIMAN (SIMANIO) build environment
30 siman_build.sh - SIMAN (SIMANIO) build script
31 castem_env_products.sh - CASTEM run environment
32 run_salome_siman.sh - the script used by SIMAN for SALOME running in the SIMAN mode
33
34 For Mandriva 2010-64 rename and use env_build_mandiva-2010-64.sh env_products_mandriva-2010-64.sh.
35 This README file is also delivered in SIMANIO_SRC/scripts directory
36
37 4. Build SIMANIO_SRC using these scripts as following :
38 . env_siman.sh 
39 ./siman_build.sh
40
41 5. Then build other required SALOME modules in usual manner 
42 for example, using the scripts provided with offical SALOME installation (env_build.sh, env_products.sh, build.sh)
43
44 Note :
45 To build SALOME in the mode with SIMAN the SIMANIO_ROOT_DIR variable has to be defined and points to directory containing the include files and the preliminarily built SIMANIO library.
46 It is used by configure in the conditional WITH_SIMANIO and CHECK_SIMANIO m4 check procedure.
47
48 The setting the SIMANIO_ROOT_DIR variable is provided by executing (. env_siman.sh) on the previous step and it is enough to build properly SALOME KERNEL with SIMAN.
49
50 It can be also achieved by usage of the configure option --with-simanio=$SIMANIO_ROOT_DIR.
51
52
53 Additionally the following SALOME modules (not currently impacted with SIMAN changes) can be also built to using in SIMAN project test cases.
54 "VISU PARAVIS YACS NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN"
55
56 6. Set SALOME runtime environment and Check runnability of SALOME in two modes - without and with SIMAN :
57 . env_siman.sh
58 runSalome
59 runSalome --siman