How do I see what TotalView executes when I use mpirun?
When you're using mpirun to start a program, you need to initialize the TOTALVIEW environment variable with the location of TotalView's binary file. If you want to see what is being, set the value of TOTALVIEW to "echo". Here's an example:
20 % setenv TOTALVIEW "echo my_totalview"
21 % mpirun -np 4 -tv AttachSubsetAIX
my_totalview /nfs/fs/home/tests/AttachSubsetAIX -a -p4pg
/nfs/fs/home/tests/PI1417328 -p4wd /nfs/fs/home/tests -mpichtv
22 %
Here, "my_totalview" is just a string. If it were the TotalView binary file,
you'd be seeing exactly what gets executed.
You can, of course, set the TOTALVIEW variable to anything that will execute.
You can find tips that we've already sent out in our Tip Archive
Help us improve these tips!