From df6de6ed33b0fe995bdae348a1a7369c62203d32 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Wed, 30 Aug 2023 19:56:12 +0200 Subject: [PATCH] CONFIG: runParallel with --oversubscribe for openmpi - not always required, but useful when running some tutorials locally --- bin/mpirunDebug | 2 +- bin/tools/RunFunctions | 17 +++++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/bin/mpirunDebug b/bin/mpirunDebug index 695c0fae5e..b4fcb976e7 100755 --- a/bin/mpirunDebug +++ b/bin/mpirunDebug @@ -429,7 +429,7 @@ unset cmd case "$WM_MPLIB" in *OPENMPI*) - cmd="mpirun -app $PWD/mpirun.schema > $logFile 2>&1 + "$mpirun" $mpiopts -n "${nProcs:?}" $appRun $appArgs "$@" > $logFile 2>&1 ) else ( - $mpirun -n $nProcs $appRun $appArgs "$@" $logFile 2>&1 + "$mpirun" $mpiopts -n "${nProcs:?}" $appRun $appArgs "$@" $logFile 2>&1 ) fi fi