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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

I–Useful Programs and Files<br />

Summary and Descriptions of Useful Programs<br />

mpi_stress<br />

Non-<strong>QLogic</strong> built:<br />

$ mpirun -np 2 -m /tmp/id1 -d0x101 mpi_latency 1 0<br />

asus-01:0.ipath_setaffinity: Set CPU affinity to 1, port 0:2:0<br />

(1 active chips)<br />

asus-01:0.ipath_userinit: Driver is not <strong>QLogic</strong>-built<br />

This is an MPI stress test program designed to load up an MPI interconnect with<br />

point-to-point messages while optionally checking for data integrity. By default, it<br />

runs with all-to-all traffic patterns, optionally including oneself and one’s local<br />

shared memory (shm) peers. It can also be set up with multi-dimensional grid<br />

traffic patterns; this can be parameterized to run rings, open 2D grids, closed<br />

2D grids, cubic lattices, hypercubes, and so on.<br />

Optionally, the message data can be randomized and checked using CRC<br />

checksums (strong but slow) or XOR checksums (weak but fast). The<br />

communication kernel is built out of non-blocking point-to-point calls to load up the<br />

interconnect. The program is not designed to exhaustively test out different MPI<br />

primitives. Performance metrics are displayed, but should be carefully interpreted<br />

in terms of the features enabled.<br />

This is an MPI application and should be run under mpirun or its equivalent.<br />

The following example runs 16 processes and a specified hosts file using the<br />

default options (all-to-all connectivity, 64 to 4MB messages in powers of two, one<br />

iteration, no data integrity checking):<br />

$ mpirun -np 16 -m hosts mpi_stress<br />

There are a number of options for mpi_stress; this one may be particularly useful:<br />

-P<br />

This option poisons receive buffers at initialization and after each receive;<br />

pre-initialize with random data so that any parts that are not being correctly<br />

updated with received data can be observed later.<br />

See the mpi_stress(1) man page for more information.<br />

rpm<br />

To check the contents of an installed RPM, use these commands:<br />

$ rpm -qa infinipath\* mpi-\*<br />

$ rpm -q --info infinipath # (etc)<br />

The option-q queries. The option --qa queries all. To query a package that has<br />

not yet been installed, use the -qpl option.<br />

I-16 D000046-005 B

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

Saved successfully!

Ooh no, something went wrong!