How do I debug my OpenMP or MPICH or POE or UPC (or whatever) program?
The ways in which you compile and start TotalView differ greatly and are often unique to the environment existing at your site. Because there are so many issues specific to your compiler and runtime environment, you might want to capture that knowledge by customizing the HTML version of the TotalView documentation. This tip tells you how to do that.
The HTML version of our documentation has two dummy pages that you can customize. So, if you go either to the compiling or starting pages in the TotalView documentation, you'll find links to those pages. You can now add any information you like. So, after you discover what works, you can share what you know here.
Here's how to get to one of these pages: http://www.totalviewtech.com/Documentation/latest/html/User_Guide/CompilingPrograms.html. Use the link at the bottom of the page.
You can find these files at the top of the HTML document hierarchy:
- document_root/customer_compiling.html
- document_root/customer_running_tv.html
There are three chapters in the documentation that discuss compiling and
running programs:
- Chapter 8 of the Reference Guide has information on compiling your program and linking dbfork.
- Chapters 5 and 6 of the Users Guide has lots of information on running parallel programs.
If there's something that can be added to the documentation or which I can
use as a tip, please let me know.
You can find tips that we've already sent out in our Tip Archive
Help us improve these tips!