From: ribes Date: Thu, 14 Apr 2011 08:00:46 +0000 (+0000) Subject: Add an helper class for ResourceDefinition X-Git-Tag: V6_3_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=32c8d92a91c0384d3dfd522b69e8790958e69a46;p=modules%2Fkernel.git Add an helper class for ResourceDefinition --- diff --git a/src/LifeCycleCORBA_SWIG/LifeCycleCORBA.py b/src/LifeCycleCORBA_SWIG/LifeCycleCORBA.py index cb19f164a..2d3c5427d 100644 --- a/src/LifeCycleCORBA_SWIG/LifeCycleCORBA.py +++ b/src/LifeCycleCORBA_SWIG/LifeCycleCORBA.py @@ -68,3 +68,11 @@ class JobParameters (Engines.JobParameters): Engines.JobParameters.__init__(self, job_name, job_type, job_file, env_file, in_files, out_files, work_directory, local_directory, result_directory, maximum_duration, resource_required, queue, specific_parameters) + +class ResourceDefinition(Engines.ResourceDefinition): + def __init__(self, name="", hostname="", protocol="rsh", username="", applipath="", componentList=[], + mode="interactive", OS="", mem_mb=1, cpu_clock=1, nb_node=1, nb_proc_per_node=1, + batch="", mpiImpl="", iprotocol="rsh"): + Engines.ResourceDefinition.__init__(self, name, hostname, protocol, username, applipath, componentList, + mode, OS, mem_mb, cpu_clock, nb_node, nb_proc_per_node, batch, + mpiImpl, iprotocol)