Salome HOME
Increase timeout for CI
[modules/kernel.git] / doc / README.cluster-CCRT
1 Copyright (C) 2007-2024  CEA, EDF, OPEN CASCADE
2
3 Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
10
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 Lesser General Public License for more details.
15
16 You should have received a copy of the GNU Lesser General Public
17 License along with this library; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19
20 See https://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21
22 OverView
23 ========
24
25 That describes how to start Salome without IHM in "terminal" mode.
26
27 With that "terminal" mode Salome may be started in "Batch" mode.
28
29 And one or more python scripts may be executed
30
31 Warnings
32 ========
33
34 The list of needed modules must be invoked with --modules option
35
36 It is not possible to use embedded components, so we must use --standalone option
37
38 After the python script(s) listed in the --terminal option, ",killall" should
39 be added : so the processes of Salome will be killed after the execution of
40 the python script(s).
41
42
43 Examples
44 ========
45
46 Sans IHM sans execution de script python (for interactive testing and developing) :
47 ---------------------------------------------
48
49 runSalome --terminal --modules=KERNEL,FIELDS,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer --killall --logger
50
51 Sans IHM avec execution de script(s) python :
52 ---------------------------------------------
53
54 runSalome --terminal=CALCULATOR_TEST --modules=KERNEL,FIELDS,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer --killall --logger
55
56 runSalome --terminal=CALCULATOR_TEST_WITHOUTIHM --modules=KERNEL,FIELDS,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer --killall --logger
57
58 runSalome --terminal=CALCULATOR_TEST_STUDY_WITHOUTIHM --modules=KERNEL,FIELDS,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer --killall --logger
59
60 runSalome --terminal=CALCULATOR_TEST_WITHOUTIHM,CALCULATOR_TEST_STUDY_WITHOUTIHM --modules=KERNEL,FIELDS,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer --killall --logger
61
62 runSalome --terminal=CALCULATOR_TEST,killall --modules=KERNEL,FIELDS,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer --killall --logger
63 after the import of CALCULATOR_TEST, killall will be executed.
64
65
66 ===================================================
67 Example for starting Salome in Batch mode on CCRT :
68 ===================================================
69
70 Create a shell file "runSalome.batch" with for example :
71 --------------------------------------------------------
72 #BSUB -n 10
73 #BSUB -o runSalome.log%J
74 #BSUB -c 0:10
75 runSalome --terminal=CALCULATOR_TEST,killall --modules=KERNEL,FIELDS,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer --killall
76 exit
77
78 Queue for execution that file (here runSalome.batch) :
79 --------------------------------------------------------------------
80 bsub < runSalome.batch
81
82 See the "bsub" documentation for details (or "man bsub")