Debian Codegraph @

utils/scripts/pdebug

raw
1 #!/bin/bash
2
3 echo "Running \"$2\" on $1 processes through gdb debugger."
4 env=""
5 # Example of how to set the environment, if needed
6 #env="source /home/skavhaug/.setups/alt1; source ../../dolfin.conf;"
7 mpirun -np $1 -x DISPLAY=:0.0 xterm -e "$env gdb $2"