Salome HOME
Initial version
[modules/gui.git] / doc / salome / gui / KERNEL / files / running_salome_pro.htm
1 <!DOCTYPE doctype PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
2 <html>
3 <head>
4 <!--(==============================================================)--><!--(Document created with RoboEditor. )============================--><!--(==============================================================)-->
5   <title>Running SALOME</title>
6     <!--(Meta)==========================================================--> 
7  
8   <meta http-equiv="content-type"
9  content="text/html; charset=windows-1252">
10  
11   <meta name="generator"
12  content="RoboHELP by eHelp Corporation - www.ehelp.com">
13  
14   <meta name="generator-major-version" content="0.1">
15  
16   <meta name="generator-minor-version" content="1">
17  
18   <meta name="filetype" content="kadov">
19  
20   <meta name="filetype-version" content="1">
21  
22   <meta name="page-count" content="1">
23  
24   <meta name="layout-height" content="1118">
25  
26   <meta name="layout-width" content="707">
27    <!--(Links)=========================================================--> 
28   
29   <link rel="stylesheet" href="../default_ns.css">
30  
31   <script type="text/javascript" language="JavaScript"
32  title="WebHelpSplitCss">\r
33 <!--\r
34 if (navigator.appName !="Netscape")\r
35 {   document.write("<link rel='stylesheet' href='../default.css'>");}\r
36 //-->\r
37   </script> 
38   <style type="text/css">\r
39 <!--\r
40 h1.whs1 {font-family: 'Times New Roman', serif;}\r
41 p.whs2 {margin-left: 0px; font-style: italic; color: #000000; font-family: 'Arial Black', sans-serif;}\r
42 p.whs3 {font-family: 'Times New Roman', serif; margin-left: 0px;}\r
43 p.whs4 {font-family: 'Times New Roman', serif; margin-left: 40px; font-style: normal; color: #000000;}\r
44 p.whs5 {font-family: 'Times New Roman', serif; color: #ff0000; font-style: italic; margin-left: 40px;}\r
45 p.whs6 {font-family: 'Times New Roman', serif; margin-left: 40px; color: #000000; font-style: normal;}\r
46 p.whs7 {font-family:'Courier New' , monospace; margin-left:0px; background-image:url(../texture_horiz_ltbluebubbles.jpg); }\r
47 img_whs8 {border-style: none; border: none; width: 35px; height: 37px; float: none;}\r
48 p.whs9 {margin-left: 0px;}\r
49 p.whs10 {margin-left: 40px;}\r
50 p.whs11 {margin-left: 40px; font-style: normal; color: #000000; font-weight: normal; font-family: 'Times New Roman', serif;}\r
51 ul.whs12 {list-style: disc;}\r
52 table.whs13 {x-cell-content-align: top; width: 96.029%; border-spacing: 0px; border-left-style: Solid; border-left-width: 1px; border-right-style: Solid; border-right-width: 1px; border-top-style: Solid; border-top-width: 1px; border-bottom-style: Solid; border-bottom-width: 1px; border-left-color: #c0c0c0; border-right-color: #c0c0c0; border-top-color: #c0c0c0; border-bottom-color: #c0c0c0; border-spacing: 0px;}\r
53 col.whs14 {width: 214px;}\r
54 col.whs15 {width: 390px;}\r
55 tr.whs16 {x-cell-content-align: top; height: 41px;}\r
56 td.whs17 {width: 214px; padding-right: 10px; padding-left: 10px; background-color: #400080; border-left-color: #c0c0c0; border-top-color: #c0c0c0; border-top-style: Solid; border-bottom-color: #c0c0c0; border-bottom-width: 1px; border-bottom-style: Solid; border-right-color: #c0c0c0; border-right-width: 1px; border-right-style: Solid; border-left-width: 1px; border-left-style: Solid; border-top-width: 1px;}\r
57 p.whs18 {color: #ffffff;}\r
58 td.whs19 {width: 390px; padding-right: 10px; padding-left: 10px; background-color: #400080; border-top-color: #c0c0c0; border-top-style: Solid; border-right-color: #c0c0c0; border-right-style: Solid; border-bottom-color: #c0c0c0; border-bottom-width: 1px; border-bottom-style: Solid; border-top-width: 1px; border-right-width: 1px;}\r
59 td.whs20 {width: 214px; padding-right: 10px; padding-left: 10px; border-left-color: #c0c0c0; border-bottom-color: #c0c0c0; border-bottom-width: 1px; border-bottom-style: Solid; border-right-color: #c0c0c0; border-right-width: 1px; border-right-style: Solid; border-left-width: 1px; border-left-style: Solid;}\r
60 td.whs21 {width: 390px; padding-right: 10px; padding-left: 10px; border-right-color: #c0c0c0; border-right-style: Solid; border-bottom-color: #c0c0c0; border-bottom-width: 1px; border-bottom-style: Solid; border-right-width: 1px;}\r
61 td.whs22 {width: 214px; padding-right: 10px; padding-left: 10px; border-left-color: #c0c0c0; border-bottom-color: #c0c0c0; border-bottom-style: Solid; border-right-color: #c0c0c0; border-right-width: 1px; border-right-style: Solid; border-left-width: 1px; border-left-style: Solid; border-bottom-width: 1px;}\r
62 td.whs23 {width: 390px; padding-right: 10px; padding-left: 10px; border-right-color: #c0c0c0; border-right-style: Solid; border-bottom-color: #c0c0c0; border-bottom-style: Solid; border-bottom-width: 1px; border-right-width: 1px;}\r
63 td.whs24 {width: 214px; padding-right: 10px; padding-left: 10px; border-left-style: Solid; border-left-width: 1px; border-left-color: #c0c0c0; border-right-style: Solid; border-right-width: 1px; border-right-color: #c0c0c0; border-bottom-width: 1px; border-bottom-style: Solid; border-bottom-color: #c0c0c0;}\r
64 td.whs25 {width: 390px; padding-right: 10px; padding-left: 10px; border-right-width: 1px; border-right-style: Solid; border-right-color: #c0c0c0; border-bottom-width: 1px; border-bottom-style: Solid; border-bottom-color: #c0c0c0;}\r
65 td.whs26 {width: 214px; padding-right: 10px; padding-left: 10px; border-left-color: #c0c0c0; border-left-width: 1px; border-left-style: Solid; border-right-color: #c0c0c0; border-right-width: 1px; border-right-style: Solid; border-bottom-color: #c0c0c0; border-bottom-style: Solid; border-bottom-width: 1px;}\r
66 td.whs27 {width: 390px; padding-right: 10px; padding-left: 10px; border-right-color: #c0c0c0; border-right-style: Solid; border-right-width: 1px; border-bottom-color: #c0c0c0; border-bottom-style: Solid; border-bottom-width: 1px;}\r
67 p.whs28 {font-weight:bold; margin-left:0px; font-family:'Courier New' , monospace; background-image:url(../texture_horiz_ltbluebubbles.jpg); }\r
68 p.whs29 {font-family: 'Times New Roman', serif; margin-left: 80px;}\r
69 p.whs30 {font-family: 'Courier New', monospace; margin-left: 0px;}\r
70 -->\r
71   </style> 
72   <script type="text/javascript" language="JavaScript">\r
73 <!--\r
74 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
75 {\r
76   var strNSS = "<style type='text/css'>";\r
77   strNSS += "p.whs2 {margin-left:1; }";\r
78   strNSS += "p.whs3 {margin-left:1; }";\r
79   strNSS += "p.whs7 {margin-left:1; }";\r
80   strNSS += "p.whs9 {margin-left:1; }";\r
81   strNSS += "p.whs28 {margin-left:1; }";\r
82   strNSS += "p.whs30 {margin-left:1; }";\r
83   strNSS +="</style>";\r
84   document.write(strNSS);\r
85 }\r
86 //-->\r
87   </script> 
88   <script type="text/javascript" language="JavaScript"
89  title="BSSC Special Effects" src="../ehlpdhtm.js"></script>
90   <script type="text/javascript" language="JavaScript"
91  title="WebHelpInlineScript">\r
92 <!--\r
93 function reDo() {\r
94   if (innerWidth != origWidth || innerHeight != origHeight)\r
95      location.reload();\r
96 }\r
97 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
98         origWidth = innerWidth;\r
99         origHeight = innerHeight;\r
100         onresize = reDo;\r
101 }\r
102 onerror = null; \r
103 //-->\r
104   </script> 
105   <style type="text/css">\r
106 <!--\r
107   div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}\r
108 -->\r
109   </style> 
110   <script type="text/javascript" language="javascript1.2"
111  src="../whmsg.js"></script> 
112   <script type="text/javascript" language="javascript" src="../whver.js"></script> 
113   <script type="text/javascript" language="javascript1.2"
114  src="../whproxy.js"></script> 
115   <script type="text/javascript" language="javascript1.2"
116  src="../whutils.js"></script> 
117   <script type="text/javascript" language="javascript1.2"
118  src="../whtopic.js"></script><!--(Body)==========================================================-->
119 </head>
120            <body>
121   
122 <script type="text/javascript" language="javascript1.2">\r
123 <!--\r
124 if (window.gbWhTopic)\r
125 {\r
126         if (window.addTocInfo)\r
127         {\r
128         addTocInfo("About SALOME\nRunning SALOME");\r
129 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
130 \r
131         }\r
132         if (window.writeBtnStyle)\r
133                 writeBtnStyle();\r
134 \r
135         if (window.writeIntopicBar)\r
136                 writeIntopicBar(1);\r
137 \r
138         if (window.setRelStartPage)\r
139         {\r
140         setRelStartPage("../kernel.html");\r
141 \r
142                 autoSync(0);\r
143                 sendSyncInfo();\r
144                 sendAveInfoOut();\r
145         }\r
146 }\r
147 else\r
148         document.location.reload();\r
149 //-->\r
150 </script> 
151 <h1 class="whs1">Running SALOME</h1>
152   
153 <p class="whs2">To launch SALOME:</p>
154   
155 <p class="whs3"> </p>
156   
157 <p class="whs4">1. Install the SALOME package into a definite   directory
158 (ex. <span style="font-weight: bold;"><b>SALOME</b></span>) on your   hard
159 disk. It is preferable if you use the <a href="readme.html">special   installation
160 procedure</a> allowing to install the  SALOME   platform and all corresponding
161 applications. </p>
162   
163 <p class="whs5"> </p>
164   
165 <p class="whs6">2.<span style="font-family: 'Courier New',monospace;">  
166 </span>The installation shell script will create a special file: <b>env.csh</b>
167   (CShell file) in your <b><i><span
168  style="font-style: normal; font-weight: bold;"><b>SALOME</b></span><span
169  style="font-weight: normal; font-style: normal;"> </span></i></b>directory.
170   This file contains all environment variables necessary for launching SALOME
171   platform with other application products provided with SALOME installation
172   package. You have a possibility to add one of them into your profile if
173   you enter in the command console the following:</p>
174   
175 <p class="whs6"> </p>
176   
177 <p class="whs6"><span style="font-family: 'Courier New',monospace;">source
178   env.csh </span></p>
179   
180 <p class="whs6"> </p>
181   
182 <p class="whs10">3. Launch SALOME platform, using the following   Python
183 script located in the <span style="font-weight: bold;"><b>SALOME/KERNEL/bin/salome</b></span>
184   directory:</p>
185   
186 <p class="whs11"> </p>
187   
188 <ul type="disc" class="whs12">
189                 <li class="kadov-p">
190     <p class="whs10"><span style="font-weight: bold;"><b>runSalome.py</b></span>
191   [command line options]</p>
192   </li>
193  
194 </ul>
195   
196 <p class="whs10"> </p>
197   <!--(Table)=========================================================--> 
198 <table x-use-null-cells="" resizable="no" cellspacing="0" width="96%"
199  class="whs13">
200  
201   <script language="JavaScript"><!--\r
202 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table><table x-use-null-cells resizable='no' cellspacing='0' width='96.029%' border='1' bordercolor='silver' bordercolorlight='silver' bordercolordark='silver'>");\r
203 //--></script> 
204   <col class="whs14"> <col class="whs15">  <tbody>
205     <tr valign="top" class="whs16">
206  <td bgcolor="#400080" width="214" class="whs17"> 
207       <p class="whs18">Options</p>
208       </td>
209  <td bgcolor="#400080" width="390" class="whs19"> 
210       <p class="whs18">Description</p>
211       </td>
212     </tr>
213   <tr valign="top" class="whs16">
214  <td width="214" class="whs20"> 
215       <p><span style="font-weight: bold;"><b>--help</b></span> <span
216  style="font-style: italic;"><i>or</i></span>   <span
217  style="font-weight: bold;"><b>-h</b></span>   </p>
218       </td>
219  <td width="390" class="whs21"> 
220       <p>print this help</p>
221  
222       <p> </p>
223       </td>
224     </tr>
225   <tr valign="top" class="whs16">
226  <td width="214" class="whs20"> 
227       <p><span style="font-weight: bold;"><b>--gui</b></span> <span
228  style="font-style: italic;"><i>or</i></span>   <span
229  style="font-weight: bold;"><b>-g</b></span>   </p>
230       </td>
231  <td width="390" class="whs21"> 
232       <p>launch with GUI</p>
233       </td>
234     </tr>
235   <tr valign="top" class="whs16">
236  <td width="214" class="whs20"> 
237       <p> <span style="font-weight: bold;"><b><a name="batchmode"></a>--terminal</b></span>
238       <span style="font-style: italic;"><i>or   </i></span><span
239  style="font-weight: bold;"><b>-t</b></span>      </p>
240       </td>
241  <td width="390" class="whs21"> 
242       <p>launch without GUI in batch mode</p>
243       </td>
244     </tr>
245   <tr valign="top" class="whs16">
246  <td colspan="1" rowspan="1" width="214" class="whs20"> 
247       <p><span style="font-weight: bold;"><b>--logger</b></span> <span
248  style="font-style: italic;"><i>or</i></span>   <span
249  style="font-weight: bold;"><b>-l</b></span>   </p>
250       </td>
251  <td colspan="1" rowspan="1" width="390" class="whs21"> 
252       <p>redirection of log messages into a definite file </p>
253       </td>
254     </tr>
255   <tr valign="top" class="whs16">
256  <td colspan="1" rowspan="1" width="214" class="whs20"> 
257       <p><span style="font-weight: bold;"><b>--xterm</b></span> <span
258  style="font-style: italic;"><i>or</i></span>   <span
259  style="font-weight: bold;"><b>-x</b></span> </p>
260       </td>
261  <td colspan="1" rowspan="1" width="390" class="whs21"> 
262       <p>the servers open an xterm window and log messages are displayed
263 in this   window</p>
264       </td>
265     </tr>
266   <tr valign="top" class="whs16">
267  <td colspan="1" rowspan="1" width="214" class="whs20"> 
268       <p><span style="font-weight: bold;"><b>--modules=module1,module2,...</b></span>
269   <span style="font-style: italic;"><i>or</i></span> <span
270  style="font-weight: bold;"><b>-m=module1,module2,...</b></span></p>
271       </td>
272  <td colspan="1" rowspan="1" width="390" class="whs21"> 
273       <p>list of SALOME modules which will be loaded into the module catalogue</p>
274       </td>
275     </tr>
276   <tr valign="top" class="whs16">
277  <td colspan="1" rowspan="1" width="214" class="whs22"> 
278       <p><span style="font-weight: bold;"><b>--containers=cpp,python,superv</b></span></p>
279  
280       <p><span style="font-style: italic;"><i>or</i></span> <span
281  style="font-weight: bold;"><b>-c=cpp,python,superv</b></span></p>
282       </td>
283  <td colspan="1" rowspan="1" width="390" class="whs23"> 
284       <p>launch of cpp, python and supervision containers</p>
285       </td>
286     </tr>
287   <tr valign="top" class="whs16">
288  <td colspan="1" rowspan="1" width="214" class="whs24"> 
289       <p><span style="font-weight: bold;"><b>--portkill</b></span> <span
290  style="font-style: italic;"><i>or</i></span>   <span
291  style="font-weight: bold;"><b>-p</b></span></p>
292       </td>
293  <td colspan="1" rowspan="1" width="390" class="whs25"> 
294       <p>kill SALOME launched with the current port</p>
295       </td>
296     </tr>
297   <tr valign="top" class="whs16">
298  <td colspan="1" rowspan="1" width="214" class="whs26"> 
299       <p><span style="font-weight: bold;"><b>--killall</b></span> <span
300  style="font-style: italic;"><i>or</i></span>   <span
301  style="font-weight: bold;"><b>-k</b></span>    </p>
302       </td>
303  <td colspan="1" rowspan="1" width="390" class="whs27"> 
304       <p>kill SALOME</p>
305       </td>
306     </tr>
307  
308     <script language="JavaScript"><!--\r
309 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>");\r
310 //--></script> 
311   </tbody>
312 </table>
313   
314 <p class="whs10"> </p>
315   
316 <p class="whs28"><img src="../tip1.gif" x-maintain-ratio="TRUE"
317  width="35" height="37" border="0" class="img_whs8">
318 <span style="font-weight: normal; font-family: 'Times New Roman',serif;">
319   If the </span><span style="font-family: 'Times New Roman',serif;">runSalome.py
320   </span><span
321  style="font-family: 'Times New Roman',serif; font-weight: normal;">script
322   is launched without prompting any options, they will be taken by default
323   from the xml file </span><span
324  style="font-family: 'Times New Roman',serif;">salome.launch</span><span
325  style="font-family: 'Times New Roman',serif; font-weight: normal;">,   which
326 has been automatically created in your home directory: </span><span
327  style="font-family: 'Times New Roman',serif;">HOME/.salome/</span><span
328  style="font-family: 'Times New Roman',serif; font-weight: normal;">.   </span>   </p>
329   
330 <p class="whs29"> </p>
331   
332 <p class="whs29"> </p>
333   
334 <p class="whs30"> <a href="javascript:void(0);"
335  onclick="var e; if (parseInt(navigator.appVersion)>=4){e=event;}  if (parseInt(navigator.appVersion) >=2 && typeof(PopupMenu_Invoke) == 'function') PopupMenu_Invoke(e,'','About SALOME PRO architecture','about_salome_pro_architecture.htm','Installing SALOME PRO','readme.html','Introduction to SALOME PRO','introduction_to_salome_pro.htm');return false;"
336  title="Related Topics"><img src="../ss_btn_related_topics.gif"
337  border="0" height="17" width="82" alt="Related Topics">
338 </a></p>
339   
340 <p class="whs30"> </p>
341   
342 <p class="whs30"> </p>
343   
344 <p class="whs30"> </p>
345   
346 <script type="text/javascript" language="JavaScript"
347  title="WebHelpRelatedTopics"><!--\r
348 if (parseInt(navigator.appVersion) >= 3 && typeof (WritePopupMenuLayer) == "function")\r
349   WritePopupMenuLayer();\r
350 //--></script>
351 <script type="text/javascript" language="javascript1.2">\r
352 <!--\r
353 if (window.writeIntopicBar)\r
354         writeIntopicBar(0);\r
355 //-->\r
356 </script> <br>
357 </body>
358 </html>