1 ================================================================================
3 PAL/SALOME Installation Wizard
4 ================================================================================
8 1. Running of the Installation Wizard
11 2.1. Setting of the environment for SALOME
12 2.2. Launching of SALOME
15 3.1. Time required for the installation
17 3.3. Testing of the installed SALOME platform
19 4. How to build SALOME modules from sources
21 ================================================================================
23 1. Running of the Installation Wizard
25 You can run the Installation Wizard in two modes: batch and gui.
26 It's root directory contains python script runInstall:
28 [python] runInstall [-g|b] [-f <xml-file>] [-t <taget-dir>] [-tmp <tmp-dir>]
31 Runs the Installation Wizard in the GUI mode. In this case
32 only <xml-file> key is taken into account.
33 This option is used by default.
36 Runs the Installation Wizard in the batch mode.
39 The configuration file to be used by the Installation Wizard.
40 If this parameter is missed then the script tries to define
41 the Red Hat version and uses corresponding xml file.
42 For example, for the Red Hat 8.0 config_RedHat8_0.xml file
43 is supposed to be used by default. If the appropriate file
44 is not found, config.xml is used by default.
47 The target directory SALOME products to be installed to.
48 If used, overloads target directory, given in the
49 configuration xml file.
52 The directory, which is used to contain temporary files.
53 If used, overloads temporary directory, given in the
54 configuration xml file.
57 Prints help information.
59 For more detailed information about the Installation Wizard refer to the
60 readme.html file in the doc directory.
62 ================================================================================
66 This section describes how to run SALOME platform after its installation
67 with the Installation Wizard.
69 2.1. Setting of the environment for SALOME
71 Installation Wizard creates some environment files to simplify
72 the procedure of launching of SALOME. These shell scripts set all
73 necessary environment variables for all products you have installed.
75 * salome.csh + salome.sh in the KERNEL module's sources/binaries
77 * env_products.csh + env_products.sh in the target directory.
79 To set SALOME environment just type in the terminal window:
87 where <KERNEL_ROOT_DIR> is KERNEL binaries directory, e.g.
88 KERNEL_1.4.1 for the 1.4.1 version.
90 2.2. Launching of SALOME
92 After you set environment you can start SALOME. Go to the KERNEL
93 module's binaries directory (KERNEL_1.4.1/bin/salome for the version
94 1.4.1) by using of cd command and then type:
96 runSalome [<parameters>]
98 This will start SALOME according to the configuration parameters which
99 are described into salome.launch file, located in your home directory
100 ( $HOME/.salome/salome.launch ).
101 If this file does not exists, it is created on the first launch of
102 SALOME from <KERNEL_ROOT_DIR>/bin/salome/salome.launch.
104 You can modify SALOME launching options by editing salome.launch file:
111 <portkill>yes</portkill>
112 <killall>no</killall>
120 <containertype>...</containertype>
122 </Configuration-list>
124 Each parameter described in salome.launch file can be overrided by
125 using corresponding keys for runSalome script:
132 Start each server in its own xterm console window
134 Kill SALOME, running on the current port
136 Kill SALOME, running on all ports
137 --modules=<module>,<module>,...,<module>
138 Use module, possible values are GEOM, SMESH, VISU, MED, SUPERV
139 --containers=<container>,<container>,...<container>
140 Start container of type, possible values are cpp,python,superv
142 Note that there is no key which corresponds to the <plugin> tag.
143 This tag can be used currently only for SMESH module to point external
144 meshers plugins which should be loaded by SMESH dynamically.
145 Refer <SMESH_ROOT_DIR>/doc/salome/tui/SMESH/PluginMeshers.html
146 for more information om meshers plugins.
148 ================================================================================
150 3. Installation notes
152 3.1. Time required for the installation
154 Installation of all products which are necessary to build and
155 start SALOME is a time-consuming process and needs from the user to be
157 The quickest way to install SALOME is installation from the binaries.
158 In this mode the Installation Wizard just extracts all precompiled
159 products from the corresponding archives.
160 The installation from sources requires much more time than from
161 binaries because in this case the Installation Wizard extracts and
162 then builds each product using the product's own installation
164 The installation time also depends on the computer and platform used.
165 For example, to install SALOME on Pentium III-800, Linux Red Hat 8.0,
166 time of the installation is:
168 - from binaries: ~10 minutes;
169 - from sources: up to 7 hours.
173 The Installation Wizard displays the installation progress in the
174 corresponding windows (see readme.html). The Wizard uses a temporary
175 directory to store and build the products. During the installation
176 it produces some log files in this directory. If you suspect that
177 program hangs you can check the log files. These files have names
178 in capital letters like CONFIGURE.LOG, MAKE.LOG or MAKEINSTALL.LOG.
180 3.3. Testing of installed SALOME platform
182 There is a python script which allows to test shortly all SALOME
183 modules. This script can help to check if SALOME has been installed
185 To test SALOME platform, run SALOME desktop (see section 2), then
186 create a new study window (menu command 'File/New') and then type
187 in the study's python console window:
191 When running, the script loads diferent modules (Geometry, Mesh, Med,
192 Post-Pro and Supervisor) and tests different functionality of these
193 modules. You can watch script running progress in the python console
196 ================================================================================
198 4. How to build SALOME modules from sources
200 If you want to build SALOME modules from sources, install all products
201 necessary for the platform and then follow the scenario described below.
202 In the sample scenario it is supposed that you have installed SALOME
203 modules sources in the /home/salome directory. The name of each module's
204 sources directory depends on the version of the platform, for example,
205 KERNEL_SRC_1.4.1 for KERNEL module of PAL/SALOME version 1.4.1.
207 According to dependancies between SALOME modules, the order of compilation
208 and installation is following:
214 | |_ NETGENPLUGIN (optinal)
223 - go to KERNEL module's sources directory:
225 cd /home/salome/KERNEL_SRC_1.4.1
227 - set environment variables (use bash or csh script, depending on
232 - create a configuration script by typing
236 - go to the parent directory and create build directory:
241 - configure the sources and create Makefile files:
244 ../KERNEL_SRC_1.4.1/configure --prefix=/home/salome/KERNEL_install
246 Note, that --prefix option defines the directory where you want to install
247 KERNEL module after make install procedure.
248 More about certain module's configure options you can learn by typing
249 --help (-h) parameter.
251 - build and install KERNEL module:
256 After you have completed this scenario, KERNEL module is built and
257 installed into /home/salome/KERNEL_install directory.
262 export KERNEL_ROOT_DIR=/home/salome/KERNEL_install
264 export KERNEL_ROOT_DIR=/home/salome/KERNEL_build
265 (if make install is not done).
268 setenv KERNEL_ROOT_DIR /home/salome/KERNEL_install
270 setenv KERNEL_ROOT_DIR /home/salome/KERNEL_build
271 (if make install is not done).
273 - then repeat this scenario for other modules you want to build according
274 to modules dependancies.
276 ================================================================================