Version: 9.16.0
SALOME_ContainerManager.idl
Go to the documentation of this file.
1// Copyright (C) 2007-2026 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
33module Engines
34{
35
38{
41
43
53 string mode;
54
56 string workingdir;
57
58 // Parallel part
60 long nb_proc;
62 boolean isMPI;
65
68};
69
71{
72 string key;
73 string val;
74};
75
76typedef sequence<KeyValPairString> KeyValDict;
77
83{
88
91
94
96
97 void SetTimeOutToLaunchServerInSecond(in long timeInSecond);
98
100
102
104
106
108
110
111 void SetBigObjOnDiskThreshold(in long thresholdInByte);
112
113 void SetBigObjOnDiskDirectory(in string directory);
114
115 void SetDirectoryForReplayFiles(in string directory);
116
117 void SetNumberOfRetry(in long nbRetry);
118
120
121 void SetCodeOnContainerStartUp(in string code);
122
124} ;
125
126};
127
128#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)
void SetBigObjOnDiskThreshold(in long thresholdInByte)
long GetDeltaTimeBetweenNSLookupAtLaunchTimeInMilliSecond()
KeyValDict GetOverrideEnvForContainers()
long GetDeltaTimeBetweenCPUMemMeasureInMilliSecond()
void SetOverrideEnvForContainers(in KeyValDict env)
void SetDeltaTimeBetweenCPUMemMeasureInMilliSecond(in long timeInMS)
void ShutdownContainers()
Shutdown all containers that have been launched by the container manager. This termination is soft....
void SetNumberOfRetry(in long nbRetry)
void ShutdownContainersNow()
Stronger version than ShutdownContainers. This method does not wait for completion of last CORBA invo...
void SetDeltaTimeBetweenNSLookupAtLaunchTimeInMilliSecond(in long timeInMS)
void SetBigObjOnDiskDirectory(in string directory)
void SetDirectoryForReplayFiles(in string directory)
Interface of the Container.
Definition: SALOME_Component.idl:81
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