petsc-3.7.1 2016-05-15
Report Typos and Errors

PetscSetDebugTerminal

Sets the terminal to use (instead of xterm) for debugging.

Synopsis

#include "petscsys.h"   
PetscErrorCode  PetscSetDebugTerminal(const char terminal[])
Not Collective Many br

Input Parameters

Options Database Keys

-debug_terminal terminal - use this terminal instead of xterm Many br

Many br

Notes

You can start the debugger for all processes in the same GNU screen session. Many br

mpiexec -n 4 ./myapp -start_in_debugger -debug_terminal "screen -X -S debug screen" Many br

will open 4 windows in the session named "debug". Many br

Fortran Note

This routine is not supported in Fortran. Many br

See Also

PetscSetDebugger()

Level:developer
Location:
src/sys/error/adebug.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages

terminal - name of terminal and any flags required to execute a program. Many brFor example "xterm -e", "urxvt -e". Many br