Version: 9.12.0
SALOME_ContainerManager.idl
Go to the documentation of this file.
1 // Copyright (C) 2007-2023 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 http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 
23 #ifndef _SALOME_CONTAINERMANAGER_IDL_
24 #define _SALOME_CONTAINERMANAGER_IDL_
25 
26 #include "SALOME_Exception.idl"
27 #include "SALOME_Component.idl"
29 
33 module Engines
34 {
35 
38 {
41 
43 
53  string mode;
54 
56  string workingdir;
57 
58  // Parallel part
60  long nb_proc;
62  boolean isMPI;
64  string parallelLib;
65 
68 };
69 
71 {
72  string key;
73  string val;
74 };
75 
76 typedef sequence<KeyValPairString> KeyValDict;
77 
83 {
88 
91 
93 
94  void SetTimeOutToLaunchServerInSecond(in long timeInSecond);
95 
97 
99 
101 
103 
104  void SetCodeOnContainerStartUp(in string code);
105 } ;
106 
107 };
108 
109 #endif
interfaces for EngineComponent and Container
This file contains the objects defining the main exception used in SALOME application.
interfaces for SALOME Resources Manager service
The main exception in SALOME application.
Definition: SALOME_Exception.idl:71
Interface of the containerManager This interface is used for interaction with the unique instance of ...
Definition: SALOME_ContainerManager.idl:83
void SetCodeOnContainerStartUp(in string code)
Container GiveContainer(in ContainerParameters params)
GiveContainer - use mode parameter of ContainerParameters to configure how this method works Currentl...
void SetTimeOutToLaunchServerInSecond(in long timeInSecond)
long GetDeltaTimeBetweenNSLookupAtLaunchTimeInMilliSecond()
KeyValDict GetOverrideEnvForContainers()
void SetOverrideEnvForContainers(in KeyValDict env)
void ShutdownContainers()
Shutdown all containers that have been launched by the container manager.
void SetDeltaTimeBetweenNSLookupAtLaunchTimeInMilliSecond(in long timeInMS)
Interface of the Container.
Definition: SALOME_Component.idl:79
This is a package of interfaces used for connecting new components to SALOME application.
Definition: DSC_Engines.idl:36
sequence< KeyValPairString > KeyValDict
Definition: SALOME_ContainerManager.idl:76
Type to describe required properties of a container.
Definition: SALOME_ContainerManager.idl:38
string workingdir
container working directory if given else automatic
Definition: SALOME_ContainerManager.idl:56
string mode
creation mode for GiveContainer if given else automatic
Definition: SALOME_ContainerManager.idl:53
boolean isMPI
if true start a MPI container
Definition: SALOME_ContainerManager.idl:62
string container_name
container name if given else automatic
Definition: SALOME_ContainerManager.idl:40
string parallelLib
PaCO specific information.
Definition: SALOME_ContainerManager.idl:64
ResourceParameters resource_params
Parameters to choose a resource.
Definition: SALOME_ContainerManager.idl:67
long nb_proc
Number of proc of a parallel container.
Definition: SALOME_ContainerManager.idl:60
Definition: SALOME_ContainerManager.idl:71
string val
Definition: SALOME_ContainerManager.idl:73
string key
Definition: SALOME_ContainerManager.idl:72
Type to describe required properties of a resource.
Definition: SALOME_ResourcesManager.idl:42