HP-MPI User's Guide (11th Edition)
Debugging and troubleshooting
Troubleshooting HP-MPI applications
Chapter 6 213
-h hostA -np 1 /path/to/pp.x
-h hostB -np 1 /path/to/pp.x
-h hostC -np 1 /path/to/pp.x
...
-h hostZ -np 1 /path/to/pp.x
Then run one of the following commands:
% bsub pam -mpi $MPI_ROOT/bin/mpirun -prot -f appfile
% bsub pam -mpi $MPI_ROOT/bin/mpirun -prot -f appfile \
-- 1000000
Note that when using LSF, the actual hostnames in the appfile are
ignored.
•If the srun command is available, run a command like:
% $MPI_ROOT/bin/mpirun -prot -srun -N 8 -n 8 \
/path/to/pp.x
% $MPI_ROOT/bin/mpirun -prot -srun -N 8 -n 8 \
/path/to/pp.x 1000000
replacing "8" with the number of hosts.
Or if LSF is being used, then the command to run might be:
% bsub -I -n 16 $MPI_ROOT/bin/mpirun -prot -srun \
/path/to/pp.x
% bsub -I -n 16 $MPI_ROOT/bin/mpirun -prot -srun \
/path/to/pp.x 1000000
• If the prun command is available, use the same commands as above
for srun replacing srun with prun.
In each case above, the first mpirun uses 0 bytes per message and is
checking latency. The second mpirun uses 1000000 bytes per message
and is checking bandwidth.
Example output might look like:
Host 0 -- ip 192.168.9.10 -- ranks 0
Host 1 -- ip 192.168.9.11 -- ranks 1
Host 2 -- ip 192.168.9.12 -- ranks 2
Host 3 -- ip 192.168.9.13 -- ranks 3
host | 0 1 2 3
======|=====================
0 : SHM VAPI VAPI VAPI
1 : VAPI SHM VAPI VAPI
2 : VAPI VAPI SHM VAPI
3 : VAPI VAPI VAPI SHM