cgdb -- Debug (from the service node) a process of a Cplant parallel applic ation
cgdb -n nodeNum
cgdb allows you to debug a single process of a parallel application. You r un it on the service node and it communicates with the Gnu debugger gdb on the compute node.
To use this feature, run yod with the -attach option. This will display the nodes the application has been allocated and will start a debugging session on each compute node. yod will prompt you before it allows the application processes to procede to user code.
To start a debugging proxy on the service node which can attach to the debugger on a compute node, run cgdb with a physical node number from the yod display:
cgdb -n 24
Now you can enter gdb commands to debug the application process.
yod