Salome HOME
projects
/
tools
/
sat_salome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00f6c84
)
erreur dans la logique pour vérifier que c'est une vm
author
Nabil Ghodbane
<nabil.ghodbane@cea.fr>
Mon, 7 Feb 2022 10:59:31 +0000
(11:59 +0100)
committer
Nabil Ghodbane
<nabil.ghodbane@cea.fr>
Mon, 7 Feb 2022 10:59:31 +0000
(11:59 +0100)
products/compil_scripts/topo2volmesh.sh
patch
|
blob
|
history
diff --git
a/products/compil_scripts/topo2volmesh.sh
b/products/compil_scripts/topo2volmesh.sh
index 3e3d51436357d41c504f4b9af010e2e85520b9d7..9b6eb8193f221156b283ecc5fe5f70ffcdae942e 100755
(executable)
--- a/
products/compil_scripts/topo2volmesh.sh
+++ b/
products/compil_scripts/topo2volmesh.sh
@@
-55,7
+55,7
@@
fi
echo
echo "*** Check if node is a virtual machine"
ISVM=$(hostnamectl status|grep -i chassis:|grep vm)
-if [
$? -ne 0
]; then
+if [
! -z "$ISVM"
]; then
echo "*** oversubscribe..."
sed -i 's/mpirun -np \$(NP)/mpirun -np \$(NP) --oversubscribe/g' src/*/Makefile.am
else