TotalView C Serial Exercise 1 - Tips

Tips

Load TotalView:   module load totalview
Run TotalView:   totalview
 

  • File -> New Program
  • Browse for your executable
  • select your executable, 'nan'

When you click the "Go" button, the program will run, and print the STDOUT to the window you launched totalview from.

  • click on the line number for the 3rd for statement.
  • click the "Go" button.
  • double-click the variable "vec" in the Stack frame window (in the upper right).
  • Do all the elements in the array look right?
  • Try stopping the program at a different line, and look at the array contents.