From 2f619e1185567614c8ec8458c91f2143cb110f80 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Mon, 7 Feb 2022 11:59:31 +0100 Subject: [PATCH] =?utf8?q?erreur=20dans=20la=20logique=20pour=20v=C3=A9rif?= =?utf8?q?ier=20que=20c'est=20une=20vm?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- products/compil_scripts/topo2volmesh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/products/compil_scripts/topo2volmesh.sh b/products/compil_scripts/topo2volmesh.sh index 3e3d514..9b6eb81 100755 --- 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 -- 2.39.2