From 6b7edf9426324646c529cbac5b472b4426fb452d Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 24 Sep 2004 10:01:30 +0000 Subject: [PATCH] Update for version 2.1.0 --- README | 73 ++++++++++++++----------- config.xml | 98 ++++++++++++++++++++-------------- config_RedHat8_0.xml | 98 ++++++++++++++++++++-------------- config_RedHat8_0_with_Mesa.xml | 98 ++++++++++++++++++++-------------- 4 files changed, 220 insertions(+), 147 deletions(-) diff --git a/README b/README index 9436c9a..b91bb34 100644 --- a/README +++ b/README @@ -85,23 +85,26 @@ source salome.csh where is KERNEL binaries directory, e.g. - KERNEL_2.0.0 for the 2.0.0 version. + KERNEL_2.1.0 for the 2.1.0 version. 2.2. Launching of SALOME After you set environment you can start SALOME. Go to the KERNEL - module's binaries directory (KERNEL_2.0.0/bin/salome for the version - 2.0.0) by using of cd command and then type: + module's binaries directory (KERNEL_2.1.0/bin/salome for the version + 2.1.0) by using of cd command and then type: runSalome [] This will start SALOME according to the configuration parameters which are described into salome.launch file, located in your home directory - ( $HOME/.salome/salome.launch ). + ( $HOME/.salome_/salome.launch ), + where is number of PAL/SALOME version. + If this file does not exists, it is created on the first launch of SALOME from /bin/salome/salome.launch. - You can modify SALOME launching options by editing salome.launch file: + You can modify SALOME launching options by editing + salome_.launch file: @@ -116,9 +119,12 @@ - - ... - + + ... + + + ... + Each parameter described in salome.launch file can be overrided by @@ -135,9 +141,14 @@ --killall Kill SALOME, running on all ports --modules=,,..., - Use module, possible values are GEOM, SMESH, VISU, MED, SUPERV - --containers=,,... - Start container of type, possible values are cpp,python,superv + Use module(s), possible values are GEOM, SMESH, VISU, MED, SUPERV + --embedded=,,... + Start specified container(s) embedded in SALOME Session server + (i.e. running in the same process), possible values are registry, study, + moduleCatalog, cppContainer, pyContainer, supervContainer + --standalone=,,... + Start standalone container(s), possible values are registry, study, + moduleCatalog, cppContainer, pyContainer, supervContainer Note that there is no key which corresponds to the tag. This tag can be used currently only for SMESH module to point external @@ -175,7 +186,7 @@ directory to store and build the products. During the installation it produces some log files in this directory. If you suspect that program hangs you can check the log files. These files have names - in capital letters like CONFIGURE.LOG, MAKE.LOG or MAKEINSTALL.LOG. + in capital letters like CONFIGURE.LOG, MAKE.LOG, MAKEINSTALL.LOG, etc. 3.3. Testing of installed SALOME platform @@ -202,28 +213,30 @@ In the sample scenario it is supposed that you have installed SALOME modules sources in the /home/salome directory. The name of each module's sources directory depends on the version of the platform, for example, - KERNEL_SRC_2.0.0 for KERNEL module of PAL/SALOME version 2.0.0. + KERNEL_SRC_2.1.0 for KERNEL module of PAL/SALOME version 2.1.0. The order of compilation and installation should be performed in accordance with modules dependancies: - * GEOM : KERNEL - * MED : KERNEL - * SMESH : KERNEL, GEOM, MED - * VISU : KERNEL, MED - * SUPERV : KERNEL - * COMPONENT : KERNEL - * PYCALCULATOR : KERNEL - * NETGENPLUGIN : KERNEL, SMESH - - Note: NETGENPLUGIN is optional component. You may skip compiling it if - you do not plan to use NETGEN mesher algorithm. + * KERNEL -> no dependancies + * GEOM -> KERNEL + * MED -> KERNEL + * SMESH -> KERNEL, GEOM, MED + * VISU -> KERNEL, MED + * SUPERV -> KERNEL + * COMPONENT -> KERNEL + * PYCALCULATOR -> KERNEL + * NETGENPLUGIN -> KERNEL, SMESH + * GHS3DPLUGIN -> KERNEL, SMESH + + Note: NETGENPLUGIN, GHS3DPLUGIN are optional components. You may skip compiling them if + you do not plan to use NETGEN and/or GHS3D mesher algorithms. In general, each module (except KERNEL, of course) is optional for SALOME. If you do not need any module, just do not compile or install it. - go to KERNEL module's sources directory: - cd /home/salome/KERNEL_SRC_2.0.0 + cd /home/salome/KERNEL_SRC_2.1.0 - set environment variables (use bash or csh script, depending on your shell): @@ -242,7 +255,7 @@ - configure the sources and create Makefile files: cd KERNEL_build - ../KERNEL_SRC_2.0.0/configure --prefix=/home/salome/KERNEL_install + ../KERNEL_SRC_2.1.0/configure --prefix=/home/salome/KERNEL_install Note, that --prefix option defines the directory where you want to install KERNEL module after make install procedure. @@ -263,16 +276,16 @@ export KERNEL_ROOT_DIR=/home/salome/KERNEL_install or export KERNEL_ROOT_DIR=/home/salome/KERNEL_build - (if make install is not done). + (if make install step was not performed). * for csh: setenv KERNEL_ROOT_DIR /home/salome/KERNEL_install or setenv KERNEL_ROOT_DIR /home/salome/KERNEL_build - (if make install is not done). + (if make install step was not performed). - - then repeat this scenario for other modules you want to build according - to modules dependancies. + - then repeat this scenario for other modules you want to build in accordance + with modules dependancies. Note: if the compilation fails it may be caused by poor environment. In this case you should check that environment script you use (salome.csh diff --git a/config.xml b/config.xml index 655dd56..2a69b52 100644 --- a/config.xml +++ b/config.xml @@ -1,5 +1,5 @@ - + script="KERNEL_SRC_2.1.0.sh"/> + script="KERNEL_BIN_2.1.0.sh"/> + script="GEOM_SRC_2.1.0.sh"/> + script="GEOM_BIN_2.1.0.sh"/> + script="MED_SRC_2.1.0.sh"/> + script="MED_BIN_2.1.0.sh"/> + script="SMESH_SRC_2.1.0.sh"/> + script="SMESH_BIN_2.1.0.sh"/> + script="VISU_SRC_2.1.0.sh"/> + script="VISU_BIN_2.1.0.sh"/> + script="SUPERV_SRC_2.1.0.sh"/> + script="SUPERV_BIN_2.1.0.sh"/> + script="COMPONENT_SRC_2.1.0.sh"/> + script="COMPONENT_BIN_2.1.0.sh"/> + script="PYCALCULATOR_SRC_2.1.0.sh"/> + script="PYCALCULATOR_BIN_2.1.0.sh"/> + script="NETGENPLUGIN_SRC_2.1.0.sh"/> + script="NETGENPLUGIN_BIN_2.1.0.sh"/> + + diff --git a/config_RedHat8_0.xml b/config_RedHat8_0.xml index 655dd56..2a69b52 100644 --- a/config_RedHat8_0.xml +++ b/config_RedHat8_0.xml @@ -1,5 +1,5 @@ - + script="KERNEL_SRC_2.1.0.sh"/> + script="KERNEL_BIN_2.1.0.sh"/> + script="GEOM_SRC_2.1.0.sh"/> + script="GEOM_BIN_2.1.0.sh"/> + script="MED_SRC_2.1.0.sh"/> + script="MED_BIN_2.1.0.sh"/> + script="SMESH_SRC_2.1.0.sh"/> + script="SMESH_BIN_2.1.0.sh"/> + script="VISU_SRC_2.1.0.sh"/> + script="VISU_BIN_2.1.0.sh"/> + script="SUPERV_SRC_2.1.0.sh"/> + script="SUPERV_BIN_2.1.0.sh"/> + script="COMPONENT_SRC_2.1.0.sh"/> + script="COMPONENT_BIN_2.1.0.sh"/> + script="PYCALCULATOR_SRC_2.1.0.sh"/> + script="PYCALCULATOR_BIN_2.1.0.sh"/> + script="NETGENPLUGIN_SRC_2.1.0.sh"/> + script="NETGENPLUGIN_BIN_2.1.0.sh"/> + + diff --git a/config_RedHat8_0_with_Mesa.xml b/config_RedHat8_0_with_Mesa.xml index 56f6d86..088a22f 100644 --- a/config_RedHat8_0_with_Mesa.xml +++ b/config_RedHat8_0_with_Mesa.xml @@ -1,5 +1,5 @@ - + script="KERNEL_SRC_2.1.0.sh"/> + script="KERNEL_BIN_2.1.0.sh"/> + script="GEOM_SRC_2.1.0.sh"/> + script="GEOM_BIN_2.1.0.sh"/> + script="MED_SRC_2.1.0.sh"/> + script="MED_BIN_2.1.0.sh"/> + script="SMESH_SRC_2.1.0.sh"/> + script="SMESH_BIN_2.1.0.sh"/> + script="VISU_SRC_2.1.0.sh"/> + script="VISU_BIN_2.1.0.sh"/> + script="SUPERV_SRC_2.1.0.sh"/> + script="SUPERV_BIN_2.1.0.sh"/> + script="COMPONENT_SRC_2.1.0.sh"/> + script="COMPONENT_BIN_2.1.0.sh"/> + script="PYCALCULATOR_SRC_2.1.0.sh"/> + script="PYCALCULATOR_BIN_2.1.0.sh"/> + script="NETGENPLUGIN_SRC_2.1.0.sh"/> + script="NETGENPLUGIN_BIN_2.1.0.sh"/> + + -- 2.39.2