+++ /dev/null
-There are several scripts for launching SALOME.
-First of all you have possibility to launch all servers simultaneously using any
-of following scripts: runSalome or runSalomeWithPort. The difference between
-them consist in using port number for running Naming Service. You should set
-port number in a omniORB.cfg in your home folder. This file contains following
-string:
-ORBInitRef NameService=corbaname::moulinex:2888 ,
-where moulinex is a machine name and 2888 is a unique port number.
-The runSalome script doesn't contain any parameter related to using specific port
-number and in order to use it you must set port number as 2809. Otherwise you
-will not be able to run all servers. Also you can have problems at attempt to
-launch SALOME application on computer with existing instance of the same program
-launched by another user. In order to avoid this we recomment strongly to use
-runSalomeWithPort scripts. You must pass port number defined in your omniORB.cfg
-file as parameter.
-Also both scripts use special CORBA server Logger that is used in order to put
-all messages in one place. You can put all messages related to SALOME application
-you should pass absolute pathname of output file as parameter for both scripts.
-Otherwise all messages will be put into terminal.
-Example of using runSalome:
- runSalome ~/SALOME.log
-Example of using runSalomeWithPort:
- runSalomeWithPort 2888 ~/SALOME.log
-Another way to launch salome consists in using two interdependent scripts:
-runSalomeServers and runSalomeDesktop. This way is more elegant and also it can
-save your time you spend on successive running SALOME. At first it's necessary to
-load all servers with help of runSalomeServers scripts. It can take two
-parameters. First one is indispensable for launching and it should contains port
-number for Naming Service. Second parameter contains absolute pathname for
-special Logger server. In case you not pass second parameter all output messages
-will be put into terminal instead of file. You have to launch runSalomeServers
-before runSalomeDesktop only once time. Then you can launch runSalomeDesktop
-(without any parameters) that is in charge of loading GUI.
-Example of using:
-1. runSalomeServers 2888 ~/SALOME.log
-2. runSalomeDesktop
-3. You can close application and run it again.
-Just type runSalomeDesktop again and enjoy.
+++ /dev/null
-#!/bin/sh
-
-if test $# = 0; then
- killall -q -9 SALOME_Logger_Server
- killall -q -9 omniNames
- killall -q -9 geom
- killall -q -9 SALOMEDS_Server
- killall -q -9 mesh
- killall -q -9 SALOME_Session_Server
- killall -q -9 SALOME_ModuleCatalog_Client
- killall -q -9 SALOME_ModuleCatalog_Server
- killall -q -9 SALOME_DataTypeCatalog_Client
- killall -q -9 SALOME_DataTypeCatalog_Server
- killall -q -9 SALOME_RessourcesCatalog_Client
- killall -q -9 SALOME_RessourcesCatalog_Server
- killall -q -9 SALOME_Container
-export Container=`eval "which SALOME_Container"`
- killall -q -9 ${Container}
- killall -q -9 micod
- killall -q -9 traderd
- killall -q -9 notifd
- killall -q -9 SALOME_Registry_Server
- killall -q -9 runDataGUIServer
-fi
-
-if test $# != 0; then
- killall -q -9 $1
-export Container=`eval "which $1"`
- killall -q -9 ${Container}
-fi
+++ /dev/null
-#!/bin/sh
-
-
-# killall -q -9 omniNames
-if test $# = 0; then
-list=`ps -f U $USER --width 1000 | grep omniNames | grep -v grep | awk '{print $2}'`
-for pid in $list; do
- kill -s KILL $pid
-done
-
-# killall -q -9 SALOME_Logger_Server
-list=`ps -f U $USER --width 1000 | grep SALOME_Logger_Server | grep -v grep | awk '{print $2}'`
-for pid in $list; do
- kill -s KILL $pid
-done
-
-# killall -q -9 geom
-list=`ps -e -o pid,user,fname | awk '{if ($2 == USRNAME && $3 == FNAME) print $1}' USRNAME=$USER FNAME=geom`
-for pid in $list; do
- kill -s KILL $pid
-done
-
-# killall -q -9 SALOMEDS_Server
-list=`ps -f U $USER --width 1000 | grep SALOMEDS_Server | grep -v grep | awk '{print $2}'`
-for pid in $list; do
- kill -s KILL $pid
-done
-
-# killall -q -9 mesh
-list=`ps -e -o pid,user,fname | awk '{if ($2 == USRNAME && $3 == FNAME) print $1}' USRNAME=$USER FNAME=mesh`
-for pid in $list; do
- kill -s KILL $pid
-done
-
-# killall -q -9 SALOME_Session_Server
-list=`ps -f U $USER --width 1000 | grep SALOME_Session_Serve | grep -vE "grep|gdb" | awk '{print $2}'`
-for pid in $list; do
- kill -s KILL $pid
-done
-
-# killall -q -9 SALOME_ModuleCatalog_Client
-list=`ps -f U $USER --width 1000 | grep SALOME_ModuleCatalog_Client | grep -v grep | awk '{print $2}'`
-for pid in $list; do
- kill -s KILL $pid
-done
-
-# killall -q -9 SALOME_ModuleCatalog_Server
-list=`ps -f U $USER --width 1000 | grep SALOME_ModuleCatalog_Server | grep -v grep | awk '{print $2}'`
-for pid in $list; do
- kill -s KILL $pid
-done
-
-# killall -q -9 SALOME_DataTypeCatalog_Client
-list=`ps -f U $USER --width 1000 | grep SALOME_DataTypeCatalog_Client | grep -v grep | awk '{print $2}'`
-for pid in $list; do
- kill -s KILL $pid
-done
-
-# killall -q -9 SALOME_DataTypeCatalog_Server
-list=`ps -f U $USER --width 1000 | grep SALOME_DataTypeCatalog_Server | grep -v grep | awk '{print $2}'`
-for pid in $list; do
- kill -s KILL $pid
-done
-
-# killall -q -9 SALOME_RessourcesCatalog_Client
-list=`ps -f U $USER --width 1000 | grep SALOME_RessourcesCatalog_Client | grep -v grep | awk '{print $2}'`
-for pid in $list; do
- kill -s KILL $pid
-done
-
-# killall -q -9 SALOME_RessourcesCatalog_Server
-list=`ps -f U $USER --width 1000 | grep SALOME_RessourcesCatalog_Server | grep -v grep | awk '{print $2}'`
-for pid in $list; do
- kill -s KILL $pid
-done
-
-# killall -q -9 SALOME_Container
-list=`ps -f U $USER --width 1000 | grep SALOME_Container | grep -v grep | awk '{print $2}'`
-for pid in $list; do
- kill -s KILL $pid
-done
-
-# killall -q -9 FactoryServer
-list=`ps -f U $USER --width 1000 | grep FactoryServer | grep -v grep | awk '{print $2}'`
-for pid in $list; do
- kill -s KILL $pid
-done
-
-# killall -q -9 SuperVisionContainer
-list=`ps -f U $USER --width 1000 | grep SuperVisionContainer | grep -v grep | awk '{print $2}'`
-for pid in $list; do
- kill -s KILL $pid
-done
-
-# killall -q -9SALOME_ContainerPy.py
-list=`ps -f U $USER --width 1000 | grep SALOME_ContainerPy.py | grep -v grep | awk '{print $2}'`
-for pid in $list; do
- kill -s KILL $pid
-done
-
-#export Container=`eval "which SALOME_Container"`
-#killall -q -9 ${Container}
-list=`ps -e -o pid,user,fname | awk '{if ($2 == USRNAME && $3 == FNAME) print $1}' USRNAME=$USER FNAME=micod`
-for pid in $list; do
- kill -s KILL $pid
-done
-# killall -q -9 micod
-list=`ps -e -o pid,user,fname | awk '{if ($2 == USRNAME && $3 == FNAME) print $1}' USRNAME=$USER FNAME=traderd`
-for pid in $list; do
- kill -s KILL $pid
-done
-# killall -q -9 traderd
-list=`ps -e -o pid,user,fname | awk '{if ($2 == USRNAME && $3 == FNAME) print $1}' USRNAME=$USER FNAME=notifd`
-for pid in $list; do
- kill -s KILL $pid
-done
-# killall -q -9 notifd
-list=`ps -f U $USER --width 1000 | grep SALOME_Registry_Server | grep -v grep | awk '{print $2}'`
-for pid in $list; do
- kill -s KILL $pid
-done
-# killall -q -9 SALOME_Registry_Server
-list=`ps -f U $USER --width 1000 | grep runDataGUIServer | grep -v grep | awk '{print $2}'`
-for pid in $list; do
- kill -s KILL $pid
-done
-# killall -q -9 runDataGUIServer
-fi
-
-if test $# != 0; then
-list=`ps -f U $USER --width 1000 | grep $1 | grep -v grep | awk '{print $2}'`
-for pid in $list; do
- kill -s KILL $pid
-done
-# killall -q -9 $1
-list=`ps -f U $USER --width 1000 | grep FactoryServer | grep -v grep | awk '{print $2}'`
-for pid in $list; do
- kill -s KILL $pid
-done
-list=`ps -f U $USER --width 1000 | grep SuperVisionContainer | grep -v grep | awk '{print $2}'`
-for pid in $list; do
- kill -s KILL $pid
-done
-
-#export Container=`eval "which $1"`
-# killall -q -9 ${Container}
-fi
+++ /dev/null
-
-DIR=`pwd`
-export OMNIORB_CONFIG=${DIR}/omniORB.cfg
-
+++ /dev/null
-#!/usr/bin/perl -w
-# Estelle Deville 14 sept 2001
-# Utilities to complete the Ressource Catalog with a new computer ressource
-
-print "What is the Ressource Catalog name (absolute path)? ";
-chomp($catalog=<STDIN>);
-print "What is the computer name? ";
-chomp($computer=<STDIN>);
-
-printf "Will C++ container Type be able on %s [y/n]? ", $computer;
-chomp($response=<STDIN>);
-if($response eq "y")
- {
- push(@container,"C++");
- }
-printf "Will python container Type be able on %s [y/n]? ", $computer;
-chomp($response=<STDIN>);
-if($response eq "y")
- {
- push(@container,"python");
- }
-printf "Will NP container Type be able on %s [y/n]? ", $computer;
-chomp($response=<STDIN>);
-if($response eq "y")
- {
- push(@container,"NP");
- }
-
-chomp($working_computer=`hostname`);
-
-if($working_computer eq $computer)
-{
-
- if(-r $catalog && -w $catalog)
- { #file exist and can bi read and write
- chomp($OS=`uname`);
- chomp($OS_version=`uname -r`);
-
- $proc="/proc/cpuinfo";
- if(-r $proc)
- {
- #information file of processor is accessible
- open(PROC, $proc);
- while(<PROC>)
- {
- chomp;
- $temp = $_;
- $temp =~ s/\t.*$//;
- if($temp eq "processor")
- {
- $_=~ s/^[^:]*: //;
- push(@proc_number,$_);
- }
- if($temp eq "model name")
- {
- $_=~ s/^[^:]*: //;
- push(@model_name,$_);
- }
- if($temp eq "cpu MHz")
- {
- $_=~ s/^[^:]*: //;
- push(@cpu,$_);
- }
- if($temp eq "cache size")
- {
- $_=~ s/^[^:]*: //;
- $_=~ s/ .*$//;
- push(@cache,$_);
- }
- }
- close(PROC);
-
- }
- #Information Verification
- for ($i=0; $i<=$#proc_number; $i++)
- {
- print "PROCESSOR\n";
- printf "number %s \n", $proc_number[$i];
- printf "model name %s \n", $model_name[$i];
- printf "cpu %s \n", $cpu[$i];
- printf "cache %s \n", $cache[$i];
- }
- print "OS information\n";
- printf "OS %s \n", $OS;
- printf "OS_version %s \n",$OS_version;
- print "CONTAINER TYPE LIST\n";
- for ($i=0; $i<=$#container; $i++)
- {
- printf "container type %s \n", $container[$i];
- }
-
- #Write catalog content
- open(CATALOG_IN,$catalog);
- $catalog_temp=$catalog."_temp";
- open(CATALOG,">$catalog_temp");
- $tmp =0;
- while(<CATALOG_IN>)
- {
- print CATALOG $_;
- if($_ eq "<Ressources-list>\n")
- {
- $tmp=1;
- }
- if ($tmp == 1)
- {
- print CATALOG "\t<computer>\n";
- printf CATALOG "\t\t<name>%s</name>\n", $computer;
- printf CATALOG "\t\t<OS>%s</OS>\n", $OS;
- printf CATALOG "\t\t<OS-version>%s</OS-version>\n", $OS_version;
- print CATALOG "\t\t<proc-list>\n";
- #processor
- for ($i=0; $i<=$#proc_number; $i++)
- {
- printf CATALOG "\t\t\t<proc>\n";
- printf CATALOG "\t\t\t\t<number>%s</number>\n", $proc_number[$i];
- printf CATALOG "\t\t\t\t<model>%s</model>\n", $model_name[$i];
- printf CATALOG "\t\t\t\t<CPU-MHz>%s</CPU-MHz>\n", $cpu[$i];
- printf CATALOG "\t\t\t\t<cache>%s</cache>\n", $cache[$i];
- printf CATALOG "\t\t\t</proc>\n";
- }
- print CATALOG "\t\t</proc-list>\n";
- #container
- print CATALOG "\t\t<containertype-list>\n";
- for ($i=0; $i<=$#container; $i++)
- {
- printf CATALOG "\t\t\t\t<containertype>%s</containertype>\n", $container[$i];
- }
- print CATALOG "\t\t</containertype-list>\n";
- print CATALOG "\t</computer>\n";
- $tmp=0;
- }
- }
- close(CATALOG);
- close(CATALOG_IN);
- rename($catalog_temp,$catalog) || die "can't rename :$!";
- }
- else
- {
- printf "Error, the Ressource catalog %s isn't accessible\n", $catalog;
- }
-
-}
-else
-{
- printf "Error, you should run the script on computer %s \n", $computer;
-}
-
-
-
+++ /dev/null
-ORBInitRef NameService=corbaname::localhost:1515
+++ /dev/null
-#! /bin/sh
-
-@ENVSCRIPT@
-cd ${SALOME_HOME_DIR}/bin
-
-./SALOME_DataTypeCatalog_Client
+++ /dev/null
-#! /bin/sh
-
-@ENVSCRIPT@
-cd ${SALOME_HOME_DIR}/bin
-
-./SALOME_ModuleCatalog_Client
+++ /dev/null
-#! /bin/sh
-
-@ENVSCRIPT@
-cd ${SALOME_HOME_DIR}/bin
-
-./SALOME_RessourcesCatalog_Client
+++ /dev/null
-#! /bin/sh
-
-@ENVSCRIPT@
-cd ${SALOME_HOME_DIR}/bin
-
-./allkill
-
-runNS.sh
-
-SALOME_DataTypeCatalog_Server \
--common ${SALOME_SRC_DIR}/SALOME/resources/CatalogDataType.xml &
+++ /dev/null
-#!/bin/sh
-
-PYTHON_VERSION=python@PYTHON_VERSION@
-
-# you must define SALOME_ROOT_DIR and SALOME_SITE_DIR (if you need it)
-
-if test -n $SALOME_ROOT_DIR
-then
- export PATH=$SALOME_ROOT_DIR/bin/salome:${PATH}
- export LD_LIBRARY_PATH=$SALOME_ROOT_DIR/lib/salome:${LD_LIBRARY_PATH}
- export PYTHONPATH=${SALOME_ROOT_DIR}/lib/salome:${SALOME_ROOT_DIR}/lib/$PYTHON_VERSION/site-packages/salome:${PYTHONPATH}
-fi
-if test -n $SALOME_SITE_DIR
-then
- export PATH=$SALOME_SITE_DIR/bin/salome:${PATH}
- export LD_LIBRARY_PATH=$SALOME_SITE_DIR/lib/salome:${LD_LIBRARY_PATH}
- export PYTHONPATH=${SALOME_SITE_DIR}/lib/salome:${SALOME_SITE_DIR}/lib/$PYTHON_VERSION/site-packages/salome:${PYTHONPATH}
-fi
-
-if test -d $HOME/.salome/bin
-then
- export PATH=$HOME/.salome/bin:${PATH}
-fi
-if test -d $HOME/.salome/lib
-then
- export LD_LIBRARY_PATH=$HOME/.salome/lib:${LD_LIBRARY_PATH}
-fi
-
-export CSF_PluginDefaults=${SALOME_ROOT_DIR}/share/salome/resources
-export CSF_ResourcesDefaults=${SALOME_ROOT_DIR}/share/salome/resources
-
-export CSF_PATHData=${SALOME_ROOT_DIR}/share/salome
-
-export tmp=/tmp
-
-SALOME_Session_loader
+++ /dev/null
-#! /bin/sh
-
-@ENVSCRIPT@
-cd ${SALOME_HOME_DIR}/bin
-
-./allkill
-
-runNS.sh
-
-SALOME_ModuleCatalog_Server \
--common ${SALOME_SRC_DIR}/SALOME/resources/CatalogModuleGeneral.xml \
--personal ${SALOME_SRC_DIR}/SALOME/resources/CatalogModulePersonnel.xml &
+++ /dev/null
-#! /bin/sh
-
-@ENVSCRIPT@
-
-cd ${SALOME_HOME_DIR}/bin
-
-# OCAF
-export CSF_PluginDefaults=${SALOME_HOME_DIR}/resources
-export CSF_ResourcesDefaults=${SALOME_HOME_DIR}/resources
-#export CSF_RepeatServerRequest=10
-
-export CSF_ToolsGUIResources=${SALOME_HOME_DIR}/SALOME/resources
-export CSF_ToolsGUILanguage=en
-
-export CSF_SALOMEGUIResources=${SALOME_HOME_DIR}/SALOME/resources
-export CSF_SALOMEGUILanguage=en
-
-export CSF_QADResources=${SALOME_HOME_DIR}/SALOME/resources
-export CSF_QADLanguage=en
-
-export CSF_GeometryGUIResources=${SALOME_HOME_DIR}/GEOM/resources
-export CSF_GeometryGUILanguage=en
-
-export CSF_MeshGUIResources=${SALOME_HOME_DIR}/MESH/resources
-export CSF_MeshGUILanguage=en
-
-export CSF_QMGGUIResources=${SALOME_HOME_DIR}/QMG/resources
-export CSF_QMGGUILanguage=en
-
-export CSF_CLRheolefGUIResources=${SALOME_HOME_DIR}/CLRHEOLEF/resources
-export CSF_CLRheolefGUILanguage=en
-
-export CSF_RheolefGUIResources=${SALOME_HOME_DIR}/RHEOLEF/resources
-export CSF_RheolefGUILanguage=en
-
-export CSF_MEFISTETGUIResources=${SALOME_HOME_DIR}/MEFISTET/resources
-export CSF_MEFISTETGUILanguage=en
-
-export CSF_DataGUIResources=${SALOME_HOME_DIR}/DATA/resources
-export CSF_DataGUILanguage=en
-
-export CSF_VisuGUIResources=${SALOME_HOME_DIR}/VISU/resources
-export CSF_VisuGUILanguage=en
-
-export CSF_DiodoreGUIResources=${SALOME_HOME_DIR}/DIODORE/resources
-export CSF_DiodoreGUILanguage=en
-
-export CSF_MiniExempleGUIResources=${SALOME_HOME_DIR}/MINIEXEMPLE/resources
-export CSF_MiniExempleGUILanguage=en
-
-export CSF_SupervisionGUIResources=${SALOME_HOME_DIR}/SUPERV/resources
-export CSF_SupervisionGUILanguage=en
-
-export CSF_CatalogueResources=${SALOME_HOME_DIR}/resources
-
-export CSF_ToolsResources=${SALOME_HOME_DIR}/SALOME/resources
-
-export CSF_GeometryResources=${SALOME_HOME_DIR}/GEOM/resources
-
-export CSF_MeshResources=${SALOME_HOME_DIR}/MESH/resources
-
-export CSF_QMGResources=${SALOME_HOME_DIR}/QMG/resources
-
-export CSF_CLRheolefResources=${SALOME_HOME_DIR}/CLRHEOLEF/resources
-
-export CSF_RheolefResources=${SALOME_HOME_DIR}/RHEOLEF/resources
-
-export CSF_MEFISTETResources=${SALOME_HOME_DIR}/MEFISTET/resources
-
-export CSF_MiniExempleResources=${SALOME_HOME_DIR}/MINIEXEMPLE/resources
-
-export CSF_DataResources=${SALOME_HOME_DIR}/DATA/resources
-
-export CSF_VisuResources=${SALOME_HOME_DIR}/VISU/resources
-
-export CSF_DiodoreResources=${SALOME_HOME_DIR}/DIODORE/resources
-
-export CSF_SupervisionResources=${SALOME_HOME_DIR}/SUPERV/resources
-
-export CSF_PATHData=${SALOME_SRC_DIR}/data
-
-export tmp=/usr/tmp
-
-echo "runSession standalone on ${HOSTNAME}"
-./allkill
-
-echo "Starting ./runNS.sh"
-./runNS.sh
-sleep 2
-
-echo "Starting SALOME_Logger_Server $1"
-./SALOME_Logger_Server $1 &
-sleep 2
-
-echo "Starting ./SALOME_Registry_Server"
-./SALOME_Registry_Server --salome_session theSession &
-sleep 2
-
-echo "Starting ./SALOMEDS_Server"
-./SALOMEDS_Server&
-sleep 2
-
-echo "Starting ./SALOME_ModuleCatalog_Server -common ${SALOME_SRC_DIR}/SALOME/resources/CatalogModuleGeneral.xml -personal ${SALOME_SRC_DIR}/SALOME/resources/CatalogModulePersonnel.xml"
-./SALOME_ModuleCatalog_Server \
- -common ${SALOME_SRC_DIR}/SALOME/resources/CatalogModuleGeneral.xml \
- -personal ${SALOME_SRC_DIR}/SALOME/resources/CatalogModulePersonnel.xml &
-sleep 2
-
-echo "Starting ./SALOME_Session_Server"
-./SALOME_Session_Server&
-sleep 2
-
-echo "Starting ./runNotify.sh"
-./runNotify.sh
-
-echo "./SALOME_Container FactoryServer -ORBInitRef NameService=corbaname::localhost:1515"
-./SALOME_Container FactoryServer -ORBInitRef NameService=corbaname::localhost:1515 &
-
-echo "Starting ./SALOME_ContainerPy.py"
-./SALOME_ContainerPy.py &
-
-sleep 5
-echo "Starting SALOME_Session_loader"
-./SALOME_Session_loader &
-
-echo "--------------------------------------------------------------------------------"
-echo "| |"
-echo "| read README file on this directory for configuration and launch of SALOME |"
-echo "| |"
-echo "--------------------------------------------------------------------------------"
+++ /dev/null
-#!/bin/sh
-
-#log files localization
-
-BaseDir=/tmp
-Username=`/usr/bin/whoami`
-
-# kill OmniNames if exists
-
-#killall -q -9 omniNames
-
-# clear log files
-
-mkdir -m 775 ${BaseDir}/logs
-mkdir ${BaseDir}/logs/${Username}
-touch ${BaseDir}/logs/${Username}/dummy
-\rm -f ${BaseDir}/logs/${Username}/omninames* ${BaseDir}/logs/${Username}/dummy ${BaseDir}/logs/${Username}/*.log
-
-echo "Name Service... "
-
-omniNames -start $1 -logdir ${BaseDir}/logs/${Username} &
-
-# In LifeCycleCORBA, FactoryServer is started with rsh on the requested
-# computer if this Container does not exist. Default is localhost.
-# Others Containers are started with start_impl of FactoryServer Container.
-
-# To start dynamically Containers on several computers you need to :
-#1. define your ~/.omniORB.cfg file with a computer name and port number
-# example : ORBInitRef NameService=corbaname::dm2s0017:1515
-#2. start omninames with this port number in runNS.sh
-# example : omniNames -start 1515 -logdir ${BaseDir}/logs/${Username} &
-
-echo ok
-echo "to list contexts and objects bound int the context with the specified name : showNS "
+++ /dev/null
-#! /bin/sh
-
-echo "-----------------------> Daemon notification..."
-
-notifd -c ${SALOME_SRC_DIR}/resources/channel.cfg -DFactoryIORFileName=/tmp/${LOGNAME}_rdifact.ior -DChannelIORFileName=/tmp/${LOGNAME}_rdichan.ior&
-sleep 2
+++ /dev/null
-#! /bin/sh
-
-@ENVSCRIPT@
-cd ${SALOME_HOME_DIR}/bin
-
-./allkill
-
-runNS.sh
-
-SALOME_RessourcesCatalog_Server \
--common ${SALOME_SRC_DIR}/SALOME/resources/CatalogRessources.xml &
+++ /dev/null
-#! /bin/sh
-
-@ENVSCRIPT@
-cd ${SALOME_HOME_DIR}/bin
-
-./SALOMEDS_Client
+++ /dev/null
-#! /bin/sh
-
-PYTHON_VERSION=python@PYTHON_VERSION@
-
-# you must define SALOME_ROOT_DIR and SALOME_SITE_DIR (if you need it)
-
-if test -n KERNEL_ROOT_DIR
-then
- export PATH=$KERNEL_ROOT_DIR/bin/salome:${PATH}
- export LD_LIBRARY_PATH=$KERNEL_ROOT_DIR/lib/salome:${LD_LIBRARY_PATH}
- export PYTHONPATH=${KERNEL_ROOT_DIR}/lib/salome:${KERNEL_ROOT_DIR}/lib/$PYTHON_VERSION/site-packages/salome:${KERNEL_ROOT_DIR}/share/salome/resources:${PYTHONPATH}
- # add bin, because some script are in (KERNEL_SWIG) !!!!
- export PYTHONPATH=${KERNEL_ROOT_DIR}/bin/salome:${PYTHONPATH}
- echo "#############################################"
- echo $PATH
- echo "------------------------"
- echo $LD_LIBRARY_PATH
- echo "------------------------"
- echo $PYTHONPATH
- echo "#############################################"
-fi
-
-if test -n $SALOME_ROOT_DIR
-then
- export PATH=$SALOME_ROOT_DIR/bin/salome:${PATH}
- export LD_LIBRARY_PATH=$SALOME_ROOT_DIR/lib/salome:${LD_LIBRARY_PATH}
- export PYTHONPATH=${SALOME_ROOT_DIR}/lib/salome:${SALOME_ROOT_DIR}/lib/$PYTHON_VERSION/site-packages/salome:${SALOME_ROOT_DIR}/share/salome/resources:${PYTHONPATH}
- # add bin, because some script are in (SALOME_SWIG) !!!!
- export PYTHONPATH=${SALOME_ROOT_DIR}/bin/salome:${PYTHONPATH}
- echo "#############################################"
- echo $PATH
- echo "------------------------"
- echo $LD_LIBRARY_PATH
- echo "------------------------"
- echo $PYTHONPATH
- echo "#############################################"
-fi
-if test -n $SALOME_SITE_DIR
-then
- export PATH=$SALOME_SITE_DIR/bin/salome:${PATH}
- export LD_LIBRARY_PATH=$SALOME_SITE_DIR/lib/salome:${LD_LIBRARY_PATH}
- export PYTHONPATH=${SALOME_SITE_DIR}/lib/salome:${SALOME_SITE_DIR}/lib/$PYTHON_VERSION/site-packages/salome:${SALOME_SITE_DIR}/share/salome/resources:${PYTHONPATH}
-fi
-
-if test -d $HOME/Salome/bin/salome
-then
- export PATH=$HOME/Salome/bin/salome:${PATH}
-fi
-if test -d $HOME/Salome/lib/salome
-then
- export LD_LIBRARY_PATH=$HOME/Salome/lib/salome:${LD_LIBRARY_PATH}
-fi
-
-# Open CASCADE Application Framework - OCAF
-export CSF_PluginDefaults=${KERNEL_ROOT_DIR}/share/salome/resources
-export CSF_SALOMEDS_ResourcesDefaults=${KERNEL_ROOT_DIR}/share/salome/resources
-#export CSF_ResourceVerbose=1
-#export CSF_RepeatServerRequest=10
-
-if test -n $GEOM_ROOT_DIR
-then
- export CSF_GEOMDS_ResourcesDefaults=${GEOM_ROOT_DIR}/share/salome/resources
-fi
-
-export tmp=/tmp
-
-echo "runSession standalone on ${HOSTNAME}"
-allkill
-
-echo "Starting runNS.sh"
-runNS.sh
-sleep 2
-
-echo "Starting SALOME_Logger_Server $1"
-SALOME_Logger_Server $1 &
-sleep 2
-
-echo "Starting SALOME_Registry_Server"
-SALOME_Registry_Server --salome_session theSession &
-#sleep 2
-
-echo "Starting SALOMEDS_Server"
-SALOMEDS_Server&
-#sleep 2
-
-echo "Starting SALOME_ModuleCatalog_Server -common ${SALOME_ROOT_DIR}/share/salome/resources/CatalogModuleGeneral.xml -personal ${HOME}/Salome/resources/CatalogModulePersonnel.xml"
-SALOME_ModuleCatalog_Server \
- -common ${KERNEL_ROOT_DIR}/share/salome/resources/KERNELCatalog.xml:\
-${GEOM_ROOT_DIR}/share/salome/resources/GEOMCatalog.xml:\
-${SUPERV_ROOT_DIR}/share/salome/resources/SUPERVCatalog.xml:\
-${VISU_ROOT_DIR}/share/salome/resources/VISUCatalog.xml:\
-${MED_ROOT_DIR}/share/salome/resources/MEDCatalog.xml:\
-${SMESH_ROOT_DIR}/share/salome/resources/SMESHCatalog.xml \
- -personal ${HOME}/Salome/resources/CatalogModulePersonnel.xml &
-#sleep 2
-
-echo "Starting SALOME_Session_Server"
-SALOME_Session_Server&
-#sleep 2
-
-echo "Starting runNotify.sh"
-notifd -c ${KERNEL_ROOT_DIR}/share/salome/resources/channel.cfg -DFactoryIORFileName=/tmp/${LOGNAME}_rdifact.ior -DChannelIORFileName=/tmp/${LOGNAME}_rdichan.ior&
-
-echo "SALOME_Container FactoryServer -ORBInitRef NameService=corbaname::localhost"
-SALOME_Container FactoryServer -ORBInitRef NameService=corbaname::localhost &
-
-echo "SALOME_ContainerPy.py FactoryServerPy -ORBInitRef NameService=corbaname::localhost"
-SALOME_ContainerPy.py FactoryServerPy -ORBInitRef NameService=corbaname::localhost &
-
-echo "SALOME_Container SuperVisionContainer -ORBInitRef NameService=corbaname::localhost"
-SALOME_Container SuperVisionContainer -ORBInitRef NameService=corbaname::localhost &
-
-echo "Starting SALOME_Session_loader"
-SALOME_Session_loader&
-
-echo "--------------------------------------------------------------------------------"
-echo "| |"
-echo "| read README file on this directory for configuration and launch of SALOME |"
-echo "| |"
-echo "--------------------------------------------------------------------------------"
-
+++ /dev/null
-#! /bin/sh
-
-# you must define SALOME_ROOT_DIR and SALOME_SITE_DIR (if you need it)
-
-if test -n $SALOME_ROOT_DIR
-then
- export PATH=$SALOME_ROOT_DIR/bin/salome:${PATH}
- export LD_LIBRARY_PATH=$SALOME_ROOT_DIR/lib/salome:${LD_LIBRARY_PATH}
- export PYTHONPATH=${SALOME_ROOT_DIR}/lib/salome:${SALOME_ROOT_DIR}/lib/python2.2/site-packages/salome:${PYTHONPATH}
- # add bin, because some script are in (SALOME_SWIG) !!!!
- export PYTHONPATH=${SALOME_ROOT_DIR}/bin/salome:${PYTHONPATH}
-fi
-if test -n $SALOME_SITE_DIR
-then
- export PATH=$SALOME_SITE_DIR/bin/salome:${PATH}
- export LD_LIBRARY_PATH=$SALOME_SITE_DIR/lib/salome:${LD_LIBRARY_PATH}
- export PYTHONPATH=${SALOME_SITE_DIR}/lib/salome:${SALOME_SITE_DIR}/lib/python2.2/site-packages/salome:${PYTHONPATH}
-fi
-
-if test -d $HOME/Salome/bin
-then
- export PATH=$HOME/Salome/bin:${PATH}
-fi
-if test -d $HOME/Salome/lib
-then
- export LD_LIBRARY_PATH=$HOME/Salome/lib:${LD_LIBRARY_PATH}
-fi
-
-#export ORB_ROOT_DIR=/export/home/LGLS/omni
-
-
-#PYVTK_PATH=
-#export PYTHONPATH=${PYTHONPATH}:${SALOME_ROOT_DIR}/idl:${SALOME_ROOT_DIR}/bin:${SALOME_ROOT_DIR}/lib:${PYVTK_PATH}:${EXEC_DIR}
-
-#export MICORC=/dev/null
-
-#cd ${SALOME_ROOT_DIR}/bin
-
-# OCAF
-export CSF_PluginDefaults=${SALOME_ROOT_DIR}/share/salome/resources
-export CSF_ResourcesDefaults=${SALOME_ROOT_DIR}/share/salome/resources
-
-export CSF_PATHData=${SALOME_ROOT_DIR}/share/salome
-
-export tmp=/tmp
-
-SALOME_Session_loader
-
-echo "--------------------------------------------------------------------------------"
-echo "| |"
-echo "| read README file on this directory for configuration and launch of SALOME |"
-echo "| |"
-echo "--------------------------------------------------------------------------------"
+++ /dev/null
-#! /bin/sh
-
-# you must define SALOME_ROOT_DIR and SALOME_SITE_DIR (if you need it)
-
-if test -n $SALOME_ROOT_DIR
-then
- export PATH=$SALOME_ROOT_DIR/bin/salome:${PATH}
- export LD_LIBRARY_PATH=$SALOME_ROOT_DIR/lib/salome:${LD_LIBRARY_PATH}
- export PYTHONPATH=${SALOME_ROOT_DIR}/lib/salome:${SALOME_ROOT_DIR}/lib/python2.2/site-packages/salome:${SALOME_ROOT_DIR}/share/salome/resources:${PYTHONPATH}
- # add bin, because some script are in (SALOME_SWIG) !!!!
- export PYTHONPATH=${SALOME_ROOT_DIR}/bin/salome:${PYTHONPATH}
-fi
-if test -n $SALOME_SITE_DIR
-then
- export PATH=$SALOME_SITE_DIR/bin/salome:${PATH}
- export LD_LIBRARY_PATH=$SALOME_SITE_DIR/lib/salome:${LD_LIBRARY_PATH}
- export PYTHONPATH=${SALOME_SITE_DIR}/lib/salome:${SALOME_SITE_DIR}/lib/python2.2/site-packages/salome:${SALOME_SITE_DIR}/share/salome/resources:${PYTHONPATH}
-fi
-
-if test -d $HOME/Salome/bin
-then
- export PATH=$HOME/Salome/bin:${PATH}
-fi
-if test -d $HOME/Salome/lib
-then
- export LD_LIBRARY_PATH=$HOME/Salome/lib:${LD_LIBRARY_PATH}
-fi
-
-#export ORB_ROOT_DIR=/export/home/LGLS/omni
-
-
-#PYVTK_PATH=
-#export PYTHONPATH=${PYTHONPATH}:${SALOME_ROOT_DIR}/idl:${SALOME_ROOT_DIR}/bin:${SALOME_ROOT_DIR}/lib:${PYVTK_PATH}:${EXEC_DIR}
-
-#export MICORC=/dev/null
-
-#cd ${SALOME_ROOT_DIR}/bin
-
-# OCAF
-export CSF_PluginDefaults=${SALOME_ROOT_DIR}/share/salome/resources
-export CSF_ResourcesDefaults=${SALOME_ROOT_DIR}/share/salome/resources
-
-export CSF_PATHData=${SALOME_ROOT_DIR}/share/salome
-
-export tmp=/tmp
-
-echo "runSession standalone on ${HOSTNAME}"
-allkillWithPort
-
-echo "Starting runNS.sh"
-runNSWithPort.sh $1
-sleep 2
-
-echo "Starting SALOME_Logger_Server $2"
-SALOME_Logger_Server $2 &
-sleep 2
-
-echo "Starting SALOME_Registry_Server"
-SALOME_Registry_Server --salome_session theSession &
-#sleep 2
-
-echo "Starting SALOMEDS_Server"
-SALOMEDS_Server&
-#sleep 2
-
-echo "Starting SALOME_ModuleCatalog_Server -common ${SALOME_ROOT_DIR}/share/salome/resources/CatalogModuleGeneral.xml -personal ${HOME}/Salome/resources/CatalogModulePersonnel.xml"
-SALOME_ModuleCatalog_Server \
- -common ${SALOME_ROOT_DIR}/share/salome/resources/CatalogModuleGeneral.xml \
- -personal ${HOME}/Salome/resources/CatalogModulePersonnel.xml &
-#sleep 2
-
-echo "Starting SALOME_Session_Server"
-SALOME_Session_Server&
-#sleep 2
-
-echo "Starting runNotify.sh"
-notifd -c ${SALOME_ROOT_DIR}/share/salome/resources/channel.cfg -DFactoryIORFileName=/tmp/${LOGNAME}_rdifact.ior -DChannelIORFileName=/tmp/${LOGNAME}_rdichan.ior&
-#sleep 2
-
-echo "SALOME_Container FactoryServer -ORBInitRef NameService=corbaname::localhost"
-SALOME_Container FactoryServer -ORBInitRef NameService=corbaname::localhost:$1 &
-
-echo "SALOME_ContainerPy.py FactoryServerPy -ORBInitRef NameService=corbaname::localhost"
-SALOME_ContainerPy.py FactoryServerPy -ORBInitRef NameService=corbaname::localhost:$1 &
-
-echo "SALOME_Container SuperVisionContainer -ORBInitRef NameService=corbaname::localhost"
-SALOME_Container SuperVisionContainer -ORBInitRef NameService=corbaname::localhost:$1 &
-
-echo "--------------------------------------------------------------------------------"
-echo "| |"
-echo "| read README file on this directory for configuration and launch of SALOME |"
-echo "| |"
-echo "--------------------------------------------------------------------------------"
+++ /dev/null
-#! /bin/sh
-
-# you must define SALOME_ROOT_DIR and SALOME_SITE_DIR (if you need it)
-
-if test -n $SALOME_ROOT_DIR
-then
- export PATH=$SALOME_ROOT_DIR/bin/salome:${PATH}
- export LD_LIBRARY_PATH=$SALOME_ROOT_DIR/lib/salome:${LD_LIBRARY_PATH}
- export PYTHONPATH=${SALOME_ROOT_DIR}/lib/salome:${SALOME_ROOT_DIR}/lib/python2.2/site-packages/salome:${SALOME_ROOT_DIR}/share/salome/resources:${PYTHONPATH}
- # add bin, because some script are in (SALOME_SWIG) !!!!
- export PYTHONPATH=${SALOME_ROOT_DIR}/bin/salome:${PYTHONPATH}
-fi
-if test -n $SALOME_SITE_DIR
-then
- export PATH=$SALOME_SITE_DIR/bin/salome:${PATH}
- export LD_LIBRARY_PATH=$SALOME_SITE_DIR/lib/salome:${LD_LIBRARY_PATH}
- export PYTHONPATH=${SALOME_SITE_DIR}/lib/salome:${SALOME_SITE_DIR}/lib/python2.2/site-packages/salome:${SALOME_SITE_DIR}/share/salome/resources:${PYTHONPATH}
-fi
-
-if test -d $HOME/Salome/bin
-then
- export PATH=$HOME/Salome/bin:${PATH}
-fi
-if test -d $HOME/Salome/lib
-then
- export LD_LIBRARY_PATH=$HOME/Salome/lib:${LD_LIBRARY_PATH}
-fi
-
-#export ORB_ROOT_DIR=/export/home/LGLS/omni
-
-
-#PYVTK_PATH=
-#export PYTHONPATH=${PYTHONPATH}:${SALOME_ROOT_DIR}/idl:${SALOME_ROOT_DIR}/bin:${SALOME_ROOT_DIR}/lib:${PYVTK_PATH}:${EXEC_DIR}
-
-#export MICORC=/dev/null
-
-#cd ${SALOME_ROOT_DIR}/bin
-
-# OCAF
-export CSF_PluginDefaults=${SALOME_ROOT_DIR}/share/salome/resources
-export CSF_ResourcesDefaults=${SALOME_ROOT_DIR}/share/salome/resources
-#export CSF_RepeatServerRequest=10
-
-export CSF_PATHData=${SALOME_ROOT_DIR}/share/salome
-
-export tmp=/tmp
-
-echo "runSession standalone on ${HOSTNAME}"
-allkillWithPort
-
-echo "Starting runNS.sh"
-runNSWithPort.sh $1
-sleep 2
-
-echo "Starting SALOME_Logger_Server $2"
-SALOME_Logger_Server $2 &
-sleep 5
-
-echo "Starting SALOME_Registry_Server"
-SALOME_Registry_Server --salome_session theSession &
-sleep 2
-
-echo "Starting SALOMEDS_Server"
-SALOMEDS_Server&
-sleep 2
-
-echo "Starting SALOME_ModuleCatalog_Server -common ${SALOME_ROOT_DIR}/share/salome/resources/CatalogModuleGeneral.xml -personal ${HOME}/Salome/resources/CatalogModulePersonnel.xml"
-SALOME_ModuleCatalog_Server \
- -common ${SALOME_ROOT_DIR}/share/salome/resources/CatalogModuleGeneral.xml \
- -personal ${HOME}/Salome/resources/CatalogModulePersonnel.xml &
-sleep 2
-
-echo "Starting SALOME_Session_Server"
-SALOME_Session_Server&
-sleep 2
-
-echo "Starting runNotify.sh"
-notifd -c ${SALOME_ROOT_DIR}/share/salome/resources/channel.cfg -DFactoryIORFileName=/tmp/${LOGNAME}_rdifact.ior -DChannelIORFileName=/tmp/${LOGNAME}_rdichan.ior&
-sleep 2
-
-echo "SALOME_Container FactoryServer -ORBInitRef NameService=corbaname::localhost"
-SALOME_Container FactoryServer -ORBInitRef NameService=corbaname::localhost:$1 &
-
-echo "SALOME_ContainerPy.py FactoryServerPy -ORBInitRef NameService=corbaname::localhost"
-SALOME_ContainerPy.py FactoryServerPy -ORBInitRef NameService=corbaname::localhost:$1 &
-
-echo "SALOME_Container SuperVisionContainer -ORBInitRef NameService=corbaname::localhost"
-SALOME_Container SuperVisionContainer -ORBInitRef NameService=corbaname::localhost:$1 &
-
-sleep 5
-echo "Starting SALOME_Session_loader"
-SALOME_Session_loader&
-
-echo "--------------------------------------------------------------------------------"
-echo "| |"
-echo "| read README file on this directory for configuration and launch of SALOME |"
-echo "| |"
-echo "--------------------------------------------------------------------------------"
+++ /dev/null
-#! /bin/sh
-
-PYTHON_VERSION=python@PYTHON_VERSION@
-
-# you must define SALOME_ROOT_DIR and SALOME_SITE_DIR (if you need it)
-
-if test -n $SALOME_ROOT_DIR
-then
- export PATH=$SALOME_ROOT_DIR/bin/salome:${PATH}
- export LD_LIBRARY_PATH=$SALOME_ROOT_DIR/lib/salome:${LD_LIBRARY_PATH}
- export PYTHONPATH=${SALOME_ROOT_DIR}/lib/salome:${SALOME_ROOT_DIR}/lib/$PYTHON_VERSION/site-packages/salome:${SALOME_ROOT_DIR}/share/salome/resources:${PYTHONPATH}
- # add bin, because some script are in (SALOME_SWIG) !!!!
- export PYTHONPATH=${SALOME_ROOT_DIR}/bin/salome:${PYTHONPATH}
-fi
-if test -n $SALOME_SITE_DIR
-then
- export PATH=$SALOME_SITE_DIR/bin/salome:${PATH}
- export LD_LIBRARY_PATH=$SALOME_SITE_DIR/lib/salome:${LD_LIBRARY_PATH}
- export PYTHONPATH=${SALOME_SITE_DIR}/lib/salome:${SALOME_SITE_DIR}/lib/$PYTHON_VERSION/site-packages/salome:${SALOME_SITE_DIR}/share/salome/resources:${PYTHONPATH}
-fi
-
-if test -d $HOME/.salome/bin
-then
- export PATH=$HOME/.salome/bin:${PATH}
-fi
-if test -d $HOME/.salome/lib
-then
- export LD_LIBRARY_PATH=$HOME/.salome/lib:${LD_LIBRARY_PATH}
-fi
-
-# OCAF
-export CSF_PluginDefaults=${SALOME_ROOT_DIR}/share/salome/resources
-export CSF_ResourcesDefaults=${SALOME_ROOT_DIR}/share/salome/resources
-
-export CSF_PATHData=${SALOME_ROOT_DIR}/share/salome
-
-export tmp=/usr/tmp
-
-
-if test $# = 0; then
- echo "runSession on ${HOSTNAME}"
- ./allkill
-
- ./runNS.sh
- sleep 2
-
- ./SALOME_Registry_Server --salome_session theSession &
- sleep 2
-
- ./SALOME_Container FactoryServer &
-
- ./SALOME_ContainerPy.py FactoryServerPy &
- sleep 2
-
- ./SALOME_Container SuperVisionContainer &
-
- ./SALOMEDS_Server&
- sleep 2
-
- ./SALOME_ModuleCatalog_Server \
--common ${SALOME_ROOT_DIR}/share/salome/resources/CatalogModuleGeneral.xml \
--personal ${HOME}/.salome/resources/CatalogModulePersonnel.xml &
-sleep 2
-
- ./SALOME_Session_Server&
-
-notifd -c ${SALOME_ROOT_DIR}/share/salome/resources/channel.cfg -DFactoryIORFileName=/tmp/${LOGNAME}_rdifact.ior -DChannelIORFileName=/tmp/${LOGNAME}_rdichan.ior&
-
-fi
-
-if test $# != 0; then
- if test $1 == "FactoryServer"; then
- echo "./allkill $1"
- ./allkill $1
- fi
-# SALOME_Container usage: runSession SALOME_Container ServerName -ORBInitRef NameService=corbaname::hostname:tcpipPortNumber [/usr/bin/gdb]
-# if it is a python container ServerName must be ended by 'Py'
- if test $# == 5; then
- echo "Starting ${SALOME_ROOT_DIR}/bin/salome/$1 $2 $3 $4 with debugger on ${HOSTNAME}"
- echo "Type : run $2 $3 $4"
- $5 ${SALOME_ROOT_DIR}/bin/salome/$1
- fi
- if test $# == 4; then
- echo "Starting ${SALOME_ROOT_DIR}/bin/salome/$1 $2 $3 $4 on ${HOSTNAME}"
- ${SALOME_ROOT_DIR}/bin/salome/$1 $2 $3 $4 &
- fi
- if test $# == 3; then
- echo "Starting $1 $2 $3 on ${HOSTNAME}"
- $1 $2 $3
- fi
- if test $# == 2; then
- echo "Starting $1 $2 on ${HOSTNAME}"
- $1 $2
- fi
- if test $# == 1; then
- echo "Starting $1 $2 on ${HOSTNAME}"
- $1 $2
- fi
-fi
+++ /dev/null
-#! /bin/sh
-
-@ENVSCRIPT@
-cd ${SALOME_HOME_DIR}/bin
-
-./allkill
-
-
-./runNS.sh
-sleep 2
-./SALOME_Registry_Server &
-sleep 2
-#SALOME_Container ${SALOME_HOME_DIR}/lib/ /FactoryServer &
-SALOME_Container &
-sleep 2
-TestContainer
+++ /dev/null
-#! /bin/sh
-
-@ENVSCRIPT@
-cd ${SALOME_HOME_DIR}/bin
-
-# ---- cleaning jobs
-
-./allkill
-
-# ---- starting Name Service CORBA
-
-echo "Starting ./runNS.sh"
-./runNS.sh
-sleep 2
-
-# ---- starting Registry server
-
-echo "Starting ./SALOME_Registry_Server"
-./SALOME_Registry_Server --salome_session theSession &
-sleep 2
-
-# ---- launching container
-
-./SALOME_ContainerPy.py &
-
-# ---- test
-
-echo "lancer runTestContainerPy2"
+++ /dev/null
-#! /bin/sh
-
-@ENVSCRIPT@
-cd ${SALOME_HOME_DIR}/bin
-
-# ---- test
-
-./TestComponentPy.py
-
+++ /dev/null
-#! /bin/sh
-
-@ENVSCRIPT@
-cd ${SALOME_HOME_DIR}/bin
-
-./allkill
-
-# ---- starting Name Service CORBA
-
-./runNS.sh
-sleep 2
-
-# ---- starting module catalog
-
-./SALOME_ModuleCatalog_Server \
--common ${SALOME_SRC_DIR}/SALOME/resources/CatalogModuleGeneral.xml \
--personal ${SALOME_SRC_DIR}/SALOME/resources/CatalogModulePersonnel.xml &
-sleep 10
-
-# ---- launching containers
-
-#./SALOME_Container ${SALOME_HOME_DIR}/lib/ /FactoryServer &
-./SALOME_ContainerPy.py &
-sleep 2
-./SALOME_Container &
-sleep 2
-./TestLifeCycleCORBA
+++ /dev/null
-#! /bin/sh
-
-# test of MED compound :
-# You must specifie 5 arguments :
-# 1 : A med file ('/tmp/file.med')
-# 2 : A mesh name in this med file ('mymesh')
-# 3 : A field on all node in this med file on mymesh of course ('myfield')
-# 4 : A second field on all node in this med file on mymesh of course ('myfield2')
-# 5 : A vtk file to write mesh and fields ('/tmp/file.vtk)
-
-@ENVSCRIPT@
-
-cd ${SALOME_HOME_DIR}/bin
-
-./allkill
-
-
-./runNS.sh
-sleep 2
-./SALOME_Registry_Server --salome_session theSession &
-sleep 2
-
-# direct :
-./SALOME_Container &
-# with gdb
-#xterm -T "SALOME_Container" -bg "black" -fg "green" -e /usr/bin/gdb SALOME_Container&
-
-sleep 2
-
-# direct :
-./TestMED "$1" "$2" "$3" "$4" "$5"
-
-# with gdb (you must add argument when you type 'run' command in gdb : I don't find how to do this better)
-#xterm -T "TestMED" -bg "black" -fg "green" -e /usr/bin/gdb TestMED&
+++ /dev/null
-#! /bin/sh
-
-@ENVSCRIPT@
-cd ${SALOME_HOME_DIR}/bin
-
-./allkill
-
-# ---- starting Name Service CORBA
-
-./runNS.sh
-sleep 2
-
-runNotify.sh
-
-xterm -geometry -1+1 -e TestNotifServer -d 10 -v &
-sleep 1
-xterm -geometry +1+1 -e TestNotifClient -d 10 -v &
+++ /dev/null
-#!/bin/sh
-
-
-showNameService() {
-
- local noeud=$1
- local decalage=$2
-
- local list=`nameclt list $noeud`
-
- for i in $list
- do
- case $i in
- *.dir/)
- j=`echo $1/$i | sed -e 's,^/,,' -e 's,/$,,' -`
- k=`echo $j | sed -e 's,.dir,,g' -`
- echo "$decalage" $k "(dir)"
- showNameService "$j" "$decalage$decalage"
- ;;
- *)
- echo "$decalage" $i
- ;;
- esac
- done
-}
-
-showNameService "" " "