Use memcheck with valgrind for mpirunDebug

This commit is contained in:
Hrvoje Jasak 2016-06-03 17:11:00 +01:00
parent bd0f98f316
commit 39308c8146

View file

@ -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=<N> or --last