5 That describes how to start Salome without IHM in "terminal" mode.
7 With that "terminal" mode Salome may be started in "Batch" mode.
9 And one or more python scripts may be executed
14 The list of needed modules must be explicited with --modules option
16 It is not possible to use embbedded components, so we must use --standalone option
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
26 Sans IHM sans execution de script python (for interactive testing and developping) :
27 ---------------------------------------------
29 runSalome --terminal --modules=KERNEL,MED,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer,pyContainer --killall --logger
31 Sans IHM avec execution de script(s) python :
32 ---------------------------------------------
34 runSalome --terminal=CALCULATOR_TEST --modules=KERNEL,MED,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer,pyContainer --killall --logger
36 runSalome --terminal=CALCULATOR_TEST_WITHOUTIHM --modules=KERNEL,MED,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer,pyContainer --killall --logger
38 runSalome --terminal=CALCULATOR_TEST_STUDY_WITHOUTIHM --modules=KERNEL,MED,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer,pyContainer --killall --logger
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
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.
46 ===================================================
47 Example for starting Salome in Batch mode on CCRT :
48 ===================================================
50 Create a shell file "runSalome.batch" with for example :
51 --------------------------------------------------------
53 #BSUB -o runSalome.log%J
55 runSalome --terminal=CALCULATOR_TEST,killall --modules=KERNEL,MED,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer,pyContainer --killall
58 Queue for execution that file (here runSalome.batch) :
59 --------------------------------------------------------------------
60 bsub < runSalome.batch
62 See the "bsub" documentation for details (or "man bsub")