G
–
Commands and Files
Common Tasks and Commands
IB0054606-02 A
G-33
Table G-3. Common Tasks and Commands Summary
Function
Command
Check the system state
ipath_checkout [options]
hostsfile
ipathbug-helper -m
hostsfile \
>
ipath-info-allhosts
mpirun -m
hostsfile
-ppn 1 \
-np
numhosts
-nonmpi ipath_control -i
Also see the file:
/sys/class/infini-
band/ipath*/device/status_str
where
*
is the unit number. This file provides informa-
tion about the link state, possible cable/switch prob-
lems, and hardware errors.
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
Summary of Contents for OFED+ Host
Page 1: ...IB0054606 02 A OFED Host Software Release 1 5 4 User Guide...
Page 14: ...xiv IB0054606 02 A OFED Host Software Release 1 5 4 User Guide...
Page 22: ...1 Introduction Interoperability 1 4 IB0054606 02 A...
Page 96: ...4 Running MPI on QLogic Adapters Debugging MPI Programs 4 24 IB0054606 02 A...
Page 140: ...6 SHMEM Description and Configuration SHMEM Benchmark Programs 6 32 IB0054606 02 A...
Page 148: ...8 Dispersive Routing 8 4 IB0054606 02 A...
Page 164: ...9 gPXE HTTP Boot Setup 9 16 IB0054606 02 A...
Page 176: ...A Benchmark Programs Benchmark 3 Messaging Rate Microbenchmarks A 12 IB0054606 02 A...
Page 202: ...B SRP Configuration OFED SRP Configuration B 26 IB0054606 02 A Notes...
Page 206: ...C Integration with a Batch Queuing System Clean up PSM Shared Memory Files C 4 IB0054606 02 A...
Page 238: ...E ULP Troubleshooting Troubleshooting SRP Issues E 20 IB0054606 02 A...
Page 242: ...F Write Combining Verify Write Combining is Working F 4 IB0054606 02 A Notes...
Page 280: ...G Commands and Files Summary of Configuration Files G 38 IB0054606 02 A...
Page 283: ......