]> SALOME platform Git repositories - tools/libbatch.git/commitdiff
Salome HOME
Use of ppn option to try to be alone on compute nodes
authorribes <ribes>
Mon, 30 Nov 2009 09:56:40 +0000 (09:56 +0000)
committerribes <ribes>
Mon, 30 Nov 2009 09:56:40 +0000 (09:56 +0000)
src/PBS/Batch_BatchManager_ePBS.cxx

index 9909b55d3fb39d7c27f49f5a2d1211b1838677ff..fd01bc0a205fb8d34f4f3ade5cd7c2638d9b36a4 100644 (file)
@@ -254,9 +254,9 @@ namespace Batch {
     tempOutputFile << "#! /bin/sh -f" << endl;
     if (nbproc > 0)
     {
-    // Division - arrondi supérieur
+      // Division - arrondi supérieur
       int nodes_requested = (nbproc + _nb_proc_per_node -1) / _nb_proc_per_node;
-      tempOutputFile << "#PBS -l nodes=" << nodes_requested << endl;
+      tempOutputFile << "#PBS -l nodes=" << nodes_requested << ":ppn=" << _nb_proc_per_node << endl;
     }
     if (queue != "")
       tempOutputFile << "#PBS -q " << queue << endl;