1 Copyright (C) 2007-2019 CEA/DEN, EDF R&D, OPEN CASCADE
3 Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
20 See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
25 That describes how to start Salome without IHM in "terminal" mode.
27 With that "terminal" mode Salome may be started in "Batch" mode.
29 And one or more python scripts may be executed
34 The list of needed modules must be invoked with --modules option
36 It is not possible to use embedded components, so we must use --standalone option
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
46 Sans IHM sans execution de script python (for interactive testing and developing) :
47 ---------------------------------------------
49 runSalome --terminal --modules=KERNEL,FIELDS,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer --killall --logger
51 Sans IHM avec execution de script(s) python :
52 ---------------------------------------------
54 runSalome --terminal=CALCULATOR_TEST --modules=KERNEL,FIELDS,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer --killall --logger
56 runSalome --terminal=CALCULATOR_TEST_WITHOUTIHM --modules=KERNEL,FIELDS,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer --killall --logger
58 runSalome --terminal=CALCULATOR_TEST_STUDY_WITHOUTIHM --modules=KERNEL,FIELDS,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer --killall --logger
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
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.
66 ===================================================
67 Example for starting Salome in Batch mode on CCRT :
68 ===================================================
70 Create a shell file "runSalome.batch" with for example :
71 --------------------------------------------------------
73 #BSUB -o runSalome.log%J
75 runSalome --terminal=CALCULATOR_TEST,killall --modules=KERNEL,FIELDS,CALCULATOR,COMPONENT --containers=cpp,python --standalone=registry,study,moduleCatalog,cppContainer --killall
78 Queue for execution that file (here runSalome.batch) :
79 --------------------------------------------------------------------
80 bsub < runSalome.batch
82 See the "bsub" documentation for details (or "man bsub")