From 3dfd59f1130b650c294f44ddf3b1c3937999e2a7 Mon Sep 17 00:00:00 2001 From: barate Date: Fri, 25 Oct 2013 12:53:22 +0000 Subject: [PATCH] Properly initialize unused parameters in resource part for new jobs --- src/engine/BL_SALOMEServices.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/engine/BL_SALOMEServices.cxx b/src/engine/BL_SALOMEServices.cxx index 2ec486c..081e237 100644 --- a/src/engine/BL_SALOMEServices.cxx +++ b/src/engine/BL_SALOMEServices.cxx @@ -337,6 +337,11 @@ BL::SALOMEServices::create_job(BL::Job * job) throw Exception("Unknown memory requirement, unable to create job"); } + // Unused parameters + job_parameters->resource_required.nb_node = -1; + job_parameters->resource_required.nb_proc_per_node = -1; + job_parameters->resource_required.cpu_clock = -1; + // Parameters for COORM job_parameters->launcher_file = CORBA::string_dup(cpp_batch_params.launcher_file.c_str()); job_parameters->launcher_args = CORBA::string_dup(cpp_batch_params.launcher_args.c_str()); -- 2.39.2