The Run To command, which runs to a selected line in the Source view code, is helpful in synchronizing processes and threads so you can step them together. The behavior differs depending on whether you are using this command at process width or group width.
At process width:
• If the Thread of Interest (TOI) is already at the goal location, NextGen TotalView for HPC steps the TOI past the line before the process runs. This lets you use the Run To command repeatedly in loops.
• If any other thread in the process is already at the goal, NextGen TotalView for HPC temporarily holds it while other threads in the process run. After all threads in the process reach the goal, TotalView stops the process. This lets you synchronize the threads in the POI at a source line.
At group width:
• NextGen TotalView for HPC identifies all processes in the control group that already have a thread stopped at the goal. These are the matching processes. TotalView then runs only non-matching processes. Whenever a thread arrives at the goal, TotalView stops its process. The command finishes when it has stopped all processes in the control group. This lets you synchronize at least one thread from all processes in preparation for group-stepping them.