Salome HOME
4c786ab0b034d023adc255b92043e27c5b25c472
[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 Web Services product wso2-wsf-cpp-2.1.0_<platform>.tgz from SIMANIO_SRC to root directory (..) and unpack it :
20 wso2-wsf-cpp-2.1.0_debian60-64.tgz
21 wso2-wsf-cpp-2.1.0_mandriva_2010-64.tgz
22
23 3. Copy the required scripts from SIMANIO_SRC/scripts directory to root directory (../..) and adjust them as necessary
24 For Mandriva 2010-64 rename and use env_build_mandiva-2010-64.sh env_products_mandriva-2010-64.sh.
25 This README files is also delivered in SIMANIO_SRC/scripts directory
26
27 4. Build SIMANIO_SRC using these scripts as following :
28 . env_siman.sh 
29 ./siman_build.sh
30
31 5. Then build other required SALOME modules in usual manner 
32 for example, using the scripts provided with offical SALOME installation (env_build.sh, env_products.sh, build.sh)
33
34 Note :
35 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.
36 It is used by configure in the conditional WITH_SIMANIO and CHECK_SIMANIO m4 check procedure.
37
38 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.
39
40 It can be also achieved by usage of the configure option --with-simanio=$SIMANIO_ROOT_DIR.
41
42
43 Additionally the following SALOME modules (not currently impacted with SIMAN changes) can be also built to using in SIMAN project test cases.
44 "VISU PARAVIS YACS NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN"
45
46 6. Set SALOME runtime environment and Check runnability of SALOME in two modes - without and with SIMAN :
47 . env_siman.sh
48 runSalome
49 runSalome --siman