diff --git a/bin/mpirunDebug b/bin/mpirunDebug index dd0237c14..f863a9359 100755 --- a/bin/mpirunDebug +++ b/bin/mpirunDebug @@ -181,7 +181,7 @@ do echo "$sourceFoam; cd $PWD; $exec $args 2>&1 | tee $procLog; read dummy" >> $procCmdFile echo "${node}xterm -font fixed -title 'processor'$proc $geom -e $procCmdFile" >> $PWD/mpirun.schema elif [ "$method" -eq 5 ]; then - echo "$sourceFoam; cd $PWD; valgrind $exec $args; read dummy" >> $procCmdFile + echo "$sourceFoam; cd $PWD; valgrind --tool=memcheck --leak-check=full $exec $args | tee $procLog; read dummy" >> $procCmdFile echo "${node}xterm -font fixed -title 'processor'$proc $geom -e $procCmdFile" >> $PWD/mpirun.schema elif [ "$method" -eq 6 ]; then ## maybe one could use nemiver sessions for reloading breakpoints --session= or --last