File: pdebug

package info (click to toggle)
dolfin 2018.1.0.post1-16
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 28,764 kB
  • sloc: xml: 104,040; cpp: 98,856; python: 22,511; makefile: 204; sh: 182
file content (7 lines) | stat: -rwxr-xr-x 253 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
#!/bin/bash

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