3 APPLI_HOME=`dirname $0`
5 # --- retrieve APPLI path, relative to $HOME, set ${APPLI}
7 . ${APPLI_HOME}/setAppliPath.sh
9 # --- set the SALOME environment (prerequisites, MODULES_ROOT_DIR...)
11 . ${HOME}/${APPLI}/envd ${HOME}/${APPLI}
13 # --- define port for CORBA naming service
15 . ${HOME}/${APPLI}/searchFreePort.sh
18 # --- if mpi lam, start lam (seems safe to be done several times)
19 # arret manuel avec lamhalt
21 if [ "$LAMBHOST" ]; then
26 # (default arguments defined in local salome.launch could be completed
27 # by arguments to this command)
29 if [ $# -ne 0 ] ; then
30 ${KERNEL_ROOT_DIR}/bin/salome/envSalome.py python -i ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py $*
33 ${KERNEL_ROOT_DIR}/bin/salome/envSalome.py python ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py