27.12.2014 Views

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

I–Useful Programs and Files<br />

Common Tasks and Commands<br />

strings<br />

Use the strings command to determine the content of and extract text from a<br />

binary file.<br />

The command strings can also be used. For example, the command:<br />

$ strings -a /usr/lib/libinfinipath.so.4.0 | grep Date:<br />

produces this output:<br />

$Date: 2009-02-26 12:05 Release2.3 InfiniPath $<br />

NOTE:<br />

The strings command is part of binutils (a development RPM), and<br />

may not be available on all machines.<br />

Common Tasks and Commands<br />

Table I-3 lists some common commands that help with administration and<br />

troubleshooting. Note that mpirun in nonmpi mode can perform a number of<br />

checks.<br />

Table I-3. Common Tasks and Commands Summary<br />

Function<br />

Check the system state<br />

Verify hosts via an Ethernet<br />

ping<br />

Verify ssh<br />

Command<br />

ipath_checkout [options] hostsfile<br />

ipathbug-helper -m hostsfile \<br />

> ipath-info-allhosts<br />

mpirun -m hostsfile -ppn 1 \<br />

-np numhosts -nonmpi ipath_control -i<br />

Also see the file:<br />

/sys/class/infiniband/ipath*/device/status_str<br />

where * is the unit number. This file provides information<br />

about the link state, possible cable/switch problems,<br />

and hardware errors.<br />

ipath_checkout --run=1 hostsfile<br />

ipath_checkout --run=2 hostsfile<br />

Show uname -a for all hosts mpirun -m hostsfile -ppn 1 \<br />

-np numhosts -nonmpi uname -a<br />

D000046-005 B I-17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!