From 32c8d92a91c0384d3dfd522b69e8790958e69a46 Mon Sep 17 00:00:00 2001 From: ribes Date: Thu, 14 Apr 2011 08:00:46 +0000 Subject: [PATCH] Add an helper class for ResourceDefinition --- src/LifeCycleCORBA_SWIG/LifeCycleCORBA.py | 8 ++++++++ 1 file changed, 8 insertions(+) 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) -- 2.39.2