Robbie
01-12-2007, 06:55 AM
Hi,
I'm very interested in (also confused by) TotalView's ATTACH funtionality when used with srun.
When TotalView tries to attach a job launched by srun, the pid of the srun is used as the attach target of TotalView.
IMHO, when a debugger attaches to a target, it just sets the target process's "tracing" flag and stops the execution of the process.
That is, TotalView should just stop the execution of the "srun" process.
But how can TotalView really attach to the processes of the job lauched by srun? And even launch tvdsvr on each node which corresponding processes reside on!
Some magic in srun process?
Regards,
Robbie
I'm very interested in (also confused by) TotalView's ATTACH funtionality when used with srun.
When TotalView tries to attach a job launched by srun, the pid of the srun is used as the attach target of TotalView.
IMHO, when a debugger attaches to a target, it just sets the target process's "tracing" flag and stops the execution of the process.
That is, TotalView should just stop the execution of the "srun" process.
But how can TotalView really attach to the processes of the job lauched by srun? And even launch tvdsvr on each node which corresponding processes reside on!
Some magic in srun process?
Regards,
Robbie