]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
NBPROCPERNODE not used.
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Fri, 7 Feb 2020 14:20:55 +0000 (15:20 +0100)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Fri, 7 Feb 2020 14:20:55 +0000 (15:20 +0100)
src/Launcher/Launcher_Job.cxx

index 29dd276ce4ff0f5311cd701daf2b5d23fba50483..81fd5fc2cf94b407cd2cc0ceba7a4b5822b672de 100644 (file)
@@ -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;