From 968dbf192fd3fd56b82987f16f0c60a7c635c19a Mon Sep 17 00:00:00 2001 From: mattijs Date: Fri, 29 Oct 2010 16:09:31 +0100 Subject: [PATCH] ENH: mpirunDebug: allow SYSTEMOPENMPI --- bin/mpirunDebug | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bin/mpirunDebug b/bin/mpirunDebug index b7fb377f0f..bd5c8a4c15 100755 --- a/bin/mpirunDebug +++ b/bin/mpirunDebug @@ -162,12 +162,14 @@ do procCmdFile="$PWD/processor${proc}.sh" procLog="processor${proc}.log" geom="-geometry 120x20+$xpos+$ypos" - node="" - if [ "$WM_MPLIB" = OPENMPI ] - then + case "$WM_MPLIB" in + *OPENMPI) node="-np 1 " - fi + ;; + *) + node="" + esac echo "#!/bin/sh" > $procCmdFile case "$method" in