See \subpage SALOME_Application to define your own configuration of %SALOME and run it
on one or several computers. This is the recommended way of configuration.
-# <b>How to launch %SALOME</b>:
- - Using a python launcher like the \subpage salome_command.
- - <i>Deprecated:</i> Using the shell launchers (runAppli, runSession, runConsole...) alongside configuration files (*.cfg or *.sh),
- - <i>Deprecated:</i> Using \c runSalome script, see \subpage running_salome_page
+ - Using \b NEW \subpage salome_command, based on \ref SALOME_Application.
+ - In a %SALOME application, see \ref SALOME_Application.
+ - Using \c runSalome script, see \subpage running_salome_page
-# <b>How to use KERNEL services in Python scripts</b>\n
The %SALOME KERNEL offers a list of services available in Python. See \subpage KERNEL_Services.
-# <b>How to use KERNEL services from a C++ context</b>\n
There are two ways to run %SALOME:
-1) Using a python launcher.
-
-For more details see \ref salome_command.
-
-2) Deprecated : Using shell launchers.
+1) Using <b>Salome Application Concept</b> approach.
For more details see \ref SALOME_Application.
-3) Deprecated : Using <b>\c %runSalome</b> script supplied with %SALOME KERNEL module distribution.
+2) Using <b>\c %runSalome</b> script supplied with %SALOME KERNEL module distribution.
To launch %SALOME using \c %runSalome script, you have first to
set-up proper environment for %SALOME. If you installed %SALOME using
\section S1_sal_appl General principles
-%A %SALOME application is defined by :
-- a set of modules (GEOM, SMESH, ASTER...)
-- a profile: set of informatic resources (images, documentation, tests...) binding the modules together.
-- a launcher: python script that creates a context (set of environment variables usable by the SALOME modules) and runs an instance of SALOME.
-
+%A %SALOME application is defined by a set of modules (GEOM, SMESH, ASTER...). %A %SALOME application
+lives in an application directory.
+%A %SALOME application is a virtual installation of %SALOME in the application directory
+(bin, lib, doc, share...), with, for each file (executable, script, data,
+library, resources...), symbolic links to the actual files.
%A %SALOME User can define several %SALOME Applications. These applications are
runnable from the same user account. These applications may share the same
password (key exchange for ssh). Account may be different on each
computer.
-\section S2_sal_appl Generation of a profile
-
-The user can generate a default profile for its application using the following command:
-\code
-python ${KERNEL_ROOT_DIR}/bin/salome/app-quickstart.py --prefix=<generation directory> --name=<application's name> --modules=<list,of,modules>
-\endcode
-
-Likely, the user would like to personalize its application's profile. Then, the profile
-can be compiled using the standard cmake procedure:
-
-\code
-cmake
-make
-make install
-\endcode
-
-This profile can be used within a python launcher - like the \subpage salome_command - by setting
-context variable <b>SalomeAppConfig</b> to the path where the profile is installed.
-
-
-\section S3_sal_appl Deprecated Application Directory
+\section S2_sal_appl Application Directory
First, the user must create a %SALOME application configuration file by modifying a
copy of ${KERNEL_ROOT_DIR}/bin/salome/config_appli.xml.
For a distributed application (several computers), one must copy and adapt
CatalogResources.xml from ${KERNEL_ROOT_DIR}/bin/salome/appliskel (see below).
-\section S4_sal_appl Deprecated general rules
+\section S3_sal_appl General rules
The application directory must be created on each computer of the application.
The easiest way is to use the same relative path (to ${HOME}) on each computer.
</li>
</ol>
-\section S5_sal_appl Deprecated examples of use
+\section S4_sal_appl Examples of use
<ol>
<li>