Product specifications

Table Of Contents
F–Useful Programs and Files
Common Tasks and Commands
F-14 IB6054601-00 H
S
Verify hosts via an Ethernet
ping
ipath_checkout --run=1 hostsfile
Verify ssh ipath_checkout --run=2 hostsfile
Show uname -a for all hosts mpirun -m hostsfile -ppn 1 \
-np numhosts -nonmpi uname -a
Reboot hosts As a root user:
mpirun -m hostsfile -ppn 1 \
-np numhosts -nonmpi reboot
Run a command on all hosts mpirun -m hostsfile -ppn 1 \
-np numhosts -nonmpi <command>
Examples:
mpirun -m hostsfile -ppn 1 \
-np numhosts -nonmpi hostname
mpirun -m hostsfile -ppn 1 \
-np numhosts -nonmpi date
Copy a file to all hosts Using bash:
$ for i in $( cat hostsfile )
do
scp <source> $i:<destination>
done
Summarize the fabric compo-
nents
ipathbug-helper -m hostsfile \
> ipath-info-allhosts
Show the status of host IB
ports
ipathbug-helper -m hostsfile \
> ipath-info-allhosts
mpirun -m hostsfile -ppn 1 \
-np numhosts -nonmpi ipath_control -i
Verify that the hosts see each
other
ipath_checkout --run=5 hostsfile
Check MPI performance ipath_checkout --run=7 hostsfile
Generate all hosts problem
report information
ipathbug-helper -m hostsfile \
> ipath-info-allhosts
Table Notes
The " \ " indicates commands that are broken across multiple lines.
Table F-3. Common Tasks and Commands Summary (Continued)
Function Command