From: barate Date: Mon, 26 Nov 2012 09:09:06 +0000 (+0000) Subject: Use flag -P instead of -N to specify number of procs for Vishnu X-Git-Tag: V1_6_0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0e34f2ad7ea98bda69d58096be270345a3f2b261;p=tools%2Flibbatch.git Use flag -P instead of -N to specify number of procs for Vishnu --- 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] << " ";