MPICH

Here's how to use TotalView with MPICH MPI codes. This has been tested only on Linux x86-64.

1.  You must link your parallel application with the TotalView HIA as described in LIBPATH and Linking. On most Linux x86-64 systems, you’ll enter:

mpicc -g test.o -o test -Lpath \

-ltvheap -Wl,-rpath,path

2.  Start TotalView using the -tv command-line option to the mpirun script in the usual way. For example:

mpirun -tv mpirun-args test args

TotalView will start up on the rank 0 process.

3.  If you need to configure TotalView, you should do it now.

4.  Run the rank 0 process.