1 There are several scripts for launching SALOME.
2 First of all you have possibility to launch all servers simultaneously using any
3 of following scripts: runSalome or runSalomeWithPort. The difference between
4 them consist in using port number for running Naming Service. You should set
5 port number in a omniORB.cfg in your home folder. This file contains following
7 ORBInitRef NameService=corbaname::moulinex:2888 ,
8 where moulinex is a machine name and 2888 is a unique port number.
9 The runSalome script doesn't contain any parameter related to using specific port
10 number and in order to use it you must set port number as 2809. Otherwise you
11 will not be able to run all servers. Also you can have problems at attempt to
12 launch SALOME application on computer with existing instance of the same program
13 launched by another user. In order to avoid this we recomment strongly to use
14 runSalomeWithPort scripts. You must pass port number defined in your omniORB.cfg
16 Also both scripts use special CORBA server Logger that is used in order to put
17 all messages in one place. You can put all messages related to SALOME application
18 you should pass absolute pathname of output file as parameter for both scripts.
19 Otherwise all messages will be put into terminal.
20 Example of using runSalome:
21 runSalome ~/SALOME.log
22 Example of using runSalomeWithPort:
23 runSalomeWithPort 2888 ~/SALOME.log
24 Another way to launch salome consists in using two interdependent scripts:
25 runSalomeServers and runSalomeDesktop. This way is more elegant and also it can
26 save your time you spend on successive running SALOME. At first it's necessary to
27 load all servers with help of runSalomeServers scripts. It can take two
28 parameters. First one is indispensable for launching and it should contains port
29 number for Naming Service. Second parameter contains absolute pathname for
30 special Logger server. In case you not pass second parameter all output messages
31 will be put into terminal instead of file. You have to launch runSalomeServers
32 before runSalomeDesktop only once time. Then you can launch runSalomeDesktop
33 (without any parameters) that is in charge of loading GUI.
35 1. runSalomeServers 2888 ~/SALOME.log
37 3. You can close application and run it again.
38 Just type runSalomeDesktop again and enjoy.