5.13. Running SALOMEΒΆ

Go to the the <SMITER_module_installation_dir> directory and type:

[bash% ] ./bin/salome/runAppli

This command runs SALOME session configured for KERNEL and the SMITER module. At the end of running, the user will be prompted by the Python interpreter command line configured for SALOME that provides access to SALOME Python API (including CORBA interfaces).

The runAppli file is a shell script that executes a Python commands running SALOME session by passing arguments to it in a command line:

${KERNEL_ROOT_DIR}/bin/salome/envSalome.py python -i $SMITER_ROOT_DIR/bin/salome/myrunSalome.py --modules=SMITER --killall

These arguments state that the myrunSalome.py script located in the SMITER module will be used, that the SMITER component will be activated and all previously running SALOME sessions should be shutdown.

This command will not function unless the following environment variables have previously been set:

export KERNEL_ROOT_DIR=<KERNEL installation="" path>="">
export SMITER_ROOT_DIR=<SMITER installation="" path>="">

It is possible that the SALOME run will not reach the end. In some circumstances, the time to start CORBA servers may be long and could exceed the timeout. If the reason is that the time to load dynamic libraries is long, it is possible that a second run immediately afterwards will be successful.