2. What is SALOME session-less (SSL)?

With increasingly powerful computers, CORBA is becoming less useful in SALOME, apart from YACS and the code coupling use cases. When CORBA is not needed, an optimised mode has been developed to avoid launching CORBA session server. This mode, called SSL, will be the default mode from SALOME 9.9. With this mode, all code is executed within the main SALOME process. The user does not need to “kill” the servers after using SALOME. Debugging and testing is also easier.

To use this session-less mode for launching python scripts:

  • either set the environment variable SALOME_EMB_SERVANT to 1. On Linux:
export SALOME_EMB_SERVANT=1

or on Windows:

SET SALOME_EMB_SERVANT=1
  • or add in your python script:
salome.standalone()
salome.salome_init()

To test this session-less mode in the graphic user interface (only for some module in SALOME 9.8), launch SALOME with:

./salome sessionless