From 79ffe06758a4258cd751fb6199a95f5e1ecea5c4 Mon Sep 17 00:00:00 2001 From: mattijs Date: Sat, 21 Nov 2009 10:51:49 +0000 Subject: [PATCH] support for mpich --- bin/mpirunDebug | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/bin/mpirunDebug b/bin/mpirunDebug index 57df760873..2376d22601 100755 --- a/bin/mpirunDebug +++ b/bin/mpirunDebug @@ -206,6 +206,21 @@ done cmd="" if [ .$WM_MPLIB = .OPENMPI ]; then cmd="mpirun -app $PWD/mpirun.schema $procXtermCmdFile + echo "$procCmd" >> $procXtermCmdFile + chmod +x $procXtermCmdFile + if [ $proc -ne 0 ]; then + cmd="${cmd} :" + fi + cmd="${cmd} -n 1 ${procXtermCmdFile}" + done < $PWD/mpirun.schema fi echo "Constructed $PWD/mpirun.schema file."