#include "petscsys.h" PetscErrorCode PetscSetDebugTerminal(const char terminal[])Not Collective
terminal | - name of terminal and any flags required to execute a program. For example xterm, "urxvt -e", "gnome-terminal -x". On Apple MacOS you can use Terminal (note the capital T) |
mpiexec -n 4 ./myapp -start_in_debugger -debug_terminal "screen -X -S debug screen"
will open 4 windows in the session named "debug".
The default on Apple is Terminal, on other systems the default is xterm