Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Only single MPI task appears in debugger view


That explains why I was able to make it work a week ago and couldn't make it work any more. Now I can switch between tasks. The first time I do this, the debug view then shows me task 0 and task 1 in suspended state. I then double click again on the task 0 icons then task 1 icons I got a core file with the following traceback for the SDM. I modified the makefiles to compile without -O2 so the traceback should be good.

(gdb) where
#0  0x0feb3bec in free () from /lib/libc.so.6
#1  0x10015914 in MIIntToCString (val=0) at src/mi/MIString.c:103
#2  0x1001a4fc in MIStackListArguments (vals=0, low=0, high=0) at src/mi/MIStackCommand.c:73
#3  0x1000910c in GDBMIListArguments (low=0, high=0) at src/server/gdbmi_backend.c:1640
#4  0x100059fc in svr_listarguments (db=0x10054cd8, nargs=2, args=0x10074ed0) at src/server/server_cmds.c:382
#5  0x100049dc in svr_dispatch (db=0x10054cd8, cmd_str=0x10074510 " 0013:00000001:00000002 00000001:0 00000001:0", len=45, data="" at src/server/server_cmds.c:164
#6  0x10004614 in deliver_callback (msg=0x10073f98) at src/server/server.c:107
#7  0x100108a0 in sdm_message_deliver (msg=0x10073f98) at src/impl/sdm_message_tcpip.c:936
#8  0x1000d9b4 in recv_callback (msg=0x10073f98) at src/impl/sdm.c:106
#9  0x100103f0 in sdm_message_progress () at src/impl/sdm_message_tcpip.c:819
#10 0x1000d884 in sdm_progress () at src/impl/sdm.c:71
#11 0x10004760 in server (dbgr=0x10054cd8) at src/server/server.c:166
#12 0x100017a4 in main (argc=5, argv=0xffa0faf4) at src/client/startup.c:167
Dave


Greg Watson <g.watson@xxxxxxxxxxxx>
Sent by: ptp-dev-bounces@xxxxxxxxxxx

10/28/2008 11:17 AM

Please respond to
Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>

To
Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>
cc
Subject
Re: [ptp-dev] Only single MPI task appears in debugger view





Dave,

You need to double click on the icon to register it in the debug view.

Greg

On Oct 28, 2008, at 9:01 AM, Dave Wootton wrote:

> I have a simple MPI program I've been using to debug my proxy's debug
> support that I have been running with two tasks on a single node. The
> program is compiled by 'mpcc -o ring -g ring.c'. When I debug it, it
> suspends at main, the debug view shows only process 0 with threads 1  
> and 2
> suspended. The parallel debug view shows 2 icons for the two tasks,  
> both
> yellow. If I click the unselected icon for task 1 in the parallel  
> debug
> view, it changes state to show it is selected but the black box  
> (focus?)
> stays on the task 0 icon. If I shift click the unselected icon, then  
> both
> icons appear in a selected state.
> Even if I select task 1, the debug view shows only task 0.
>
> I get the same results if I run the same application with 4 tasks on  
> the
> node.
>
> The MPI program is attached.
>
> Dave<ring.c>_______________________________________________
> ptp-dev mailing list
> ptp-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-dev

_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev


Back to the top