* Change the directory where the application is created: ::
- sat application <application> --target </my/applications/directory>
+ sat application <application> --target </my/appli/directory>
* Set a specific SALOME resources catalog (it will be used for the distribution of components on distant machines): ::
This will create a catalog by querying each machine through ssh protocol (memory, number of processor) with ssh.
+* Generate a mesa application (if mesa and llvm are parts of the application). Use this option only if you have to use salome through ssh and have problems with ssh X forwarding of OpengGL modules (like Paravis): ::
+
+ sat launcher <application> --use_mesa
Configuration
=============
* Clean the build and install directories before starting compilation: ::
sat compile <application> --products GEOM --clean_all
- Note: a warning will be shown if option --products is missing (as it will clean everything!)
+ Note: a warning will be shown if option --products is missing
+ (as it will clean everything!)
* Clean only the install directories before starting compilation: ::
--- /dev/null
+****************
+Command generate
+****************
+
+Description
+===========
+The **generate** command generates and compile SALOME modules from cpp modules using YACSGEN.
+
+.. note:: This command uses YACSGEN to generate the module. It needs to be specified with *--yacsgen* option, or defined in the product or by the environment variable ``$YACSGEN_ROOT_DIR``.
+
+
+Remarks
+=======
+* This command will only apply on the CPP modules of the application, those who have both properties: ::
+
+ cpp : "yes"
+ generate : "yes"
+
+* The cpp module are usually computational components, and the generated module brings the CORBA layer which allows distributing the compononent on remore machines. cpp modules should conform to YACSGEN/hxx2salome requirements (please refer to YACSGEN documentation)
+
+
+Usage
+=====
+* Generate all the modules of a product: ::
+
+ sat generate <application>
+
+* Generate only specific modules: ::
+
+ sat generate <application> --products <list of products>
+
+ Remark: modules which don't have the *generate* property are ignored.
+
+* Use a specific version of YACSGEN: ::
+
+ sat generate <application> --yacsgen <path to yacsgen>
+
Generate a launcher in the application directory, i.e ``$APPLICATION.workdir``.
-* Create a launcher with a given name ::
+* Create a launcher with a given name (default name is APPLICATION.profile.launcher_name) ::
- sat launcher <application>
+ sat launcher <application> --name ZeLauncher
The launcher will called ZeLauncher.
* Set a specific resources catalog: ::
- sat launcher <application>
+ sat launcher <application> --catalog <path of a salome resources catalog>
Note that the catalog specified will be copied to the profile directory.
* Generate the catalog for a list of machines: ::
- sat launcher <application>
+ sat launcher <application> --gencat <list of machines>
This will create a catalog by querying each machine (memory, number of processor) with ssh.
+* Generate a mesa launcher (if mesa and llvm are parts of the application). Use this option only if you have to use salome through ssh and have problems with ssh X forwarding of OpengGL modules (like Paravis): ::
+
+ sat launcher <application> --use_mesa
+
+
+
Configuration
=============
* APPLICATION.profile
environ <commands/environ>
clean <commands/clean>
package <commands/package>
+ generate <commands/generate>
Code documentation
==================