Saturday, June 9, 2012

Debug MPI

For small number of processes

Valgrind
mpiexec -n 8 valgrind --log-file=valgrind-%p.txt <program and args>


Xterm+GDB
mpiexec -np 3 xterm -e gdb <program to debug without args>
in GDB r <args Here>

No comments:

Post a Comment