Version: 9.15.0
LifeCycleCORBA.ResourceDefinition Class Reference
Inheritance diagram for LifeCycleCORBA.ResourceDefinition:

Public Member Functions

def __init__ (self, name="", hostname="", protocol="rsh", username="", applipath="", componentList=None, mode="interactive", OS="", mem_mb=1, cpu_clock=1, nb_node=1, nb_proc_per_node=1, batch="", mpiImpl="", iprotocol="rsh", type="single_machine", can_launch_batch_jobs=False, can_run_containers=False, working_directory="")
 

Data Fields

string name
 name More...
 
string hostname
 hostname More...
 
string type
 Type of the resource ("cluster" or "single_machine") More...
 
string protocol
 protocol to connect to the resource and to start a remote container Possible values: "rsh" : uses rsh and rcp "ssh" : uses ssh and scp "rsync" : uses ssh and rsync More...
 
string username
 login name to use to start a remote container More...
 
string applipath
 salome application to use to start a remote container More...
 
CompoList componentList
 list of available components. More...
 
string OS
 operating system More...
 
long mem_mb
 memory size per node More...
 
long cpu_clock
 frequency More...
 
long nb_node
 number of node More...
 
long nb_proc_per_node
 number of proc per node More...
 
string batch
 batch system More...
 
string mpiImpl
 MPI implementation. More...
 
string iprotocol
 if the resource is a cluster: internal protocol to use to start a remote container (ssh or rsh) on the cluster More...
 
boolean can_launch_batch_jobs
 Specify if the resource can launch batch jobs. More...
 
boolean can_run_containers
 Specify if the resource can run containers. More...
 
string working_directory
 Predefined working directory on the resource. More...
 

Constructor & Destructor Documentation

◆ __init__()

def LifeCycleCORBA.ResourceDefinition.__init__ (   self,
  name = "",
  hostname = "",
  protocol = "rsh",
  username = "",
  applipath = "",
  componentList = None,
  mode = "interactive",
  OS = "",
  mem_mb = 1,
  cpu_clock = 1,
  nb_node = 1,
  nb_proc_per_node = 1,
  batch = "",
  mpiImpl = "",
  iprotocol = "rsh",
  type = "single_machine",
  can_launch_batch_jobs = False,
  can_run_containers = False,
  working_directory = "" 
)

Field Documentation

◆ applipath

string Engines::ResourceDefinition::applipath
inherited

salome application to use to start a remote container

Referenced by resourceDefinition_CORBAtoCPP(), BatchTest::test(), and BatchTest::test_appli().

◆ batch

string Engines::ResourceDefinition::batch
inherited

◆ can_launch_batch_jobs

boolean Engines::ResourceDefinition::can_launch_batch_jobs
inherited

Specify if the resource can launch batch jobs.

Referenced by resourceDefinition_CORBAtoCPP().

◆ can_run_containers

boolean Engines::ResourceDefinition::can_run_containers
inherited

Specify if the resource can run containers.

Referenced by resourceDefinition_CORBAtoCPP().

◆ componentList

CompoList Engines::ResourceDefinition::componentList
inherited

list of available components.

An empty list means every component is available.

Referenced by resourceDefinition_CORBAtoCPP().

◆ cpu_clock

long Engines::ResourceDefinition::cpu_clock
inherited

frequency

Referenced by resourceDefinition_CORBAtoCPP().

◆ hostname

◆ iprotocol

string Engines::ResourceDefinition::iprotocol
inherited

if the resource is a cluster: internal protocol to use to start a remote container (ssh or rsh) on the cluster

Referenced by resourceDefinition_CORBAtoCPP().

◆ mem_mb

long Engines::ResourceDefinition::mem_mb
inherited

memory size per node

Referenced by resourceDefinition_CORBAtoCPP().

◆ mpiImpl

string Engines::ResourceDefinition::mpiImpl
inherited

◆ name

◆ nb_node

long Engines::ResourceDefinition::nb_node
inherited

number of node

Referenced by main(), and resourceDefinition_CORBAtoCPP().

◆ nb_proc_per_node

long Engines::ResourceDefinition::nb_proc_per_node
inherited

number of proc per node

Referenced by main(), and resourceDefinition_CORBAtoCPP().

◆ OS

string Engines::ResourceDefinition::OS
inherited

operating system

Referenced by resourceDefinition_CORBAtoCPP().

◆ protocol

string Engines::ResourceDefinition::protocol
inherited

◆ type

string Engines::ResourceDefinition::type
inherited

Type of the resource ("cluster" or "single_machine")

Referenced by resourceDefinition_CORBAtoCPP().

◆ username

◆ working_directory

string Engines::ResourceDefinition::working_directory
inherited

Predefined working directory on the resource.

Referenced by resourceDefinition_CORBAtoCPP().