Product specifications

Table Of Contents
F–Useful Programs and Files
Common Tasks and Commands
IB6054601-00 H F-13
A
rpm
To check the contents of an installed RPM, use these commands:
$ rpm -qa infinipath\* mpi-\*
$ rpm -q --info infinipath # (etc)
The option-q queries. The option --qa queries all. To query a package that has
not yet been installed, use the -qpl option.
strings
Use the strings command to determine the content of and extract text from a
binary file.
The command strings can also be used. For example, the command:
$ strings -a /usr/lib/libinfinipath.so.4.0 | grep Date:
produces this output:
$Date: 2009-02-26 12:05 Release2.3 InfiniPath $
Common Tasks and Commands
Table F-3 lists some common commands that help with administration and
troubleshooting. Note that mpirun in nonmpi mode can perform a number of
checks.
NOTE:
The strings command is part of binutils (a development RPM), and
may not be available on all machines.
Table F-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.