MPICH P4 procgroup Files
If you are using MPICH with a P4 procgroup file (by using the -p4pg option), make sure you use the same absolute path name in your procgroup file and on the mpirun command line. If your procgroup file contains a different path name that resolves to the same executable, TotalView treats each name as a separate executable, which causes debugging problems.
The following example uses the same absolute path name on TotalView's command line and in the procgroup file:
% cat p4group
local 1 /users/smith/mympichexe
bigiron 2 /users/smith/mympichexe
% mpirun -p4pg p4group -tv /users/smith/mympichexe
In this example, TotalView:
- Reads the symbols from mympichexe only once.
- Places MPICH processes in the same TotalView share group.
- Names the processes mypichexe.0, mympichexe.1, mympichexe.2, and mympichexe.3.
If TotalView assigns names such as mympichexe<mympichexe>.0, a problem occurred and you should check the contents of your procgroup file and mpirun command line.