Salome HOME
projects
/
tools
/
libbatch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ee5678
)
Use flag -P instead of -N to specify number of procs for Vishnu
V1_6_0
V1_6_0rc2
author
barate
<barate>
Mon, 26 Nov 2012 09:09:06 +0000
(09:09 +0000)
committer
barate
<barate>
Mon, 26 Nov 2012 09:09:06 +0000
(09:09 +0000)
src/Vishnu/Batch_BatchManager_eVishnu.cxx
patch
|
blob
|
history
diff --git
a/src/Vishnu/Batch_BatchManager_eVishnu.cxx
b/src/Vishnu/Batch_BatchManager_eVishnu.cxx
index d3ded564bc4efa9c6e5bd31e00a56c7b4c226b53..9c39013bfe48069e664b5eef4105b458c42c09c5 100644
(file)
--- 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] << " ";