From bdcf709dff9002fc72f37c37f8b7993b538aaaa0 Mon Sep 17 00:00:00 2001 From: ribes Date: Mon, 30 Nov 2009 09:56:40 +0000 Subject: [PATCH] Use of ppn option to try to be alone on compute nodes --- src/PBS/Batch_BatchManager_ePBS.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PBS/Batch_BatchManager_ePBS.cxx b/src/PBS/Batch_BatchManager_ePBS.cxx index 9909b55..fd01bc0 100644 --- a/src/PBS/Batch_BatchManager_ePBS.cxx +++ b/src/PBS/Batch_BatchManager_ePBS.cxx @@ -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; -- 2.39.2