SALOME documentation central

Running SALOME

To launch SALOME:

  1. Install the SALOME package into a definite directory (ex. SALOME) on your hard disk. It is preferable if you use the special installation procedure allowing to install the SALOME platform and all corresponding applications.
  2. The installation shell script will create a special file: salome.csh (CShell file) in your SALOME/KERNEL directory. This file contains all environment variables necessary for launching SALOME platform with other application products provided with SALOME installation package. You have a possibility to add one of them into your profile if you enter in the command console the following:

    source salome.csh

    Tip: During the installation procedure you have a possibility to set your profile automatically.

  3. Launch SALOME platform, using the following Python script located in the SALOME/KERNEL/bin/salome directory:

    • runSalome.py [command line options]

Options

Description

--help or -h print this help
--gui or -g launch with GUI
--terminal or -t launch without GUI in batch mode
--logger or -l redirects log messages in the file logger.log
--file=<FILE> or -f=<FILE> redirects log messages in a custom file
--xterm or -x the servers open an xterm window and log messages are displayed in this window
--modules=module1,module2,... or -m=module1,module2,... list of SALOME modules which will be loaded into the module catalogue
--embedded=registry,study,moduleCatalog,cppContainer, or -e=registry,study,moduleCatalog,cppContainer embedded CORBA servers (default: registry,study,moduleCatalog,cppContainer) note that logger,pyContainer,supervContainer can't be embedded
--standalone=registry,study,moduleCatalog,cppContainer,pyContainer,supervContainer, or -s=registry,study,moduleCatalog,cppContainer,pyContainer,supervContainer standalone CORBA servers (default: pyContainer,supervContainer)
--containers=cpp,python,superv or -c=cpp,python,superv launch of cpp, python and supervision containers
--portkill or -p kill SALOME launched with the current port
--killall or -k kill SALOME
--interp=n or -i=n number of additional xterm to open, with session environment
-z display splash screen
-r disable centralized exception handling mechanism

Tip: If the runSalome.py script is launched without prompting any options, they will be taken by default from the file SalomeApp.xml (SALOME/GUI/share/salome/resources/SalomeApp.xml). If you are constantly launching SALOME with some specific options which are different from the defaults, you can edit this file according to your requirements. So the next time you run SALOME, you won't have to enter these numerous command console options.


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