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