From 0e34f2ad7ea98bda69d58096be270345a3f2b261 Mon Sep 17 00:00:00 2001 From: barate Date: Mon, 26 Nov 2012 09:09:06 +0000 Subject: [PATCH] Use flag -P instead of -N to specify number of procs for Vishnu --- src/Vishnu/Batch_BatchManager_eVishnu.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Vishnu/Batch_BatchManager_eVishnu.cxx b/src/Vishnu/Batch_BatchManager_eVishnu.cxx index d3ded56..9c39013 100644 --- a/src/Vishnu/Batch_BatchManager_eVishnu.cxx +++ b/src/Vishnu/Batch_BatchManager_eVishnu.cxx @@ -76,8 +76,7 @@ namespace Batch { Parametre params = job.getParametre(); ostringstream extraParams; if (params.find(NBPROC) != params.end()) - // For now (Vishnu 2.0.0), we must use flag -N nbproc:1 to specify the number of procs (nothing else works) - extraParams << "-N " << params[NBPROC] << ":1 "; + extraParams << "-P " << params[NBPROC] << " "; if (params.find(MAXRAMSIZE) != params.end()) extraParams << "-m " << params[MAXRAMSIZE] << " "; -- 2.39.2