From: Ovidiu Mircescu Date: Fri, 7 Feb 2020 14:20:55 +0000 (+0100) Subject: NBPROCPERNODE not used. X-Git-Tag: V9_5_0a1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=822b9e32ad20c6e393fa5dc740db1aa456617a72;p=modules%2Fkernel.git NBPROCPERNODE not used. --- diff --git a/src/Launcher/Launcher_Job.cxx b/src/Launcher/Launcher_Job.cxx index 29dd276ce..81fd5fc2c 100644 --- a/src/Launcher/Launcher_Job.cxx +++ b/src/Launcher/Launcher_Job.cxx @@ -606,7 +606,8 @@ Launcher::Job::common_job_params() params[Batch::NAME] = getJobName(); params[Batch::NBPROC] = _resource_required_params.nb_proc; - params[Batch::NBPROCPERNODE] = _resource_required_params.nb_proc_per_node; + if(_resource_required_params.nb_proc_per_node > 0) + params[Batch::NBPROCPERNODE] = _resource_required_params.nb_proc_per_node; if(_resource_required_params.nb_node > 0) params[Batch::NBNODE] = _resource_required_params.nb_node;