Salome HOME
Use flag -P instead of -N to specify number of procs for Vishnu V1_6_0 V1_6_0rc2
authorbarate <barate>
Mon, 26 Nov 2012 09:09:06 +0000 (09:09 +0000)
committerbarate <barate>
Mon, 26 Nov 2012 09:09:06 +0000 (09:09 +0000)
src/Vishnu/Batch_BatchManager_eVishnu.cxx

index d3ded564bc4efa9c6e5bd31e00a56c7b4c226b53..9c39013bfe48069e664b5eef4105b458c42c09c5 100644 (file)
@@ -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] << " ";