Salome HOME
Issue 0020794: A strange cast (const char*) --> bool in SALOME_ModuleCatalog_Handler.cxx
[modules/kernel.git] / doc / README.cluster-CCRT
1
2 OverView
3 ========
4
5 That describes how to start Salome without IHM in "terminal" mode.
6
7 With that "terminal" mode Salome may be started in "Batch" mode.
8
9 And one or more python scripts may be executed
10
11 Warnings
12 ========
13
14 The list of needed modules must be explicited with --modules option
15
16 It is not possible to use embbedded components, so we must use --standalone option
17
18 After the python script(s) listed in the --terminal option, ",killall" should
19 be added : so the processes of Salome will be killed after the execution of
20 the python script(s).
21
22
23 Examples
24 ========
25
26 Sans IHM sans execution de script python (for interactive testing and developping) :
27 ---------------------------------------------
28
29 runSalome --terminal --modules=KERNEL,MED,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer,pyContainer --killall --logger
30
31 Sans IHM avec execution de script(s) python :
32 ---------------------------------------------
33
34 runSalome --terminal=CALCULATOR_TEST --modules=KERNEL,MED,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer,pyContainer --killall --logger
35
36 runSalome --terminal=CALCULATOR_TEST_WITHOUTIHM --modules=KERNEL,MED,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer,pyContainer --killall --logger
37
38 runSalome --terminal=CALCULATOR_TEST_STUDY_WITHOUTIHM --modules=KERNEL,MED,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer,pyContainer --killall --logger
39
40 runSalome --terminal=CALCULATOR_TEST_WITHOUTIHM,CALCULATOR_TEST_STUDY_WITHOUTIHM --modules=KERNEL,MED,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer,pyContainer --killall --logger
41
42 runSalome --terminal=CALCULATOR_TEST,killall --modules=KERNEL,MED,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer,pyContainer --killall --logger
43 after the import of CALCULATOR_TEST, killall will be executed.
44
45
46 ===================================================
47 Example for starting Salome in Batch mode on CCRT :
48 ===================================================
49
50 Create a shell file "runSalome.batch" with for example :
51 --------------------------------------------------------
52 #BSUB -n 10
53 #BSUB -o runSalome.log%J
54 #BSUB -c 0:10
55 runSalome --terminal=CALCULATOR_TEST,killall --modules=KERNEL,MED,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer,pyContainer --killall
56 exit
57
58 Queue for execution that file (here runSalome.batch) :
59 --------------------------------------------------------------------
60 bsub < runSalome.batch
61
62 See the "bsub" documentation for details (or "man bsub")
63