[mpich-discuss] ctrl-c while running mpiexec -gdb
Robert Kubrick
robertkubrick at gmail.com
Tue Aug 12 11:23:31 CDT 2008
When I run a regular program under gdb, ctrl-c returns control to the
gdb prompt and I can examine the stack of the interrupted process or
issue any other gdb command on the current process. When running
mpiexec -gdb, ctrl-c returns to the shell (thus abandoning the gdb
session).
On Aug 12, 2008, at 10:52 AM, Rajeev Thakur wrote:
> You should be able to type gdb commands at the prompt returned by
> mpiexec
> -gdb.
>
> Rajeev
>
>> -----Original Message-----
>> From: owner-mpich-discuss at mcs.anl.gov
>> [mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Robert Kubrick
>> Sent: Monday, August 11, 2008 10:16 PM
>> To: mpich-discuss at mcs.anl.gov
>> Subject: [mpich-discuss] ctrl-c while running mpiexec -gdb
>>
>> In mpiexec -gdb hitting ctrl-c terminates all the processes
>> of the MPI program. I want to read the stack for one of the
>> MPI process while the program is running, is there a way to
>> let ctrl-c return control to gdb rather then quitting the
>> program alltogether?
>>
>>
>
More information about the mpich-discuss
mailing list