next up previous contents index
Next: Running the application under Up: Debugging parallel applications Previous: cgdb - a gdb   Contents   Index


Running gdb on the compute node

You can debug the application directly on the compute node by logging in to it and attaching to the process with gdb. We don't recommend this to users, but administrator's may wish to do this from time to time.

If you need to attach to the process at it's very start, there are four points in the application process where you can do this:

Choose the nodes you want to run on by using the -l option to yod. Then use the -sleep option to choose one of the four points at whilch to attach to the code. Then you have 60 seconds in which to log in to the compute node and attach gdb to the process.


next up previous contents index
Next: Running the application under Up: Debugging parallel applications Previous: cgdb - a gdb   Contents   Index
Lee Ann Fisk 2001-06-25