3 APPLI_HOME=`dirname $0`
5 # --- retrieve APPLI path, relative to $HOME, set ${APPLI}
7 export APPLI=`${APPLI_HOME}/getAppliPath.py`
9 # --- set the SALOME environment (prerequisites, MODULES_ROOT_DIR...)
11 . ${HOME}/${APPLI}/envd ${HOME}/${APPLI}
13 # --- if mpi lam, start lam (seems safe to be done several times)
14 # (manual stop with lamhalt)
16 if [ "$LAMBHOST" ]; then
21 # (default arguments defined in local SalomeApp.xml could be completed
22 # by arguments to this command)
24 if [ $# -ne 0 ] ; then
25 ${KERNEL_ROOT_DIR}/bin/salome/envSalome.py python ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py $*
28 ${KERNEL_ROOT_DIR}/bin/salome/envSalome.py python ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py