cvs -d :pserver:<user_name>@cvs.opencascade.com:/home/server/cvs/MED checkout -r <branch name> MED_SRC
cvs -d :pserver:<user_name>@cvs.opencascade.com:/home/server/cvs/SMESH checkout -r <branch name> SMESH_SRC
cvs -d :pserver:<user_name>@cvs.opencascade.com:/home/server/cvs/EXAMPLES checkout -r <branch name> PYHELLO1_SRC
+(rename the directory PYHELLO1_SRC to PYHELLO_SRC)
where <branch name> is :
"BR_siman_phase1" if you are based on SALOME 6.5.0
wso2-wsf-cpp-2.1.0_mandriva_2010-64.tgz
3. Copy the required scripts from SIMANIO_SRC/scripts directory to root directory (../..) and adjust them as necessary
+For Mandriva 2010-64 rename and use env_build_mandiva-2010-64.sh env_products_mandriva-2010-64.sh.
This README files is also delivered in SIMANIO_SRC/scripts directory
4. Build SIMANIO_SRC using these scripts as following :
--- /dev/null
+##########################################################################
+# Functions exporta and exportp are used to append/prepend correspondingly
+# one directory or a set of directories separated by semicolon symbol (':')
+# to the environment variables like PATH, LD_LIBRARY_PATH, PYTHONPATH,
+# LD_RUN_PATH etc.
+# The main purpose is to replace default setenv command behavior:
+# exporta, exportp also remove duplicated entries, shortening in that way
+# the environment variables.
+# If some directory being added is already included into the variable
+# nothing is done for it.
+# Note, that these functions work some slower that setenv command itself.
+#
+#### cleandup ###
+# appends/prepends set of directories (second parameter)
+# to the another set of directories (first parameter) and
+# removes duplicated entries;
+# the third parameter defines the mode: 0 - append, 1 - prepend
+cleandup() {
+out_var=`echo $1 $2 | awk -v dir=$3 '{ \
+ na = split($2,a,":"); \
+ k1=0; \
+ bbb[k1++]=""; \
+ ccc[""]; \
+ if($1 != "<empty>") { \
+ nb = split($1,b,":"); \
+ for(i=1;i<=nb;i++) { \
+ if(!(b[i] in ccc) ) { \
+ ccc[b[i]]; \
+ bbb[k1++]=b[i]; \
+ }; \
+ }; \
+ }; \
+ k2=0; \
+ aaa[k2++]=""; \
+ for(i=1;i<=na;i++) { \
+ if(!(a[i] in ccc)) { \
+ ccc[a[i]]; \
+ aaa[k2++]=a[i]; \
+ }; \
+ }; \
+ ORS=":"; \
+ if(dir) { \
+ for(i=1;i<k2;i++) { \
+ print aaa[i]; \
+ } \
+ for(i=1;i<k1;i++) { \
+ print bbb[i]; \
+ } \
+ } \
+ else { \
+ for(i=1;i<k1;i++) { \
+ print bbb[i]; \
+ } \
+ for(i=1;i<k2;i++) { \
+ print aaa[i]; \
+ } \
+ } \
+ }' | sed -e 's/\(.*\):/\1/g'`
+echo $out_var
+}
+### exporta ###
+# appends directory or set of directories, separated by ':' (second parameter)
+# to the variable (first parameter)
+exporta () {
+xenv=`printenv $1`
+if [ -z "$xenv" ]; then xenv="<empty>"; fi
+out_var=`cleandup $xenv $2 0`
+export $1=$out_var
+}
+### exportp ###
+# prepends directory or set of directories, separated by ':' (second parameter)
+# to the variable (first parameter)
+exportp () {
+xenv=`printenv $1`
+if [ -z "$xenv" ]; then xenv="<empty>"; fi
+out_var=`cleandup $xenv $2 1`
+export $1=$out_var
+}
+###########################################################################
+
+#------ Setting products installation directory ------
+#export INST_ROOT=/dn40/PRODUCTS/salome/6.x/opt/DEBIAN.6.0.64/6.6.0
+export INST_ROOT=${PWD}
+
+### Variables for OCCT 653
+### Set this variable to 1 in order to use OCCT products from ${INST_ROOT}
+### Otherwise these products will be taken from other location (devenv)
+### Default value is 0
+if [ -z "$IN_PLACE_OCCT_PRODUCTS" ] ; then
+IN_PLACE_OCCT_PRODUCTS=1
+fi
+
+if [ "${IN_PLACE_OCCT_PRODUCTS}" != "1" ] ; then
+ if [ -f /dn40/PRODUCTS/salome/OCCT/salome650-occt-products/Debian60-64/env_products.sh ] ; then
+ . /dn40/PRODUCTS/salome/OCCT/salome650-occt-products/Debian60-64/env_products.sh
+ else
+ echo "ERROR: env file for CASCADE products is not found! Please contact maintenance team!"
+ fi
+fi
+
+#------ Environment switch: 0 for SALOME building, 1 for SALOME launching ------
+export ENV_FOR_LAUNCH=0
+
+#------ tcltk ------
+if [ "${IN_PLACE_OCCT_PRODUCTS}" = "1" ] ; then
+export TCLHOME=${INST_ROOT}/tcltk-8.5.8
+exportp PATH ${TCLHOME}/bin
+exportp LD_LIBRARY_PATH ${TCLHOME}/lib
+export TCLLIBPATH="${TCLHOME}/lib ${TCLHOME}/lib/tcl8.5 ${TCLHOME}/lib/tk8.5"
+fi
+##
+#------ tcltk_src ------
+# nothing to do
+##
+#------ Python ------
+export PYTHONROOT=${INST_ROOT}/Python-2.6.6
+export PYTHONHOME=$PYTHONROOT
+exportp PATH ${PYTHONROOT}/bin
+exportp LD_LIBRARY_PATH ${PYTHONROOT}/lib
+export PYTHON_VERSION=2.6
+export PYTHON_INCLUDE=${PYTHONROOT}/include/python${PYTHON_VERSION}
+exportp PYTHONPATH ${PYTHONROOT}/lib/python${PYTHON_VERSION}
+##
+#------ Python_src ------
+# nothing to do
+##
+#------ Qt ------
+export QTDIR=${INST_ROOT}/qt-4.6.3
+exportp PATH ${QTDIR}/bin
+exportp LD_LIBRARY_PATH ${QTDIR}/lib
+export QT_PLUGIN_PATH=${QTDIR}/plugins
+##
+#------ Qt_src ------
+# nothing to do
+##
+#------ Sip ------
+export SIPDIR=${INST_ROOT}/sip-4.13.2
+exportp PATH ${SIPDIR}/bin
+exportp PYTHONPATH ${SIPDIR}/lib/python${PYTHON_VERSION}/site-packages
+exportp LD_LIBRARY_PATH ${SIPDIR}/lib/python${PYTHON_VERSION}/site-packages
+##
+#------ Sip_src ------
+# nothing to do
+##
+#------ PyQt ------
+export PYQTDIR=${INST_ROOT}/PyQt-4.9.1
+export PYQT_SIPS=${PYQTDIR}/sip
+exportp PATH ${PYQTDIR}/bin
+exportp PYTHONPATH ${PYQTDIR}:${PYQTDIR}/PyQt4
+exportp LD_LIBRARY_PATH ${PYQTDIR}/PyQt4
+##
+#------ PyQt_src ------
+# nothing to do
+##
+#------ QScintilla ------
+export QSCINTILLA_DIR=${INST_ROOT}/QScintilla-2.6.1
+exportp LD_LIBRARY_PATH ${QSCINTILLA_DIR}/lib
+##
+#------ QScintilla_src ------
+# nothing to do
+##
+#------ boost ------
+export BOOSTDIR=${INST_ROOT}/boost-1.49.0
+exportp LD_LIBRARY_PATH ${BOOSTDIR}/lib
+exportp PATH ${BOOSTDIR}/include
+##
+#------ boost_src ------
+# nothing to do
+##
+#------ Swig ------
+export SWIG_ROOT=${INST_ROOT}/swig-1.3.40
+exportp PATH ${SWIG_ROOT}/bin
+export SWIG_LIB=${SWIG_ROOT}/share/swig/1.3.40
+##
+#------ Swig_src ------
+# nothing to do
+##
+#------ freetype ------
+if [ "${IN_PLACE_OCCT_PRODUCTS}" = "1" ] ; then
+export FREETYPEDIR=${INST_ROOT}/freetype-2.4.10
+exportp LD_LIBRARY_PATH ${FREETYPEDIR}/lib
+fi
+##
+#------ freetype_src ------
+# nothing to do
+##
+#------ ftgl ------
+if [ "${IN_PLACE_OCCT_PRODUCTS}" = "1" ] ; then
+export FTGLDIR=${INST_ROOT}/ftgl-2.1.3
+exportp PATH ${FTGLDIR}/bin
+exportp LD_LIBRARY_PATH ${FTGLDIR}/lib
+fi
+##
+#------ ftgl_src ------
+# nothing to do
+##
+#------ freeimage ------
+if [ "${IN_PLACE_OCCT_PRODUCTS}" = "1" ] ; then
+export FREEIMAGEDIR=${INST_ROOT}/freeimage-3.14.1
+exportp PATH ${FREEIMAGEDIR}/bin
+exportp LD_LIBRARY_PATH ${FREEIMAGEDIR}/lib
+fi
+##
+#------ freeimage_src ------
+# nothing to do
+##
+#------ cmake ------
+export CMAKEHOME=${INST_ROOT}/cmake-2.8.7
+exportp PATH ${CMAKEHOME}/bin
+##
+#------ cmake_src ------
+# nothing to do
+##
+#------ gl2ps ------
+if [ "${IN_PLACE_OCCT_PRODUCTS}" = "1" ] ; then
+export GL2PSHOME=${INST_ROOT}/gl2ps-1.3.5
+exportp PATH ${GL2PSHOME}/bin
+exportp LD_LIBRARY_PATH ${GL2PSHOME}/lib
+fi
+##
+#------ gl2ps_src ------
+# nothing to do
+##
+#------ tbb ------
+if [ "${IN_PLACE_OCCT_PRODUCTS}" = "1" ] ; then
+export TBBHOME=${INST_ROOT}/tbb30_018oss
+exportp PATH ${TBBHOME}/bin/intel64/cc4.1.0_libc2.4_kernel2.6.16.21
+exportp LD_LIBRARY_PATH ${TBBHOME}/lib/intel64/cc4.1.0_libc2.4_kernel2.6.16.21
+fi
+##
+#------ tbb_src ------
+# nothing to do
+##
+#------ OpenCascade ------
+if [ "${IN_PLACE_OCCT_PRODUCTS}" = "1" ] ; then
+export CASROOT=${INST_ROOT}/OCCT-6.5.4
+exportp PATH ${CASROOT}/bin
+exportp LD_LIBRARY_PATH ${CASROOT}/lib:${CASROOT}/lin/lib
+# Variable for Foundation Classes :
+export CSF_UnitsLexicon=${CASROOT}/src/UnitsAPI/Lexi_Expr.dat
+export CSF_UnitsDefinition=${CASROOT}/src/UnitsAPI/Units.dat
+# Variable for DataExchange :
+export CSF_SHMessage=${CASROOT}/src/SHMessage
+export CSF_XSMessage=${CASROOT}/src/XSMessage
+# Variable for Font :
+export CSF_MDTVFontDirectory=${CASROOT}/src/FontMFT
+export CSF_MDTVTexturesDirectory=${CASROOT}/src/Textures
+# Activation of OCCT Kernel multithreading :
+export MMGT_REENTRANT=1
+##
+#------ OpenCascade_src ------
+# nothing to do
+fi
+##
+#------ Qwt ------
+export QWTHOME=${INST_ROOT}/qwt-5.2.1
+exportp LD_LIBRARY_PATH ${QWTHOME}/lib
+##
+#------ Qwt_src ------
+# nothing to do
+##
+#------ OmniORB ------
+export OMNIORBDIR=${INST_ROOT}/omniORB-4.1.6
+export OMNIORB_DIR=${OMNIORBDIR}
+export OMNIORB_CONFIG=${OMNIORBDIR}/.omniORB.cfg
+exportp PYTHONPATH ${OMNIORBDIR}/lib:${OMNIORBDIR}/lib/python${PYTHON_VERSION}/site-packages
+exportp PATH $OMNIORBDIR/bin
+exportp LD_LIBRARY_PATH $OMNIORBDIR/lib
+##
+#------ OmniORB_src ------
+# nothing to do
+##
+#------ Hdf5 ------
+export HDF5HOME=${INST_ROOT}/hdf5-1.8.8
+exportp PATH ${HDF5HOME}/bin
+exportp LD_LIBRARY_PATH ${HDF5HOME}/lib
+##
+#------ Hdf5_src ------
+# nothing to do
+##
+#------ cgnslib ------
+export CGNSHOME=${INST_ROOT}/cgnslib-3.1.3
+exportp PATH ${CGNSHOME}/bin
+exportp LD_LIBRARY_PATH ${CGNSHOME}/lib
+##
+#------ cgnslib_src ------
+# nothing to do
+##
+#------ Med ------
+export MED3HOME=${INST_ROOT}/med-3.0.6
+exportp PATH ${MED3HOME}/bin
+exportp LD_LIBRARY_PATH ${MED3HOME}/lib
+##
+#------ Med_src ------
+# nothing to do
+##
+#------ Metis ------
+export METISDIR=${INST_ROOT}/metis-4.0
+##
+#------ Metis_src ------
+# nothing to do
+##
+#------ Scotch ------
+export SCOTCHDIR=${INST_ROOT}/scotch-5.1.11
+##
+#------ Scotch_src ------
+# nothing to do
+##
+#------ ParaView ------
+export PVHOME=${INST_ROOT}/ParaView-3.14.0
+exportp PATH ${PVHOME}/bin
+exportp LD_LIBRARY_PATH ${PVHOME}/lib/paraview-3.14
+exportp PYTHONPATH ${PVHOME}/lib/paraview-3.14:${PVHOME}/lib/paraview-3.14/site-packages:${PVHOME}/lib/paraview-3.14/site-packages/paraview
+export VTK_DIR=${PVHOME}/lib/paraview-3.14
+export PV_PLUGIN_PATH=${PVHOME}/lib/paraview-3.14
+##
+#------ ParaView_src ------
+# nothing to do
+##
+#------ numpy ------
+exportp PYTHONPATH ${INST_ROOT}/numpy-1.5.1/lib/python${PYTHON_VERSION}/site-packages
+exportp PATH ${INST_ROOT}/numpy-1.5.1/bin
+exportp LD_LIBRARY_PATH ${INST_ROOT}/numpy-1.5.1/lib
+##
+#------ numpy_src ------
+# nothing to do
+##
+#------ expat ------
+export EXPAT_ROOT=${INST_ROOT}/expat-2.0.1
+exportp PATH ${EXPAT_ROOT}/bin
+exportp LD_LIBRARY_PATH ${EXPAT_ROOT}/lib
+##
+#------ expat_src ------
+# nothing to do
+##
+#------ Graphviz ------
+export GRAPHVIZHOME=${INST_ROOT}/graphviz-2.28.0
+exportp PATH ${GRAPHVIZHOME}/bin
+exportp LD_LIBRARY_PATH ${GRAPHVIZHOME}/lib:${GRAPHVIZHOME}/lib/graphviz
+##
+#------ Graphviz_src ------
+# nothing to do
+##
+#------ Doxygen ------
+exportp PATH ${INST_ROOT}/doxygen-1.8.0/bin
+##
+#------ Doxygen_src ------
+# nothing to do
+##
+#------ docutils ------
+exportp PYTHONPATH ${INST_ROOT}/docutils-0.8.1/lib/python${PYTHON_VERSION}/site-packages
+exportp PATH ${INST_ROOT}/docutils-0.8.1/bin
+##
+#------ docutils_src ------
+# nothing to do
+##
+#------ Sphinx ------
+exportp PYTHONPATH ${INST_ROOT}/Sphinx-1.1.3/lib/python${PYTHON_VERSION}/site-packages
+exportp PATH ${INST_ROOT}/Sphinx-1.1.3/bin
+##
+#------ Sphinx_src ------
+# nothing to do
+##
+#------ libxml2 ------
+#export LIBXML_DIR=${INST_ROOT}/libxml2-2.7.8
+#exportp PATH ${LIBXML_DIR}/bin
+#exportp LD_LIBRARY_PATH ${LIBXML_DIR}/lib
+##
+#------ libxml2_src ------
+# nothing to do
+##
+#------ netgen ------
+if [ "${IN_PLACE_OCCT_PRODUCTS}" = "1" ] ; then
+export NETGENHOME=${INST_ROOT}/netgen-4.9.13
+exportp LD_LIBRARY_PATH ${NETGENHOME}/lib
+fi
+##
+#------ netgen_src ------
+# nothing to do
+##
+#------ DISTENE ------
+export DISTENE_HOME=${INST_ROOT}/DISTENE
+export MESHGEMSHOME=${DISTENE_HOME}/MeshGems-1.0/Products
+exportp LD_LIBRARY_PATH ${MESHGEMSHOME}/lib/Linux_64
+exportp PATH ${MESHGEMSHOME}/bin/Linux_64
+export HEXOTIC_HOME=${DISTENE_HOME}/Hexotic-1.0
+exportp PATH ${HEXOTIC_HOME}/bin/Linux_64
+. ${DISTENE_HOME}/DLim/dlim8.var.sh
+##
+#------ DISTENE_src ------
+# nothing to do
+##
+#------ homard ------
+export homard_HOME=${INST_ROOT}/homard
+exportp PATH ${homard_HOME}/HOMARD_V10.4_64
+##
+#------ homard_src ------
+# nothing to do
+##
+#==============================================================================
+#==============================================================================
+#==============================================================================
+
+export vx=""
+if [ -e KERNEL_SRC/configure.ac ] ; then
+ vx=`grep -e "^AC_INIT" KERNEL_SRC/configure.ac | sed -e "s%.*\[\([[:digit:].]*\)\].*%\1%g"`
+elif [ -e KERNEL_SRC/configure.in.base ] ; then
+ vx=`grep -e "^VERSION=" KERNEL_SRC/configure.in.base | awk -F= '{ if (NF>1) print $NF; }' | tr -d '[:space:]'`
+ if [ "$vx" == "" ] ; then
+ >vx=`grep -e "^AC_INIT" KERNEL_SRC/configure.in.base | sed -e "s%.*\[\([[:digit:].]*\)\].*%\1%g"`
+ fi
+elif [ -e KERNEL_SRC/CMakeLists.txt ] ; then
+ ver_maj=`cat KERNEL_SRC/CMakeLists.txt | grep SET\(VERSION_MAJOR | sed -e "s%[A-Z_() ]%%g"`
+ ver_min=`cat KERNEL_SRC/CMakeLists.txt | grep SET\(VERSION_MINOR | sed -e "s%[A-Z_() ]%%g"`
+ ver_maintenance=`cat KERNEL_SRC/CMakeLists.txt | grep SET\(VERSION_MAINTENANCE | sed -e "s%[A-Z_() ]%%g"`
+ vx="${ver_maj}.${ver_min}.${ver_maintenance}"
+fi
+if [ "$vx" != "" ] ; then
+ vx="_$vx"
+fi
+
+#echo vx ================== ${vx}
+#exit
+
+#------ KERNEL ------
+export KERNEL_ROOT_DIR=${INST_ROOT}/KERNEL${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${KERNEL_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${KERNEL_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${KERNEL_ROOT_DIR}/bin/salome:${KERNEL_ROOT_DIR}/lib/salome:${KERNEL_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ KERNEL_src ------
+export KERNEL_SRC_DIR=${INST_ROOT}/KERNEL_SRC
+##
+#------ GUI ------
+export GUI_ROOT_DIR=${INST_ROOT}/GUI${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${GUI_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${GUI_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${GUI_ROOT_DIR}/bin/salome:${GUI_ROOT_DIR}/lib/salome:${GUI_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ export VTK_AUTOLOAD_PATH=${GUI_ROOT_DIR}/lib/paraview
+ fi
+fi
+##
+#------ GUI_src ------
+export GUI_SRC_DIR=${INST_ROOT}/GUI_SRC
+##
+#------ GEOM ------
+export GEOM_ROOT_DIR=${INST_ROOT}/GEOM${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${GEOM_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${GEOM_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${GEOM_ROOT_DIR}/bin/salome:${GEOM_ROOT_DIR}/lib/salome:${GEOM_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ GEOM_src ------
+export GEOM_SRC_DIR=${INST_ROOT}/GEOM_SRC
+##
+#------ MED ------
+export MED_ROOT_DIR=${INST_ROOT}/MED${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${MED_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${MED_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${MED_ROOT_DIR}/bin/salome:${MED_ROOT_DIR}/lib/salome:${MED_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ export AM2CMAKE_FORCE_GENERATION=1
+ fi
+fi
+##
+#------ MED_src ------
+export MED_SRC_DIR=${INST_ROOT}/MED_SRC
+##
+#------ SMESH ------
+export SMESH_ROOT_DIR=${INST_ROOT}/SMESH${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${SMESH_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${SMESH_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${SMESH_ROOT_DIR}/bin/salome:${SMESH_ROOT_DIR}/lib/salome:${SMESH_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ SMESH_src ------
+export SMESH_SRC_DIR=${INST_ROOT}/SMESH_SRC
+##
+#------ VISU ------
+export VISU_ROOT_DIR=${INST_ROOT}/VISU${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${VISU_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${VISU_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${VISU_ROOT_DIR}/bin/salome:${VISU_ROOT_DIR}/lib/salome:${VISU_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ VISU_src ------
+export VISU_SRC_DIR=${INST_ROOT}/VISU_SRC
+##
+#------ PARAVIS ------
+export PARAVIS_ROOT_DIR=${INST_ROOT}/PARAVIS${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${PARAVIS_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${PARAVIS_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${PARAVIS_ROOT_DIR}/bin/salome:${PARAVIS_ROOT_DIR}/lib/salome:${PARAVIS_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ export PV_PLUGIN_PATH=${PARAVIS_ROOT_DIR}/lib/paraview:${PV_PLUGIN_PATH}
+ fi
+fi
+##
+#------ PARAVIS_src ------
+export PARAVIS_SRC_DIR=${INST_ROOT}/PARAVIS_SRC
+export ACCEPT_PARAVIS_WARNINGS=1
+##
+#------ HEXABLOCK ------
+export HEXABLOCK_ROOT_DIR=${INST_ROOT}/HEXABLOCK${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${HEXABLOCK_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${HEXABLOCK_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${HEXABLOCK_ROOT_DIR}/bin/salome:${HEXABLOCK_ROOT_DIR}/lib/salome:${HEXABLOCK_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ HEXABLOCK_src ------
+export HEXABLOCK_SRC_DIR=${INST_ROOT}/HEXABLOCK_SRC
+##
+#------ HEXABLOCKPLUGIN ------
+export HEXABLOCKPLUGIN_ROOT_DIR=${INST_ROOT}/HEXABLOCKPLUGIN${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp LD_LIBRARY_PATH ${HEXABLOCKPLUGIN_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${HEXABLOCKPLUGIN_ROOT_DIR}/lib/salome:${HEXABLOCKPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ HEXABLOCKPLUGIN_src ------
+export HEXABLOCKPLUGIN_SRC_DIR=${INST_ROOT}/HEXABLOCKPLUGIN_SRC
+##
+#------ NETGENPLUGIN ------
+export NETGENPLUGIN_ROOT_DIR=${INST_ROOT}/NETGENPLUGIN${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp LD_LIBRARY_PATH ${NETGENPLUGIN_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${NETGENPLUGIN_ROOT_DIR}/lib/salome:${NETGENPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ NETGENPLUGIN_src ------
+export NETGENPLUGIN_SRC_DIR=${INST_ROOT}/NETGENPLUGIN_SRC
+##
+#------ GHS3DPLUGIN ------
+export GHS3DPLUGIN_ROOT_DIR=${INST_ROOT}/GHS3DPLUGIN${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp LD_LIBRARY_PATH ${GHS3DPLUGIN_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${GHS3DPLUGIN_ROOT_DIR}/lib/salome:${GHS3DPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ GHS3DPLUGIN_src ------
+export GHS3DPLUGIN_SRC_DIR=${INST_ROOT}/GHS3DPLUGIN_SRC
+##
+#------ GHS3DPRLPLUGIN ------
+export GHS3DPRLPLUGIN_ROOT_DIR=${INST_ROOT}/GHS3DPRLPLUGIN${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${GHS3DPRLPLUGIN_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${GHS3DPRLPLUGIN_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${GHS3DPRLPLUGIN_ROOT_DIR}/bin/salome:${GHS3DPRLPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ GHS3DPRLPLUGIN_src ------
+export GHS3DPRLPLUGIN_SRC_DIR=${INST_ROOT}/GHS3DPRLPLUGIN_SRC
+##
+#------ BLSURFPLUGIN ------
+export BLSURFPLUGIN_ROOT_DIR=${INST_ROOT}/BLSURFPLUGIN${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${BLSURFPLUGIN_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${BLSURFPLUGIN_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${BLSURFPLUGIN_ROOT_DIR}/bin/salome:${BLSURFPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ BLSURFPLUGIN_src ------
+export BLSURFPLUGIN_SRC_DIR=${INST_ROOT}/BLSURFPLUGIN_SRC
+##
+#------ HexoticPLUGIN ------
+export HexoticPLUGIN_ROOT_DIR=${INST_ROOT}/HexoticPLUGIN${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${HexoticPLUGIN_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${HexoticPLUGIN_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${HexoticPLUGIN_ROOT_DIR}/bin/salome:${HexoticPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ HexoticPLUGIN_src ------
+export HexoticPLUGIN_SRC_DIR=${INST_ROOT}/HexoticPLUGIN_SRC
+##
+#------ COMPONENT ------
+export COMPONENT_ROOT_DIR=${INST_ROOT}/COMPONENT${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${COMPONENT_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${COMPONENT_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${COMPONENT_ROOT_DIR}/bin/salome:${COMPONENT_ROOT_DIR}/lib/salome:${COMPONENT_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ COMPONENT_src ------
+export COMPONENT_SRC_DIR=${INST_ROOT}/COMPONENT_SRC
+##
+#------ PYCALCULATOR ------
+export PYCALCULATOR_ROOT_DIR=${INST_ROOT}/PYCALCULATOR${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${PYCALCULATOR_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${PYCALCULATOR_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${PYCALCULATOR_ROOT_DIR}/bin/salome:${PYCALCULATOR_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ PYCALCULATOR_src ------
+export PYCALCULATOR_SRC_DIR=${INST_ROOT}/PYCALCULATOR_SRC
+##
+#------ CALCULATOR ------
+export CALCULATOR_ROOT_DIR=${INST_ROOT}/CALCULATOR${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${CALCULATOR_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${CALCULATOR_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${CALCULATOR_ROOT_DIR}/bin/salome:${CALCULATOR_ROOT_DIR}/lib/salome:${CALCULATOR_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ CALCULATOR_src ------
+export CALCULATOR_SRC_DIR=${INST_ROOT}/CALCULATOR_SRC
+##
+#------ HELLO ------
+export HELLO_ROOT_DIR=${INST_ROOT}/HELLO${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${HELLO_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${HELLO_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${HELLO_ROOT_DIR}/bin/salome:${HELLO_ROOT_DIR}/lib/salome:${HELLO_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ HELLO_src ------
+export HELLO_SRC_DIR=${INST_ROOT}/HELLO_SRC
+##
+#------ PYHELLO ------
+export PYHELLO_ROOT_DIR=${INST_ROOT}/PYHELLO${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${PYHELLO_ROOT_DIR}/bin/salome
+ exportp PYTHONPATH ${PYHELLO_ROOT_DIR}/bin/salome:${PYHELLO_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ PYHELLO_src ------
+export PYHELLO_SRC_DIR=${INST_ROOT}/PYHELLO_SRC
+##
+#------ ATOMGEN ------
+export ATOMGEN_ROOT_DIR=${INST_ROOT}/ATOMGEN${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${ATOMGEN_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${ATOMGEN_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${ATOMGEN_ROOT_DIR}/bin/salome:${ATOMGEN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ ATOMGEN_src ------
+export ATOMGEN_SRC_DIR=${INST_ROOT}/ATOMGEN_SRC
+##
+#------ ATOMSOLV ------
+export ATOMSOLV_ROOT_DIR=${INST_ROOT}/ATOMSOLV${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${ATOMSOLV_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${ATOMSOLV_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${ATOMSOLV_ROOT_DIR}/bin/salome:${ATOMSOLV_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ ATOMSOLV_src ------
+export ATOMSOLV_SRC_DIR=${INST_ROOT}/ATOMSOLV_SRC
+##
+#------ ATOMIC ------
+export ATOMIC_ROOT_DIR=${INST_ROOT}/ATOMIC${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${ATOMIC_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${ATOMIC_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${ATOMIC_ROOT_DIR}/bin/salome:${ATOMIC_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ ATOMIC_src ------
+export ATOMIC_SRC_DIR=${INST_ROOT}/ATOMIC_SRC
+##
+#------ LIGHT ------
+export LIGHT_ROOT_DIR=${INST_ROOT}/LIGHT${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp LD_LIBRARY_PATH ${LIGHT_ROOT_DIR}/lib/salome
+ fi
+fi
+##
+#------ LIGHT_src ------
+export LIGHT_SRC_DIR=${INST_ROOT}/LIGHT_SRC
+##
+#------ PYLIGHT ------
+export PYLIGHT_ROOT_DIR=${INST_ROOT}/PYLIGHT${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${PYLIGHT_ROOT_DIR}/bin/salome
+ exportp PYTHONPATH ${PYLIGHT_ROOT_DIR}/bin/salome
+ fi
+fi
+##
+#------ PYLIGHT_src ------
+export PYLIGHT_SRC_DIR=${INST_ROOT}/PYLIGHT_SRC
+##
+#------ RANDOMIZER ------
+export RANDOMIZER_ROOT_DIR=${INST_ROOT}/RANDOMIZER${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${RANDOMIZER_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${RANDOMIZER_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${RANDOMIZER_ROOT_DIR}/bin/salome:${RANDOMIZER_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ RANDOMIZER_src ------
+export RANDOMIZER_SRC_DIR=${INST_ROOT}/RANDOMIZER_SRC
+##
+#------ SIERPINSKY ------
+export SIERPINSKY_ROOT_DIR=${INST_ROOT}/SIERPINSKY${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${SIERPINSKY_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${SIERPINSKY_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${SIERPINSKY_ROOT_DIR}/bin/salome:${SIERPINSKY_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ SIERPINSKY_src ------
+export SIERPINSKY_SRC_DIR=${INST_ROOT}/SIERPINSKY_SRC
+##
+#------ YACS ------
+export YACS_ROOT_DIR=${INST_ROOT}/YACS${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${YACS_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${YACS_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${YACS_ROOT_DIR}/bin/salome:${YACS_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ YACS_src ------
+export YACS_SRC_DIR=${INST_ROOT}/YACS_SRC
+##
+#------ YACSGEN ------
+export YACSGEN_ROOT_DIR=${INST_ROOT}/YACSGEN${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PYTHONPATH ${YACSGEN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages
+ fi
+fi
+##
+#------ YACSGEN_src ------
+export YACSGEN_SRC_DIR=${INST_ROOT}/YACSGEN_SRC
+##
+#------ JOBMANAGER ------
+export JOBMANAGER_ROOT_DIR=${INST_ROOT}/JOBMANAGER${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${JOBMANAGER_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${JOBMANAGER_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${JOBMANAGER_ROOT_DIR}/bin/salome:${JOBMANAGER_ROOT_DIR}/lib/salome:${JOBMANAGER_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ JOBMANAGER_src ------
+export JOBMANAGER_SRC_DIR=${INST_ROOT}/JOBMANAGER_SRC
+##
+#------ SAMPLES_src ------
+export DATA_DIR=${INST_ROOT}/SAMPLES_SRC
+##
+#------ TUTORIAL_src ------
+##
+#------ HOMARD ------
+export HOMARD_ROOT_DIR=${INST_ROOT}/HOMARD${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${HOMARD_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${HOMARD_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${HOMARD_ROOT_DIR}/bin/salome:${HOMARD_ROOT_DIR}/lib/salome:${HOMARD_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ HOMARD_src ------
+export HOMARD_SRC_DIR=${INST_ROOT}/HOMARD_SRC
+##
+#------ xdata ------
+export XDATAROOT=${INST_ROOT}/xdata-0.9.3
+exportp PATH ${XDATAROOT}/bin
+exportp PYTHONPATH ${XDATAROOT}/lib/python${PYTHON_VERSION}/site-packages/xdata
+##
+#------ xdata_src ------
+# nothing to do
+##
+#------ HXX2SALOME ------
+export HXX2SALOME_ROOT_DIR=${INST_ROOT}/HXX2SALOME${vx}/bin
+exportp PATH ${HXX2SALOME_ROOT_DIR}
+##
+#------ HXX2SALOME_src ------
+# nothing to do
+##
+#------ HXX2SALOMEDOC ------
+#nothing to do
+##
+#------ HXX2SALOMEDOC_src ------
+# nothing to do
+##
+#------ DOCUMENTATION_src ------
+#nothing to do
+##
--- /dev/null
+##########################################################################
+# Functions exporta and exportp are used to append/prepend correspondingly
+# one directory or a set of directories separated by semicolon symbol (':')
+# to the environment variables like PATH, LD_LIBRARY_PATH, PYTHONPATH,
+# LD_RUN_PATH etc.
+# The main purpose is to replace default setenv command behavior:
+# exporta, exportp also remove duplicated entries, shortening in that way
+# the environment variables.
+# If some directory being added is already included into the variable
+# nothing is done for it.
+# Note, that these functions work some slower that setenv command itself.
+#
+#### cleandup ###
+# appends/prepends set of directories (second parameter)
+# to the another set of directories (first parameter) and
+# removes duplicated entries;
+# the third parameter defines the mode: 0 - append, 1 - prepend
+cleandup() {
+out_var=`echo $1 $2 | awk -v dir=$3 '{ \
+ na = split($2,a,":"); \
+ k1=0; \
+ bbb[k1++]=""; \
+ ccc[""]; \
+ if($1 != "<empty>") { \
+ nb = split($1,b,":"); \
+ for(i=1;i<=nb;i++) { \
+ if(!(b[i] in ccc) ) { \
+ ccc[b[i]]; \
+ bbb[k1++]=b[i]; \
+ }; \
+ }; \
+ }; \
+ k2=0; \
+ aaa[k2++]=""; \
+ for(i=1;i<=na;i++) { \
+ if(!(a[i] in ccc)) { \
+ ccc[a[i]]; \
+ aaa[k2++]=a[i]; \
+ }; \
+ }; \
+ ORS=":"; \
+ if(dir) { \
+ for(i=1;i<k2;i++) { \
+ print aaa[i]; \
+ } \
+ for(i=1;i<k1;i++) { \
+ print bbb[i]; \
+ } \
+ } \
+ else { \
+ for(i=1;i<k1;i++) { \
+ print bbb[i]; \
+ } \
+ for(i=1;i<k2;i++) { \
+ print aaa[i]; \
+ } \
+ } \
+ }' | sed -e 's/\(.*\):/\1/g'`
+echo $out_var
+}
+### exporta ###
+# appends directory or set of directories, separated by ':' (second parameter)
+# to the variable (first parameter)
+exporta () {
+xenv=`printenv $1`
+if [ -z "$xenv" ]; then xenv="<empty>"; fi
+out_var=`cleandup $xenv $2 0`
+export $1=$out_var
+}
+### exportp ###
+# prepends directory or set of directories, separated by ':' (second parameter)
+# to the variable (first parameter)
+exportp () {
+xenv=`printenv $1`
+if [ -z "$xenv" ]; then xenv="<empty>"; fi
+out_var=`cleandup $xenv $2 1`
+export $1=$out_var
+}
+###########################################################################
+
+#------ Setting products installation directory ------
+#export INST_ROOT=/dn40/PRODUCTS/salome/6.x/opt/DEBIAN.6.0.64/6.6.0
+export INST_ROOT=${PWD}
+
+### Variables for OCCT 653
+### Set this variable to 1 in order to use OCCT products from ${INST_ROOT}
+### Otherwise these products will be taken from other location (devenv)
+### Default value is 0
+if [ -z "$IN_PLACE_OCCT_PRODUCTS" ] ; then
+IN_PLACE_OCCT_PRODUCTS=1
+fi
+
+if [ "${IN_PLACE_OCCT_PRODUCTS}" != "1" ] ; then
+ if [ -f /dn40/PRODUCTS/salome/OCCT/salome650-occt-products/Debian60-64/env_products.sh ] ; then
+ . /dn40/PRODUCTS/salome/OCCT/salome650-occt-products/Debian60-64/env_products.sh
+ else
+ echo "ERROR: env file for CASCADE products is not found! Please contact maintenance team!"
+ fi
+fi
+
+#------ Environment switch: 0 for SALOME building, 1 for SALOME launching ------
+export ENV_FOR_LAUNCH=1
+
+#------ tcltk ------
+if [ "${IN_PLACE_OCCT_PRODUCTS}" = "1" ] ; then
+export TCLHOME=${INST_ROOT}/tcltk-8.5.8
+exportp PATH ${TCLHOME}/bin
+exportp LD_LIBRARY_PATH ${TCLHOME}/lib
+export TCLLIBPATH="${TCLHOME}/lib ${TCLHOME}/lib/tcl8.5 ${TCLHOME}/lib/tk8.5"
+fi
+##
+#------ tcltk_src ------
+# nothing to do
+##
+#------ Python ------
+export PYTHONROOT=${INST_ROOT}/Python-2.6.6
+export PYTHONHOME=$PYTHONROOT
+exportp PATH ${PYTHONROOT}/bin
+exportp LD_LIBRARY_PATH ${PYTHONROOT}/lib
+export PYTHON_VERSION=2.6
+export PYTHON_INCLUDE=${PYTHONROOT}/include/python${PYTHON_VERSION}
+exportp PYTHONPATH ${PYTHONROOT}/lib/python${PYTHON_VERSION}
+##
+#------ Python_src ------
+# nothing to do
+##
+#------ Qt ------
+export QTDIR=${INST_ROOT}/qt-4.6.3
+exportp PATH ${QTDIR}/bin
+exportp LD_LIBRARY_PATH ${QTDIR}/lib
+export QT_PLUGIN_PATH=${QTDIR}/plugins
+##
+#------ Qt_src ------
+# nothing to do
+##
+#------ Sip ------
+export SIPDIR=${INST_ROOT}/sip-4.13.2
+exportp PATH ${SIPDIR}/bin
+exportp PYTHONPATH ${SIPDIR}/lib/python${PYTHON_VERSION}/site-packages
+exportp LD_LIBRARY_PATH ${SIPDIR}/lib/python${PYTHON_VERSION}/site-packages
+##
+#------ Sip_src ------
+# nothing to do
+##
+#------ PyQt ------
+export PYQTDIR=${INST_ROOT}/PyQt-4.9.1
+export PYQT_SIPS=${PYQTDIR}/sip
+exportp PATH ${PYQTDIR}/bin
+exportp PYTHONPATH ${PYQTDIR}:${PYQTDIR}/PyQt4
+exportp LD_LIBRARY_PATH ${PYQTDIR}/PyQt4
+##
+#------ PyQt_src ------
+# nothing to do
+##
+#------ QScintilla ------
+export QSCINTILLA_DIR=${INST_ROOT}/QScintilla-2.6.1
+exportp LD_LIBRARY_PATH ${QSCINTILLA_DIR}/lib
+##
+#------ QScintilla_src ------
+# nothing to do
+##
+#------ boost ------
+export BOOSTDIR=${INST_ROOT}/boost-1.49.0
+exportp LD_LIBRARY_PATH ${BOOSTDIR}/lib
+exportp PATH ${BOOSTDIR}/include
+##
+#------ boost_src ------
+# nothing to do
+##
+#------ Swig ------
+export SWIG_ROOT=${INST_ROOT}/swig-1.3.40
+exportp PATH ${SWIG_ROOT}/bin
+export SWIG_LIB=${SWIG_ROOT}/share/swig/1.3.40
+##
+#------ Swig_src ------
+# nothing to do
+##
+#------ freetype ------
+if [ "${IN_PLACE_OCCT_PRODUCTS}" = "1" ] ; then
+export FREETYPEDIR=${INST_ROOT}/freetype-2.4.10
+exportp LD_LIBRARY_PATH ${FREETYPEDIR}/lib
+fi
+##
+#------ freetype_src ------
+# nothing to do
+##
+#------ ftgl ------
+if [ "${IN_PLACE_OCCT_PRODUCTS}" = "1" ] ; then
+export FTGLDIR=${INST_ROOT}/ftgl-2.1.3
+exportp PATH ${FTGLDIR}/bin
+exportp LD_LIBRARY_PATH ${FTGLDIR}/lib
+fi
+##
+#------ ftgl_src ------
+# nothing to do
+##
+#------ freeimage ------
+if [ "${IN_PLACE_OCCT_PRODUCTS}" = "1" ] ; then
+export FREEIMAGEDIR=${INST_ROOT}/freeimage-3.14.1
+exportp PATH ${FREEIMAGEDIR}/bin
+exportp LD_LIBRARY_PATH ${FREEIMAGEDIR}/lib
+fi
+##
+#------ freeimage_src ------
+# nothing to do
+##
+#------ cmake ------
+export CMAKEHOME=${INST_ROOT}/cmake-2.8.7
+exportp PATH ${CMAKEHOME}/bin
+##
+#------ cmake_src ------
+# nothing to do
+##
+#------ gl2ps ------
+if [ "${IN_PLACE_OCCT_PRODUCTS}" = "1" ] ; then
+export GL2PSHOME=${INST_ROOT}/gl2ps-1.3.5
+exportp PATH ${GL2PSHOME}/bin
+exportp LD_LIBRARY_PATH ${GL2PSHOME}/lib
+fi
+##
+#------ gl2ps_src ------
+# nothing to do
+##
+#------ tbb ------
+if [ "${IN_PLACE_OCCT_PRODUCTS}" = "1" ] ; then
+export TBBHOME=${INST_ROOT}/tbb30_018oss
+exportp PATH ${TBBHOME}/bin/intel64/cc4.1.0_libc2.4_kernel2.6.16.21
+exportp LD_LIBRARY_PATH ${TBBHOME}/lib/intel64/cc4.1.0_libc2.4_kernel2.6.16.21
+fi
+##
+#------ tbb_src ------
+# nothing to do
+##
+#------ OpenCascade ------
+if [ "${IN_PLACE_OCCT_PRODUCTS}" = "1" ] ; then
+export CASROOT=${INST_ROOT}/OCCT-6.5.4
+exportp PATH ${CASROOT}/bin
+exportp LD_LIBRARY_PATH ${CASROOT}/lib:${CASROOT}/lin/lib
+# Variable for Foundation Classes :
+export CSF_UnitsLexicon=${CASROOT}/src/UnitsAPI/Lexi_Expr.dat
+export CSF_UnitsDefinition=${CASROOT}/src/UnitsAPI/Units.dat
+# Variable for DataExchange :
+export CSF_SHMessage=${CASROOT}/src/SHMessage
+export CSF_XSMessage=${CASROOT}/src/XSMessage
+# Variable for Font :
+export CSF_MDTVFontDirectory=${CASROOT}/src/FontMFT
+export CSF_MDTVTexturesDirectory=${CASROOT}/src/Textures
+# Activation of OCCT Kernel multithreading :
+export MMGT_REENTRANT=1
+##
+#------ OpenCascade_src ------
+# nothing to do
+fi
+##
+#------ Qwt ------
+export QWTHOME=${INST_ROOT}/qwt-5.2.1
+exportp LD_LIBRARY_PATH ${QWTHOME}/lib
+##
+#------ Qwt_src ------
+# nothing to do
+##
+#------ OmniORB ------
+export OMNIORBDIR=${INST_ROOT}/omniORB-4.1.6
+export OMNIORB_DIR=${OMNIORBDIR}
+export OMNIORB_CONFIG=${OMNIORBDIR}/.omniORB.cfg
+exportp PYTHONPATH ${OMNIORBDIR}/lib:${OMNIORBDIR}/lib/python${PYTHON_VERSION}/site-packages
+exportp PATH $OMNIORBDIR/bin
+exportp LD_LIBRARY_PATH $OMNIORBDIR/lib
+##
+#------ OmniORB_src ------
+# nothing to do
+##
+#------ Hdf5 ------
+export HDF5HOME=${INST_ROOT}/hdf5-1.8.8
+exportp PATH ${HDF5HOME}/bin
+exportp LD_LIBRARY_PATH ${HDF5HOME}/lib
+##
+#------ Hdf5_src ------
+# nothing to do
+##
+#------ cgnslib ------
+export CGNSHOME=${INST_ROOT}/cgnslib-3.1.3
+exportp PATH ${CGNSHOME}/bin
+exportp LD_LIBRARY_PATH ${CGNSHOME}/lib
+##
+#------ cgnslib_src ------
+# nothing to do
+##
+#------ Med ------
+export MED3HOME=${INST_ROOT}/med-3.0.6
+exportp PATH ${MED3HOME}/bin
+exportp LD_LIBRARY_PATH ${MED3HOME}/lib
+##
+#------ Med_src ------
+# nothing to do
+##
+#------ Metis ------
+export METISDIR=${INST_ROOT}/metis-4.0
+##
+#------ Metis_src ------
+# nothing to do
+##
+#------ Scotch ------
+export SCOTCHDIR=${INST_ROOT}/scotch-5.1.11
+##
+#------ Scotch_src ------
+# nothing to do
+##
+#------ ParaView ------
+export PVHOME=${INST_ROOT}/ParaView-3.14.0
+exportp PATH ${PVHOME}/bin
+exportp LD_LIBRARY_PATH ${PVHOME}/lib/paraview-3.14
+exportp PYTHONPATH ${PVHOME}/lib/paraview-3.14:${PVHOME}/lib/paraview-3.14/site-packages:${PVHOME}/lib/paraview-3.14/site-packages/paraview
+export VTK_DIR=${PVHOME}/lib/paraview-3.14
+export PV_PLUGIN_PATH=${PVHOME}/lib/paraview-3.14
+##
+#------ ParaView_src ------
+# nothing to do
+##
+#------ numpy ------
+exportp PYTHONPATH ${INST_ROOT}/numpy-1.5.1/lib/python${PYTHON_VERSION}/site-packages
+exportp PATH ${INST_ROOT}/numpy-1.5.1/bin
+exportp LD_LIBRARY_PATH ${INST_ROOT}/numpy-1.5.1/lib
+##
+#------ numpy_src ------
+# nothing to do
+##
+#------ expat ------
+export EXPAT_ROOT=${INST_ROOT}/expat-2.0.1
+exportp PATH ${EXPAT_ROOT}/bin
+exportp LD_LIBRARY_PATH ${EXPAT_ROOT}/lib
+##
+#------ expat_src ------
+# nothing to do
+##
+#------ Graphviz ------
+export GRAPHVIZHOME=${INST_ROOT}/graphviz-2.28.0
+exportp PATH ${GRAPHVIZHOME}/bin
+exportp LD_LIBRARY_PATH ${GRAPHVIZHOME}/lib:${GRAPHVIZHOME}/lib/graphviz
+##
+#------ Graphviz_src ------
+# nothing to do
+##
+#------ Doxygen ------
+exportp PATH ${INST_ROOT}/doxygen-1.8.0/bin
+##
+#------ Doxygen_src ------
+# nothing to do
+##
+#------ docutils ------
+exportp PYTHONPATH ${INST_ROOT}/docutils-0.8.1/lib/python${PYTHON_VERSION}/site-packages
+exportp PATH ${INST_ROOT}/docutils-0.8.1/bin
+##
+#------ docutils_src ------
+# nothing to do
+##
+#------ Sphinx ------
+exportp PYTHONPATH ${INST_ROOT}/Sphinx-1.1.3/lib/python${PYTHON_VERSION}/site-packages
+exportp PATH ${INST_ROOT}/Sphinx-1.1.3/bin
+##
+#------ Sphinx_src ------
+# nothing to do
+##
+#------ libxml2 ------
+#export LIBXML_DIR=${INST_ROOT}/libxml2-2.7.8
+#exportp PATH ${LIBXML_DIR}/bin
+#exportp LD_LIBRARY_PATH ${LIBXML_DIR}/lib
+##
+#------ libxml2_src ------
+# nothing to do
+##
+#------ netgen ------
+if [ "${IN_PLACE_OCCT_PRODUCTS}" = "1" ] ; then
+export NETGENHOME=${INST_ROOT}/netgen-4.9.13
+exportp LD_LIBRARY_PATH ${NETGENHOME}/lib
+fi
+##
+#------ netgen_src ------
+# nothing to do
+##
+#------ DISTENE ------
+export DISTENE_HOME=${INST_ROOT}/DISTENE
+export MESHGEMSHOME=${DISTENE_HOME}/MeshGems-1.0/Products
+exportp LD_LIBRARY_PATH ${MESHGEMSHOME}/lib/Linux_64
+exportp PATH ${MESHGEMSHOME}/bin/Linux_64
+export HEXOTIC_HOME=${DISTENE_HOME}/Hexotic-1.0
+exportp PATH ${HEXOTIC_HOME}/bin/Linux_64
+. ${DISTENE_HOME}/DLim/dlim8.var.sh
+##
+#------ DISTENE_src ------
+# nothing to do
+##
+#------ homard ------
+export homard_HOME=${INST_ROOT}/homard
+exportp PATH ${homard_HOME}/HOMARD_V10.4_64
+##
+#------ homard_src ------
+# nothing to do
+##
+#==============================================================================
+#==============================================================================
+#==============================================================================
+
+export vx=""
+if [ -e KERNEL_SRC/configure.ac ] ; then
+ vx=`grep -e "^AC_INIT" KERNEL_SRC/configure.ac | sed -e "s%.*\[\([[:digit:].]*\)\].*%\1%g"`
+elif [ -e KERNEL_SRC/configure.in.base ] ; then
+ vx=`grep -e "^VERSION=" KERNEL_SRC/configure.in.base | awk -F= '{ if (NF>1) print $NF; }' | tr -d '[:space:]'`
+ if [ "$vx" == "" ] ; then
+ >vx=`grep -e "^AC_INIT" KERNEL_SRC/configure.in.base | sed -e "s%.*\[\([[:digit:].]*\)\].*%\1%g"`
+ fi
+elif [ -e KERNEL_SRC/CMakeLists.txt ] ; then
+ ver_maj=`cat KERNEL_SRC/CMakeLists.txt | grep SET\(VERSION_MAJOR | sed -e "s%[A-Z_() ]%%g"`
+ ver_min=`cat KERNEL_SRC/CMakeLists.txt | grep SET\(VERSION_MINOR | sed -e "s%[A-Z_() ]%%g"`
+ ver_maintenance=`cat KERNEL_SRC/CMakeLists.txt | grep SET\(VERSION_MAINTENANCE | sed -e "s%[A-Z_() ]%%g"`
+ vx="${ver_maj}.${ver_min}.${ver_maintenance}"
+fi
+if [ "$vx" != "" ] ; then
+ vx="_$vx"
+fi
+
+#echo vx ================== ${vx}
+#exit
+
+#------ KERNEL ------
+export KERNEL_ROOT_DIR=${INST_ROOT}/KERNEL${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${KERNEL_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${KERNEL_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${KERNEL_ROOT_DIR}/bin/salome:${KERNEL_ROOT_DIR}/lib/salome:${KERNEL_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ KERNEL_src ------
+export KERNEL_SRC_DIR=${INST_ROOT}/KERNEL_SRC
+##
+#------ GUI ------
+export GUI_ROOT_DIR=${INST_ROOT}/GUI${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${GUI_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${GUI_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${GUI_ROOT_DIR}/bin/salome:${GUI_ROOT_DIR}/lib/salome:${GUI_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ export VTK_AUTOLOAD_PATH=${GUI_ROOT_DIR}/lib/paraview
+ fi
+fi
+##
+#------ GUI_src ------
+export GUI_SRC_DIR=${INST_ROOT}/GUI_SRC
+##
+#------ GEOM ------
+export GEOM_ROOT_DIR=${INST_ROOT}/GEOM${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${GEOM_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${GEOM_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${GEOM_ROOT_DIR}/bin/salome:${GEOM_ROOT_DIR}/lib/salome:${GEOM_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ GEOM_src ------
+export GEOM_SRC_DIR=${INST_ROOT}/GEOM_SRC
+##
+#------ MED ------
+export MED_ROOT_DIR=${INST_ROOT}/MED${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${MED_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${MED_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${MED_ROOT_DIR}/bin/salome:${MED_ROOT_DIR}/lib/salome:${MED_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ export AM2CMAKE_FORCE_GENERATION=1
+ fi
+fi
+##
+#------ MED_src ------
+export MED_SRC_DIR=${INST_ROOT}/MED_SRC
+##
+#------ SMESH ------
+export SMESH_ROOT_DIR=${INST_ROOT}/SMESH${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${SMESH_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${SMESH_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${SMESH_ROOT_DIR}/bin/salome:${SMESH_ROOT_DIR}/lib/salome:${SMESH_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ SMESH_src ------
+export SMESH_SRC_DIR=${INST_ROOT}/SMESH_SRC
+##
+#------ VISU ------
+export VISU_ROOT_DIR=${INST_ROOT}/VISU${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${VISU_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${VISU_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${VISU_ROOT_DIR}/bin/salome:${VISU_ROOT_DIR}/lib/salome:${VISU_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ VISU_src ------
+export VISU_SRC_DIR=${INST_ROOT}/VISU_SRC
+##
+#------ PARAVIS ------
+export PARAVIS_ROOT_DIR=${INST_ROOT}/PARAVIS${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${PARAVIS_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${PARAVIS_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${PARAVIS_ROOT_DIR}/bin/salome:${PARAVIS_ROOT_DIR}/lib/salome:${PARAVIS_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ export PV_PLUGIN_PATH=${PARAVIS_ROOT_DIR}/lib/paraview:${PV_PLUGIN_PATH}
+ fi
+fi
+##
+#------ PARAVIS_src ------
+export PARAVIS_SRC_DIR=${INST_ROOT}/PARAVIS_SRC
+export ACCEPT_PARAVIS_WARNINGS=1
+##
+#------ HEXABLOCK ------
+export HEXABLOCK_ROOT_DIR=${INST_ROOT}/HEXABLOCK${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${HEXABLOCK_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${HEXABLOCK_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${HEXABLOCK_ROOT_DIR}/bin/salome:${HEXABLOCK_ROOT_DIR}/lib/salome:${HEXABLOCK_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ HEXABLOCK_src ------
+export HEXABLOCK_SRC_DIR=${INST_ROOT}/HEXABLOCK_SRC
+##
+#------ HEXABLOCKPLUGIN ------
+export HEXABLOCKPLUGIN_ROOT_DIR=${INST_ROOT}/HEXABLOCKPLUGIN${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp LD_LIBRARY_PATH ${HEXABLOCKPLUGIN_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${HEXABLOCKPLUGIN_ROOT_DIR}/lib/salome:${HEXABLOCKPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ HEXABLOCKPLUGIN_src ------
+export HEXABLOCKPLUGIN_SRC_DIR=${INST_ROOT}/HEXABLOCKPLUGIN_SRC
+##
+#------ NETGENPLUGIN ------
+export NETGENPLUGIN_ROOT_DIR=${INST_ROOT}/NETGENPLUGIN${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp LD_LIBRARY_PATH ${NETGENPLUGIN_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${NETGENPLUGIN_ROOT_DIR}/lib/salome:${NETGENPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ NETGENPLUGIN_src ------
+export NETGENPLUGIN_SRC_DIR=${INST_ROOT}/NETGENPLUGIN_SRC
+##
+#------ GHS3DPLUGIN ------
+export GHS3DPLUGIN_ROOT_DIR=${INST_ROOT}/GHS3DPLUGIN${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp LD_LIBRARY_PATH ${GHS3DPLUGIN_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${GHS3DPLUGIN_ROOT_DIR}/lib/salome:${GHS3DPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ GHS3DPLUGIN_src ------
+export GHS3DPLUGIN_SRC_DIR=${INST_ROOT}/GHS3DPLUGIN_SRC
+##
+#------ GHS3DPRLPLUGIN ------
+export GHS3DPRLPLUGIN_ROOT_DIR=${INST_ROOT}/GHS3DPRLPLUGIN${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${GHS3DPRLPLUGIN_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${GHS3DPRLPLUGIN_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${GHS3DPRLPLUGIN_ROOT_DIR}/bin/salome:${GHS3DPRLPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ GHS3DPRLPLUGIN_src ------
+export GHS3DPRLPLUGIN_SRC_DIR=${INST_ROOT}/GHS3DPRLPLUGIN_SRC
+##
+#------ BLSURFPLUGIN ------
+export BLSURFPLUGIN_ROOT_DIR=${INST_ROOT}/BLSURFPLUGIN${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${BLSURFPLUGIN_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${BLSURFPLUGIN_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${BLSURFPLUGIN_ROOT_DIR}/bin/salome:${BLSURFPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ BLSURFPLUGIN_src ------
+export BLSURFPLUGIN_SRC_DIR=${INST_ROOT}/BLSURFPLUGIN_SRC
+##
+#------ HexoticPLUGIN ------
+export HexoticPLUGIN_ROOT_DIR=${INST_ROOT}/HexoticPLUGIN${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${HexoticPLUGIN_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${HexoticPLUGIN_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${HexoticPLUGIN_ROOT_DIR}/bin/salome:${HexoticPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ HexoticPLUGIN_src ------
+export HexoticPLUGIN_SRC_DIR=${INST_ROOT}/HexoticPLUGIN_SRC
+##
+#------ COMPONENT ------
+export COMPONENT_ROOT_DIR=${INST_ROOT}/COMPONENT${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${COMPONENT_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${COMPONENT_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${COMPONENT_ROOT_DIR}/bin/salome:${COMPONENT_ROOT_DIR}/lib/salome:${COMPONENT_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ COMPONENT_src ------
+export COMPONENT_SRC_DIR=${INST_ROOT}/COMPONENT_SRC
+##
+#------ PYCALCULATOR ------
+export PYCALCULATOR_ROOT_DIR=${INST_ROOT}/PYCALCULATOR${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${PYCALCULATOR_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${PYCALCULATOR_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${PYCALCULATOR_ROOT_DIR}/bin/salome:${PYCALCULATOR_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ PYCALCULATOR_src ------
+export PYCALCULATOR_SRC_DIR=${INST_ROOT}/PYCALCULATOR_SRC
+##
+#------ CALCULATOR ------
+export CALCULATOR_ROOT_DIR=${INST_ROOT}/CALCULATOR${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${CALCULATOR_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${CALCULATOR_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${CALCULATOR_ROOT_DIR}/bin/salome:${CALCULATOR_ROOT_DIR}/lib/salome:${CALCULATOR_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ CALCULATOR_src ------
+export CALCULATOR_SRC_DIR=${INST_ROOT}/CALCULATOR_SRC
+##
+#------ HELLO ------
+export HELLO_ROOT_DIR=${INST_ROOT}/HELLO${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${HELLO_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${HELLO_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${HELLO_ROOT_DIR}/bin/salome:${HELLO_ROOT_DIR}/lib/salome:${HELLO_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ HELLO_src ------
+export HELLO_SRC_DIR=${INST_ROOT}/HELLO_SRC
+##
+#------ PYHELLO ------
+export PYHELLO_ROOT_DIR=${INST_ROOT}/PYHELLO${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${PYHELLO_ROOT_DIR}/bin/salome
+ exportp PYTHONPATH ${PYHELLO_ROOT_DIR}/bin/salome:${PYHELLO_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ PYHELLO_src ------
+export PYHELLO_SRC_DIR=${INST_ROOT}/PYHELLO_SRC
+##
+#------ ATOMGEN ------
+export ATOMGEN_ROOT_DIR=${INST_ROOT}/ATOMGEN${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${ATOMGEN_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${ATOMGEN_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${ATOMGEN_ROOT_DIR}/bin/salome:${ATOMGEN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ ATOMGEN_src ------
+export ATOMGEN_SRC_DIR=${INST_ROOT}/ATOMGEN_SRC
+##
+#------ ATOMSOLV ------
+export ATOMSOLV_ROOT_DIR=${INST_ROOT}/ATOMSOLV${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${ATOMSOLV_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${ATOMSOLV_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${ATOMSOLV_ROOT_DIR}/bin/salome:${ATOMSOLV_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ ATOMSOLV_src ------
+export ATOMSOLV_SRC_DIR=${INST_ROOT}/ATOMSOLV_SRC
+##
+#------ ATOMIC ------
+export ATOMIC_ROOT_DIR=${INST_ROOT}/ATOMIC${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${ATOMIC_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${ATOMIC_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${ATOMIC_ROOT_DIR}/bin/salome:${ATOMIC_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ ATOMIC_src ------
+export ATOMIC_SRC_DIR=${INST_ROOT}/ATOMIC_SRC
+##
+#------ LIGHT ------
+export LIGHT_ROOT_DIR=${INST_ROOT}/LIGHT${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp LD_LIBRARY_PATH ${LIGHT_ROOT_DIR}/lib/salome
+ fi
+fi
+##
+#------ LIGHT_src ------
+export LIGHT_SRC_DIR=${INST_ROOT}/LIGHT_SRC
+##
+#------ PYLIGHT ------
+export PYLIGHT_ROOT_DIR=${INST_ROOT}/PYLIGHT${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${PYLIGHT_ROOT_DIR}/bin/salome
+ exportp PYTHONPATH ${PYLIGHT_ROOT_DIR}/bin/salome
+ fi
+fi
+##
+#------ PYLIGHT_src ------
+export PYLIGHT_SRC_DIR=${INST_ROOT}/PYLIGHT_SRC
+##
+#------ RANDOMIZER ------
+export RANDOMIZER_ROOT_DIR=${INST_ROOT}/RANDOMIZER${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${RANDOMIZER_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${RANDOMIZER_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${RANDOMIZER_ROOT_DIR}/bin/salome:${RANDOMIZER_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ RANDOMIZER_src ------
+export RANDOMIZER_SRC_DIR=${INST_ROOT}/RANDOMIZER_SRC
+##
+#------ SIERPINSKY ------
+export SIERPINSKY_ROOT_DIR=${INST_ROOT}/SIERPINSKY${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${SIERPINSKY_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${SIERPINSKY_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${SIERPINSKY_ROOT_DIR}/bin/salome:${SIERPINSKY_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ SIERPINSKY_src ------
+export SIERPINSKY_SRC_DIR=${INST_ROOT}/SIERPINSKY_SRC
+##
+#------ YACS ------
+export YACS_ROOT_DIR=${INST_ROOT}/YACS${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${YACS_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${YACS_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${YACS_ROOT_DIR}/bin/salome:${YACS_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ YACS_src ------
+export YACS_SRC_DIR=${INST_ROOT}/YACS_SRC
+##
+#------ YACSGEN ------
+export YACSGEN_ROOT_DIR=${INST_ROOT}/YACSGEN${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PYTHONPATH ${YACSGEN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages
+ fi
+fi
+##
+#------ YACSGEN_src ------
+export YACSGEN_SRC_DIR=${INST_ROOT}/YACSGEN_SRC
+##
+#------ JOBMANAGER ------
+export JOBMANAGER_ROOT_DIR=${INST_ROOT}/JOBMANAGER${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${JOBMANAGER_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${JOBMANAGER_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${JOBMANAGER_ROOT_DIR}/bin/salome:${JOBMANAGER_ROOT_DIR}/lib/salome:${JOBMANAGER_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ JOBMANAGER_src ------
+export JOBMANAGER_SRC_DIR=${INST_ROOT}/JOBMANAGER_SRC
+##
+#------ SAMPLES_src ------
+export DATA_DIR=${INST_ROOT}/SAMPLES_SRC
+##
+#------ TUTORIAL_src ------
+##
+#------ HOMARD ------
+export HOMARD_ROOT_DIR=${INST_ROOT}/HOMARD${vx}
+if [ -n "${ENV_FOR_LAUNCH}" ] ; then
+ if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then
+ exportp PATH ${HOMARD_ROOT_DIR}/bin/salome
+ exportp LD_LIBRARY_PATH ${HOMARD_ROOT_DIR}/lib/salome
+ exportp PYTHONPATH ${HOMARD_ROOT_DIR}/bin/salome:${HOMARD_ROOT_DIR}/lib/salome:${HOMARD_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome
+ fi
+fi
+##
+#------ HOMARD_src ------
+export HOMARD_SRC_DIR=${INST_ROOT}/HOMARD_SRC
+##
+#------ xdata ------
+export XDATAROOT=${INST_ROOT}/xdata-0.9.3
+exportp PATH ${XDATAROOT}/bin
+exportp PYTHONPATH ${XDATAROOT}/lib/python${PYTHON_VERSION}/site-packages/xdata
+##
+#------ xdata_src ------
+# nothing to do
+##
+#------ HXX2SALOME ------
+export HXX2SALOME_ROOT_DIR=${INST_ROOT}/HXX2SALOME${vx}/bin
+exportp PATH ${HXX2SALOME_ROOT_DIR}
+##
+#------ HXX2SALOME_src ------
+# nothing to do
+##
+#------ HXX2SALOMEDOC ------
+#nothing to do
+##
+#------ HXX2SALOMEDOC_src ------
+# nothing to do
+##
+#------ DOCUMENTATION_src ------
+#nothing to do
+##