Use memcheck with valgrind for mpirunDebug
This commit is contained in:
parent
bd0f98f316
commit
39308c8146
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ do
|
||||||
echo "$sourceFoam; cd $PWD; $exec $args 2>&1 | tee $procLog; read dummy" >> $procCmdFile
|
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
|
echo "${node}xterm -font fixed -title 'processor'$proc $geom -e $procCmdFile" >> $PWD/mpirun.schema
|
||||||
elif [ "$method" -eq 5 ]; then
|
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
|
echo "${node}xterm -font fixed -title 'processor'$proc $geom -e $procCmdFile" >> $PWD/mpirun.schema
|
||||||
elif [ "$method" -eq 6 ]; then
|
elif [ "$method" -eq 6 ]; then
|
||||||
## maybe one could use nemiver sessions for reloading breakpoints --session=<N> or --last
|
## maybe one could use nemiver sessions for reloading breakpoints --session=<N> or --last
|
||||||
|
|
Reference in a new issue