SALOME documentation central

Running SALOME

Go to the the <PYHELLO_module_installation_dir> directory and type:

[bash% ] ./bin/salome/runAppli

This command runs SALOME session configured for KERNEL and the PYHELLO 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 $PYHELLO_ROOT_DIR/bin/salome/myrunSalome.py --modules=PYHELLO --killall

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

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

export KERNEL_ROOT_DIR=<KERNEL installation="" path>="">
export PYHELLO_ROOT_DIR=<PYHELLO installation="" path>="">
Warning:
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 reasons is that the time to load dynamic libraries is long, it is possible that a second run immediately afterwards will be successful.

<< Previous
>> Next


Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS